public class CountingJsonReader extends BaseJsonReader
BaseJsonProcessor.JsonExceptionProcessingStateJsonProcessor.ReadStatecurrentFieldName, lastSeenJsonToken, parser, workBuf| Constructor and Description |
|---|
CountingJsonReader(DrillBuf workBuf,
boolean enableNanInf,
boolean enableEscapeAnyChar) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureAtLeastOneField(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) |
protected void |
writeDocument(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer,
com.fasterxml.jackson.core.JsonToken t)
Writes the contents of the json node starting with the specified token into a complex vector.
|
createDocumentTopLevelException, writegetCurrentField, getDefaultMapper, getExceptionWithContext, getExceptionWithContext, ignoreJSONParseError, processJSONException, setIgnoreJSONParseErrors, setSource, setSource, toStringpublic CountingJsonReader(DrillBuf workBuf, boolean enableNanInf, boolean enableEscapeAnyChar)
protected void writeDocument(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer,
com.fasterxml.jackson.core.JsonToken t)
throws IOException
BaseJsonReaderwriteDocument in class BaseJsonReaderIOExceptionpublic void ensureAtLeastOneField(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer)
Copyright © 2021 The Apache Software Foundation. All rights reserved.