public class DirectRowSet extends AbstractSingleRowSet implements RowSet.ExtendableRowSet
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectRowSet.RowSetWriterBuilder |
RowSet.ExtendableRowSet, RowSet.HyperRowSet, RowSet.HyperRowSetBuilder, RowSet.SingleRowSet| Modifier and Type | Field and Description |
|---|---|
static int |
INITIAL_ROW_COUNT
Initial row count, used for preliminary memory allocation.
|
container, schema| Constructor and Description |
|---|
DirectRowSet(AbstractSingleRowSet from) |
| Modifier and Type | Method and Description |
|---|---|
void |
allocate(int rowCount) |
static DirectRowSet |
fromContainer(VectorContainer container) |
static DirectRowSet |
fromSchema(BufferAllocator allocator,
BatchSchema schema) |
static DirectRowSet |
fromSchema(BufferAllocator allocator,
TupleMetadata schema) |
static DirectRowSet |
fromVectorAccessible(BufferAllocator allocator,
VectorAccessible va) |
SelectionVector2 |
getSv2() |
BatchSchema.SelectionVectorMode |
indirectionType() |
boolean |
isExtendable() |
boolean |
isWritable() |
RowSetReader |
reader() |
RowSet.SingleRowSet |
toIndirect() |
RowSet.SingleRowSet |
toIndirect(Set<Integer> skipIndices) |
RowSetWriter |
writer() |
RowSetWriter |
writer(int initialRowCount) |
buildReader, sizeallocator, batchSchema, clear, container, print, rowCount, schema, toString, vectorAccessibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallocator, batchSchema, clear, container, print, rowCount, schema, size, vectorAccessiblepublic static final int INITIAL_ROW_COUNT
public DirectRowSet(AbstractSingleRowSet from)
public static DirectRowSet fromSchema(BufferAllocator allocator, BatchSchema schema)
public static DirectRowSet fromSchema(BufferAllocator allocator, TupleMetadata schema)
public static DirectRowSet fromContainer(VectorContainer container)
public static DirectRowSet fromVectorAccessible(BufferAllocator allocator, VectorAccessible va)
public void allocate(int rowCount)
allocate in interface RowSet.ExtendableRowSetpublic RowSetWriter writer()
writer in interface RowSet.ExtendableRowSetpublic RowSetWriter writer(int initialRowCount)
writer in interface RowSet.ExtendableRowSetpublic RowSetReader reader()
public boolean isExtendable()
isExtendable in interface RowSetpublic boolean isWritable()
isWritable in interface RowSetpublic BatchSchema.SelectionVectorMode indirectionType()
indirectionType in interface RowSetpublic RowSet.SingleRowSet toIndirect()
toIndirect in interface RowSet.SingleRowSetpublic RowSet.SingleRowSet toIndirect(Set<Integer> skipIndices)
toIndirect in interface RowSet.SingleRowSetpublic SelectionVector2 getSv2()
getSv2 in interface RowSet.SingleRowSetCopyright © 2022 The Apache Software Foundation. All rights reserved.