Class InferredFieldFactory
java.lang.Object
org.apache.drill.exec.store.easy.json.loader.BaseFieldFactory
org.apache.drill.exec.store.easy.json.loader.InferredFieldFactory
- All Implemented Interfaces:
FieldFactory
Create Drill field listeners based on the observed look-ahead
tokens in JSON.
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.easy.json.loader.BaseFieldFactory
child, loader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfieldParser
(FieldDefn fieldDefn) Build a column and its listener based on a look-ahead hint.forceArrayResolution
(FieldDefn fieldDefn) forceNullResolution
(FieldDefn fieldDefn) objectArrayParserFor
(FieldDefn fieldDefn) Create a map array column and its associated object array listener for the given key.scalarParserFor
(FieldDefn fieldDefn, boolean isArray) Methods inherited from class org.apache.drill.exec.store.easy.json.loader.BaseFieldFactory
buildOuterArrays, ignoredFieldParser, loader, multiDimObjectArrayFor, multiDimScalarArrayFor, multiDimVariantArrayParserFor, objectArrayParserFor, objectArrayParserFor, objectParserFor, objectParserFor, objectParserFor, parserFactory, repeatedListSchemaFor, scalarArrayParserFor, scalarArrayParserFor, scalarListenerFor, scalarParserFor, scalarParserFor, variantArrayParserFor, variantParserFor
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
InferredFieldFactory
-
-
Method Details
-
fieldParser
Build a column and its listener based on a look-ahead hint. -
forceNullResolution
- Specified by:
forceNullResolution
in interfaceFieldFactory
- Overrides:
forceNullResolution
in classBaseFieldFactory
-
forceArrayResolution
- Specified by:
forceArrayResolution
in interfaceFieldFactory
- Overrides:
forceArrayResolution
in classBaseFieldFactory
-
scalarParserFor
-
objectArrayParserFor
Create a map array column and its associated object array listener for the given key. -
drillTypeFor
-