public interface JsonProcessor
| Modifier and Type | Interface and Description |
|---|---|
static class |
JsonProcessor.ReadState |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureAtLeastOneField(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) |
UserException.Builder |
getExceptionWithContext(Throwable exception,
String message) |
UserException.Builder |
getExceptionWithContext(UserException.Builder exceptionBuilder,
String message) |
boolean |
ignoreJSONParseError() |
void |
setIgnoreJSONParseErrors(boolean ignoreJSONParseErrors) |
void |
setSource(InputStream is) |
void |
setSource(com.fasterxml.jackson.databind.JsonNode node) |
JsonProcessor.ReadState |
write(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) |
JsonProcessor.ReadState write(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) throws IOException
IOExceptionvoid setSource(InputStream is) throws IOException
IOExceptionvoid setSource(com.fasterxml.jackson.databind.JsonNode node)
void ensureAtLeastOneField(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer)
UserException.Builder getExceptionWithContext(UserException.Builder exceptionBuilder, String message)
UserException.Builder getExceptionWithContext(Throwable exception, String message)
boolean ignoreJSONParseError()
void setIgnoreJSONParseErrors(boolean ignoreJSONParseErrors)
Copyright © 2021 The Apache Software Foundation. All rights reserved.