A B C G I M P S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- Annotations - Class in com.amazon.ionpathextraction.internal
-
Represents the optional annotation that path components or search paths should match on.
- Annotations(String[]) - Constructor for class com.amazon.ionpathextraction.internal.Annotations
-
Constructor.
B
- build() - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Instantiates a thread safe
PathExtractor
configured by this builder.
C
- checkArgument(Boolean, String) - Static method in class com.amazon.ionpathextraction.internal.Preconditions
-
Validates argument, fails if condition is not met.
- checkState(Boolean, String) - Static method in class com.amazon.ionpathextraction.internal.Preconditions
-
Validates a state, fails if condition is not met.
- com.amazon.ionpathextraction - package com.amazon.ionpathextraction
- com.amazon.ionpathextraction.exceptions - package com.amazon.ionpathextraction.exceptions
- com.amazon.ionpathextraction.internal - package com.amazon.ionpathextraction.internal
- com.amazon.ionpathextraction.pathcomponents - package com.amazon.ionpathextraction.pathcomponents
G
- getAnnotations() - Method in class com.amazon.ionpathextraction.internal.MatchContext
- getConfig() - Method in class com.amazon.ionpathextraction.internal.MatchContext
- getPathComponentIndex() - Method in class com.amazon.ionpathextraction.internal.MatchContext
- getReader() - Method in class com.amazon.ionpathextraction.internal.MatchContext
- getReaderContainerIndex() - Method in class com.amazon.ionpathextraction.internal.MatchContext
I
- Index - Class in com.amazon.ionpathextraction.pathcomponents
-
Index path component matches collection by position, example.
- Index(int, String[]) - Constructor for class com.amazon.ionpathextraction.pathcomponents.Index
-
Constructor.
- innerMatches(MatchContext) - Method in class com.amazon.ionpathextraction.pathcomponents.Index
- innerMatches(MatchContext) - Method in class com.amazon.ionpathextraction.pathcomponents.PathComponent
-
Called by
PathComponent.matches(MatchContext)
after applying the standard matching logic. - innerMatches(MatchContext) - Method in class com.amazon.ionpathextraction.pathcomponents.Text
- innerMatches(MatchContext) - Method in class com.amazon.ionpathextraction.pathcomponents.Wildcard
- isMatchCaseInsensitive() - Method in class com.amazon.ionpathextraction.internal.PathExtractorConfig
- isMatchRelativePaths() - Method in class com.amazon.ionpathextraction.internal.PathExtractorConfig
M
- match(IonReader) - Method in interface com.amazon.ionpathextraction.PathExtractor
-
Iterates over the reader looking for registered search paths, when a match is found invokes the respective callback.
- match(IonReader, T) - Method in interface com.amazon.ionpathextraction.PathExtractor
-
Iterates over the reader looking for registered search paths, when a match is found invokes the respective callback.
- match(String[], boolean) - Method in class com.amazon.ionpathextraction.internal.Annotations
-
returns true if it matches on the annotations provided.
- MatchContext - Class in com.amazon.ionpathextraction.internal
-
Context for matching search paths.
- MatchContext(IonReader, int, int, PathExtractorConfig) - Constructor for class com.amazon.ionpathextraction.internal.MatchContext
-
Constructor.
- matchCurrentValue(IonReader) - Method in interface com.amazon.ionpathextraction.PathExtractor
-
Behaves identically to
PathExtractor.match(IonReader)
, except that only the value at which the given reader is currently positioned is evaluated against the registered search paths. - matchCurrentValue(IonReader, T) - Method in interface com.amazon.ionpathextraction.PathExtractor
-
Behaves identically to
PathExtractor.match(IonReader, Object)
, except that only the value at which the given reader is currently positioned is evaluated against the registered search paths. - matches(MatchContext) - Method in class com.amazon.ionpathextraction.pathcomponents.PathComponent
-
Checks if this component matches the current reader position with the given configuration.
P
- PathComponent - Class in com.amazon.ionpathextraction.pathcomponents
-
A search path component, for example the path (foo * 1) has three components.
- PathExtractionException - Exception in com.amazon.ionpathextraction.exceptions
-
Base exception.
- PathExtractionException(String) - Constructor for exception com.amazon.ionpathextraction.exceptions.PathExtractionException
- PathExtractionException(String, Throwable) - Constructor for exception com.amazon.ionpathextraction.exceptions.PathExtractionException
- PathExtractionException(Throwable) - Constructor for exception com.amazon.ionpathextraction.exceptions.PathExtractionException
- PathExtractor<T> - Interface in com.amazon.ionpathextraction
-
Path extractor takes registered paths and when it finds one during stream processing invokes the respective callback.
- PathExtractorBuilder<T> - Class in com.amazon.ionpathextraction
-
PathExtractor
builder. - PathExtractorConfig - Class in com.amazon.ionpathextraction.internal
-
Internal only.
- PathExtractorConfig(boolean, boolean) - Constructor for class com.amazon.ionpathextraction.internal.PathExtractorConfig
- Preconditions - Class in com.amazon.ionpathextraction.internal
-
Precondition check helper.
- Preconditions() - Constructor for class com.amazon.ionpathextraction.internal.Preconditions
S
- standard() - Static method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Creates a new builder with standard configuration.
T
- Text - Class in com.amazon.ionpathextraction.pathcomponents
-
Text path component matches struct field names, example.
- Text(String, String[]) - Constructor for class com.amazon.ionpathextraction.pathcomponents.Text
-
Constructor.
- TEXT - Static variable in class com.amazon.ionpathextraction.pathcomponents.Wildcard
W
- Wildcard - Class in com.amazon.ionpathextraction.pathcomponents
-
Wildcard path component matches any value, example.
- Wildcard(String[]) - Constructor for class com.amazon.ionpathextraction.pathcomponents.Wildcard
- withMatchCaseInsensitive(boolean) - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Sets matchCaseInsensitive config.
- withMatchRelativePaths(boolean) - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Sets matchRelativePaths config.
- withSearchPath(String, BiFunction<IonReader, T, Integer>) - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Register a callback for a search path.
- withSearchPath(String, Function<IonReader, Integer>) - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Register a callback for a search path.
- withSearchPath(List<PathComponent>, BiFunction<IonReader, T, Integer>, String[]) - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Register a callback for a search path.
- withSearchPath(List<PathComponent>, Function<IonReader, Integer>, String[]) - Method in class com.amazon.ionpathextraction.PathExtractorBuilder
-
Register a callback for a search path.
All Classes All Packages