public class BsonRecordReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_RECORD_SIZE |
protected DrillBuf |
workBuf |
| Constructor and Description |
|---|
BsonRecordReader(DrillBuf managedBuf,
boolean allTextMode,
boolean readNumbersAsDouble) |
BsonRecordReader(DrillBuf managedBuf,
List<SchemaPath> columns,
boolean readNumbersAsDouble) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureAtLeastOneField(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer) |
String |
toString() |
void |
write(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer,
org.bson.BsonReader reader) |
public static final int MAX_RECORD_SIZE
protected DrillBuf workBuf
public BsonRecordReader(DrillBuf managedBuf, boolean allTextMode, boolean readNumbersAsDouble)
public BsonRecordReader(DrillBuf managedBuf, List<SchemaPath> columns, boolean readNumbersAsDouble)
public void write(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer,
org.bson.BsonReader reader)
throws IOException
IOExceptionpublic void ensureAtLeastOneField(org.apache.drill.exec.vector.complex.writer.BaseWriter.ComplexWriter writer)
Copyright © 2021 The Apache Software Foundation. All rights reserved.