Uses of Class
org.apache.drill.exec.store.easy.json.parser.TokenIterator
Package
Description
Provides parsing for Mongo extended types which are generally of the form
{ "$type": value }
.-
Uses of TokenIterator in org.apache.drill.exec.store.easy.json.extended
Modifier and TypeMethodDescriptionvoid
MongoBinaryValueParser.parse
(TokenIterator tokenizer) void
MongoDateValueParser.parse
(TokenIterator tokenizer) void
SimpleExtendedValueParser.parse
(TokenIterator tokenizer) protected void
BaseExtendedValueParser.parseExtended
(TokenIterator tokenizer, String typeName) Parse a value in extended form:protected void
BaseExtendedValueParser.requireField
(TokenIterator tokenizer, String fieldName) protected com.fasterxml.jackson.core.JsonToken
BaseExtendedValueParser.requireScalar
(TokenIterator tokenizer) protected void
BaseExtendedValueParser.requireToken
(TokenIterator tokenizer, com.fasterxml.jackson.core.JsonToken expected) -
Uses of TokenIterator in org.apache.drill.exec.store.easy.json.loader
Modifier and TypeMethodDescriptionFieldDefn.tokenizer()
Token stream which allows a custom parser to look ahead as needed.Modifier and TypeMethodDescriptionprotected ArrayParser
VariantParser.buildArrayParser
(TokenIterator tokenizer) protected ObjectParser
VariantParser.buildObjectParser
(TokenIterator tokenizer) TupleParser.onField
(String key, TokenIterator tokenizer) protected void
VariantParser.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) protected ElementParser
EmptyArrayFieldParser.resolve
(TokenIterator tokenizer) The column type is now known from context.protected ElementParser
NullFieldParser.resolve
(TokenIterator tokenizer) The column type is now known from context.TupleParser.resolveArray
(String key, TokenIterator tokenizer) TupleParser.resolveField
(String key, TokenIterator tokenizer) ModifierConstructorDescriptionFieldDefn
(TupleParser tupleParser, String key, TokenIterator tokenizer) FieldDefn
(TupleParser tupleParser, String key, TokenIterator tokenizer, boolean isArray) -
Uses of TokenIterator in org.apache.drill.exec.store.easy.json.parser
Modifier and TypeMethodDescriptionstatic ValueDef
ValueDefFactory.arrayLookAhead
(TokenIterator tokenizer) protected abstract ArrayParser
FullValueParser.buildArrayParser
(TokenIterator tokenizer) protected abstract ObjectParser
FullValueParser.buildObjectParser
(TokenIterator tokenizer) static ValueDef
ValueDefFactory.lookAhead
(TokenIterator tokenizer) protected abstract ElementParser
ObjectParser.onField
(String key, TokenIterator tokenizer) The structure parser has just encountered a new field for this object.protected abstract void
FullValueParser.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
ValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) Called for a JSON scalar token.void
ArrayParser.parse
(TokenIterator tokenizer) Parses[ ^ ((value)(, (value)* )? ]
void
ArrayValueParser.parse
(TokenIterator tokenizer) Parsestrue | false | null | integer | float | string| embedded-object | [ ...
void
DummyValueParser.parse
(TokenIterator tokenizer) void
ElementParser.parse
(TokenIterator tokenizer) void
EmptyArrayParser.parse
(TokenIterator tokenizer) void
FullValueParser.parse
(TokenIterator tokenizer) Parsestrue | false | null | integer | float | string| embedded-object | { ...
void
JsonValueParser.parse
(TokenIterator tokenizer) void
NullValueParser.parse
(TokenIterator tokenizer) Parses nulls.void
ObjectParser.parse
(TokenIterator tokenizer) Parses{ ^ ...
void
ObjectValueParser.parse
(TokenIterator tokenizer) Parses{ ...
void
ScalarValueParser.parse
(TokenIterator tokenizer) Parsestrue | false | null | integer | float | string| embedded-object
com.fasterxml.jackson.core.JsonToken
DummyValueParser.parseAndReturnToken
(TokenIterator tokenizer) void
JsonValueParser.parseArrayTail
(TokenIterator tokenizer) void
JsonValueParser.parseObjectTail
(TokenIterator tokenizer) boolean
MessageParser.parsePrefix
(TokenIterator tokenizer) boolean
SimpleMessageParser.parsePrefix
(TokenIterator tokenizer) boolean
RootParser.EmbeddedArrayParser.parseRoot
(TokenIterator tokenizer) boolean
RootParser.EmbeddedObjectParser.parseRoot
(TokenIterator tokenizer) abstract boolean
RootParser.parseRoot
(TokenIterator tokenizer) Parse one data object.boolean
RootParser.RootArrayParser.parseRoot
(TokenIterator tokenizer) boolean
RootParser.RootObjectParser.parseRoot
(TokenIterator tokenizer) protected boolean
RootParser.parseRootObject
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) Parse one data object.void
MessageParser.parseSuffix
(TokenIterator tokenizer) void
SimpleMessageParser.parseSuffix
(TokenIterator tokenizer) protected void
ArrayValueParser.LenientArrayValueParser.parseValue
(TokenIterator tokenizer) protected void
ArrayValueParser.parseValue
(TokenIterator tokenizer) protected abstract void
ScalarValueParser.parseValue
(TokenIterator tokenizer, com.fasterxml.jackson.core.JsonToken token) void
ScalarValueParser.SimpleValueParser.parseValue
(TokenIterator tokenizer, com.fasterxml.jackson.core.JsonToken token) void
ScalarValueParser.TextValueParser.parseValue
(TokenIterator tokenizer, com.fasterxml.jackson.core.JsonToken token) protected abstract ElementParser
EmptyArrayParser.resolve
(TokenIterator tokenizer) Replace this parser with a new parser based on the current parse context.protected abstract ElementParser
NullValueParser.resolve
(TokenIterator tokenizer) Replace this parser with a new parser based on the current parse context. -
Uses of TokenIterator in org.apache.drill.exec.store.easy.json.values
Modifier and TypeMethodDescriptionvoid
BigIntListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
BinaryValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
BooleanListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
DateValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
DecimalValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
DoubleListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
IntervalValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
ScalarListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
StrictBigIntValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
StrictDoubleValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
StrictIntValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
StrictStringValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
TimestampValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
TimeValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
UtcDateValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
UtcTimestampValueListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) void
VarCharListener.onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer)