Interface | Description |
---|---|
ArrayListener |
Represents one level within array.
|
ElementParser |
Parser for a JSON element.
|
ErrorFactory |
To avoid coupling the JSON structure parser with Drill's error
reporting mechanism, the caller passes in an instance of this
error factory which will build the required errors, including
filling in caller-specific context.
|
MessageParser |
Optional custom parser for the portion of a JSON message that
surrounds the data "payload".
|
ValueListener |
Represents a JSON scalar value, either a direct object field, or level
within an array.
|
Class | Description |
---|---|
AbstractElementParser |
Abstract base class for all JSON element parsers.
|
ArrayParser |
Parses a JSON array, which consists of a list of elements,
represented by a
ValueListener . |
ArrayValueParser | |
ArrayValueParser.LenientArrayValueParser | |
DummyValueParser |
Parse and ignore an unprojected value.
|
EmptyArrayParser |
Represents an empty array: the case where the parser has seen only
[] , but no array elements which would indicate the type. |
FieldParserFactory |
Creates a field parser given a field description and an optional field
listener.
|
FullValueParser | |
JsonStructureOptions |
Input to the JSON structure parser which defines guidelines
for low-level parsing as well as listeners for higher-level
semantics.
|
JsonStructureParser |
Parser for a subset of the jsonlines
format.
|
JsonStructureParser.JsonStructureParserBuilder | |
JsonValueParser |
Parses an arbitrary JSON value (which can be a subtree of any
complexity) into a JSON string.
|
NullValueParser |
Parses nulls.
|
ObjectParser |
Parses a JSON object:
{ name : value ... |
ObjectValueParser | |
RootParser |
The root parsers are special: they must detect EOF.
|
RootParser.EmbeddedArrayParser |
Parser for data embedded within a message structure which is
encoded as an array of objects.
|
RootParser.EmbeddedObjectParser |
Parser for data embedded within a message structure which is encoded
as a single JSON object.
|
RootParser.RootArrayParser |
Parser for a compliant JSON data set which consists of an
array at the top level, where each element of the array is a
JSON object that represents a data record.
|
RootParser.RootObjectParser |
Parser for a jsonlines-style
data set which consists of a series of objects.
|
ScalarValueParser | |
ScalarValueParser.SimpleValueParser |
Parses
true | false | null | integer | float | string | and simply passes the value token on to the listener. |
ScalarValueParser.TextValueParser |
Parses
true | false | null | integer | float | string | |
SimpleMessageParser |
A message parser which accepts a path to the data encoded as a
slash-separated string.
|
TokenIterator | |
TokenIterator.ParserManager | |
ValueDef |
Description of a JSON value as inferred from looking ahead in
the JSON stream.
|
ValueDefFactory |
Constructs a
ValueDef by looking ahead on the input stream. |
ValueParser |
Parses a JSON value.
|
Enum | Description |
---|---|
ValueDef.JsonType |
Description of JSON types as derived from JSON tokens.
|
Exception | Description |
---|---|
MessageParser.MessageContextException | |
TokenIterator.RecoverableJsonException |
Internal exception to unwind the stack when a syntax
error is detected within a record.
|
Copyright © 1970 The Apache Software Foundation. All rights reserved.