public abstract class BaseJsonReader extends BaseJsonProcessor
BaseJsonProcessor.JsonExceptionProcessingStateJsonProcessor.ReadStatecurrentFieldName, lastSeenJsonToken, parser, workBuf| Constructor and Description |
|---|
BaseJsonReader(DrillBuf workBuf,
boolean enableNanInf,
boolean enableEscapeAnyChar,
boolean skipOuterList) |
| Modifier and Type | Method and Description |
|---|---|
protected UserException |
createDocumentTopLevelException() |
JsonProcessor.ReadState |
write(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) |
protected abstract 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.
|
getCurrentField, getDefaultMapper, getExceptionWithContext, getExceptionWithContext, ignoreJSONParseError, processJSONException, setIgnoreJSONParseErrors, setSource, setSource, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitensureAtLeastOneFieldpublic BaseJsonReader(DrillBuf workBuf, boolean enableNanInf, boolean enableEscapeAnyChar, boolean skipOuterList)
public JsonProcessor.ReadState write(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) throws IOException
IOExceptionprotected abstract void writeDocument(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer,
com.fasterxml.jackson.core.JsonToken t)
throws IOException
IOExceptionprotected UserException createDocumentTopLevelException()
Copyright © 2021 The Apache Software Foundation. All rights reserved.