Class JsonStructureOptions
java.lang.Object
org.apache.drill.exec.store.easy.json.parser.JsonStructureOptions
- Direct Known Subclasses:
- JsonLoaderOptions
Input to the JSON structure parser which defines guidelines
 for low-level parsing as well as listeners for higher-level
 semantics.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionbooleanAllow Infinity and NaN for float values.booleanbooleanThis property works only whenskipMalformedRecordsenabled.booleanIf true, the structure parser will attempt to recover from JSON syntax errors by starting over at the next record boundary.booleanDescribes whether or not this reader can unwrap a single root array record and treat it like a set of distinct records.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
allowNanInfpublic boolean allowNanInfAllow Infinity and NaN for float values.
- 
skipOuterListpublic boolean skipOuterListDescribes whether or not this reader can unwrap a single root array record and treat it like a set of distinct records.
- 
skipMalformedRecordspublic boolean skipMalformedRecordsIf true, the structure parser will attempt to recover from JSON syntax errors by starting over at the next record boundary. The Jackson parser has limited recovery abilities. At present, recover can consume two or three valid records before it stabilizes.
- 
skipMalformedDocumentpublic boolean skipMalformedDocumentThis property works only whenskipMalformedRecordsenabled. If true,TokenIterator.RecoverableJsonExceptionwill be populated for the case of malformed empty document, so it will be possible to handle this exception by caller.
- 
enableEscapeAnyCharpublic boolean enableEscapeAnyChar
 
- 
- 
Constructor Details- 
JsonStructureOptionspublic JsonStructureOptions()
- 
JsonStructureOptions
 
-