| Package | Description |
|---|---|
| org.apache.drill.exec.store.easy.json.extended |
Provides parsing for Mongo extended types which are generally of the form
{ "$type": value }. |
| org.apache.drill.exec.store.easy.json.loader | |
| org.apache.drill.exec.store.easy.json.parser |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseExtendedValueParser |
class |
MongoBinaryValueParser
Parsers a binary.
|
class |
MongoDateValueParser
Parses a Mongo date in the
V1 format:
|
class |
SimpleExtendedValueParser
Parsers a Mongo extended type of the form:
|
| Modifier and Type | Method and Description |
|---|---|
ValueParser |
ExtendedTypeFieldFactory.scalarParserFor(FieldDefn fieldDefn,
ColumnMetadata colSchema)
Infer the extended parser from the provided field type.
|
| Modifier and Type | Method and Description |
|---|---|
ValueParser |
InferredFieldFactory.scalarParserFor(FieldDefn fieldDefn,
boolean isArray) |
ValueParser |
FieldFactory.scalarParserFor(FieldDefn fieldDefn,
ColumnMetadata colSchema)
Internal method which allows a custom parser (such as for
extended types) to provide the scalar parser for a provided
schema.
|
ValueParser |
BaseFieldFactory.scalarParserFor(FieldDefn fieldDefn,
ColumnMetadata colSchema) |
ValueParser |
BaseFieldFactory.scalarParserFor(ScalarWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
protected ElementParser |
BaseFieldFactory.scalarArrayParserFor(ValueParser element) |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonValueParser
Parses an arbitrary JSON value (which can be a subtree of any
complexity) into a JSON string.
|
class |
ScalarValueParser |
static class |
ScalarValueParser.SimpleValueParser
Parses
true | false | null | integer | float | string |and simply passes the value token on to the listener. |
static class |
ScalarValueParser.TextValueParser
Parses
true | false | null | integer | float | string | |
| Modifier and Type | Method and Description |
|---|---|
ValueParser |
FieldParserFactory.jsonTextParser(ValueListener fieldListener) |
ValueParser |
FieldParserFactory.simpleValueParser(ValueListener fieldListener) |
ValueParser |
FieldParserFactory.textValueParser(ValueListener fieldListener) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.