| Package | Description |
|---|---|
| org.dbrain.data | |
| org.dbrain.data.impl.path |
Implementation of Paths.
|
| org.dbrain.data.jackson.serializers |
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.append(Path toAppend) |
Path |
Path.append(String toAppend) |
Path |
Path.Builder.build() |
static Path |
Path.empty() |
Path |
PathPattern.MatchResult.getPart(int idx) |
Path |
Path.head(int toIndex) |
static Path |
Path.of(ReaderCursor c)
Create a path from a ReaderCursor.
|
static Path |
Path.of(String path)
Create a new path from a String.
|
static Path |
Path.ofAttr(String attr)
Create a new path from the specific attribute.
|
Path |
PathPattern.Specs.scope()
Return the contextual name of this pattern.
|
Path |
Path.tail(int size) |
Path |
Path.tailFrom(int fromIndex) |
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.append(Path toAppend) |
Path.Builder |
Path.Builder.append(Path path)
Append another path.
|
Path.Builder |
Path.Builder.append(Path path,
int startIdx,
int endIdx)
Append part of another path.
|
static Path.Builder |
Path.from(Path path)
Start building a Path from another name.
|
static Path.Builder |
Path.from(Path path,
int startIdx,
int endIdx)
Start building a Path from another name.
|
PathPattern.MatchResult |
PathPattern.match(Path path)
Match a pattern against a name.
|
boolean |
Path.startsWith(Path other) |
| Modifier and Type | Class and Description |
|---|---|
class |
PathImpl
Implements the Fqn.
|
| Modifier and Type | Field and Description |
|---|---|
static Path |
PathImpl.EMPTY_PATH |
| Modifier and Type | Method and Description |
|---|---|
Path |
PathImpl.append(Path toAppend) |
Path |
PathImpl.append(String toAppend) |
Path |
PathBuilderImpl.build() |
Path |
PathImpl.head(int toIndex) |
static Path |
PathParseUtils.parsePath(ReaderCursor c)
Create a fully qualified name from a ReaderCursor.
|
static Path |
PathParseUtils.parsePath(String path)
Create a new Path from a String.
|
Path |
PathImpl.tail(int size) |
Path |
PathImpl.tailFrom(int fromIndex) |
| Modifier and Type | Method and Description |
|---|---|
Path |
PathImpl.append(Path toAppend) |
Path.Builder |
PathBuilderImpl.append(Path path) |
Path.Builder |
PathBuilderImpl.append(Path path,
int startIdx,
int endIdx) |
PathPattern.MatchResult |
PathPatternImpl.match(Path path) |
boolean |
PathImpl.startsWith(Path other)
Validate that the current Fqn starts with the other Fqn.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
PathDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
PathSerializer.serialize(Path path,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
Copyright © 2016. All rights reserved.