Class ValueDef
java.lang.Object
org.apache.drill.exec.store.easy.json.parser.ValueDef
Description of a JSON value as inferred from looking ahead in
the JSON stream. Includes a type (which can be empty for an empty
array, or null), and an array size (which is 0 for simple values.)
To be clear, this is the JSON parser's best guess at a field type from the input token stream. This is not a description of the desired data type as JSON can only react to what it sees on input.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Description of JSON types as derived from JSON tokens. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isArray()
static ValueDef.JsonType
jsonTypeFor
(com.fasterxml.jackson.core.JsonToken token) toString()
type()