Class EmptyArrayFieldParser
java.lang.Object
org.apache.drill.exec.store.easy.json.parser.AbstractElementParser
org.apache.drill.exec.store.easy.json.parser.EmptyArrayParser
org.apache.drill.exec.store.easy.json.loader.EmptyArrayFieldParser
- All Implemented Interfaces:
ElementParser
Represents a run of empty arrays for which we have no type information.
Resolves to an actual type when a non-empty array appears. Must resolve
the array even if it contains nulls so we can count the null values.
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.easy.json.parser.EmptyArrayParser
key
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected ElementParser
resolve
(TokenIterator tokenizer) The column type is now known from context.Methods inherited from class org.apache.drill.exec.store.easy.json.parser.EmptyArrayParser
parse
Methods inherited from class org.apache.drill.exec.store.easy.json.parser.AbstractElementParser
errorFactory, structParser
-
Constructor Details
-
EmptyArrayFieldParser
-
-
Method Details
-
forceResolution
public void forceResolution() -
resolve
The column type is now known from context. Create a new array column, writer and parser to replace this parser.- Specified by:
resolve
in classEmptyArrayParser
-