public class IndirectRowSet extends AbstractSingleRowSet
RowSet.ExtendableRowSet, RowSet.HyperRowSet, RowSet.HyperRowSetBuilder, RowSet.SingleRowSet
container, schema
Constructor and Description |
---|
IndirectRowSet(DirectRowSet directRowSet,
Set<Integer> skipIndices) |
IndirectRowSet(VectorContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static IndirectRowSet |
fromContainer(VectorContainer container) |
static IndirectRowSet |
fromSv2(VectorContainer container,
SelectionVector2 sv2) |
SelectionVector2 |
getSv2() |
BatchSchema.SelectionVectorMode |
indirectionType() |
boolean |
isExtendable() |
boolean |
isWritable() |
RowSetReader |
reader() |
long |
size()
Return the size in memory of this record set, including indirection
vectors, null vectors, offset vectors and the entire (used and unused)
data vectors.
|
RowSet.SingleRowSet |
toIndirect() |
RowSet.SingleRowSet |
toIndirect(Set<Integer> skipIndices) |
buildReader
allocator, batchSchema, container, print, rowCount, schema, toString, vectorAccessible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allocator, batchSchema, container, print, rowCount, schema, vectorAccessible
public IndirectRowSet(VectorContainer container)
public IndirectRowSet(DirectRowSet directRowSet, Set<Integer> skipIndices)
public static IndirectRowSet fromContainer(VectorContainer container)
public static IndirectRowSet fromSv2(VectorContainer container, SelectionVector2 sv2)
public SelectionVector2 getSv2()
public void clear()
clear
in interface RowSet
clear
in class AbstractRowSet
public RowSetReader reader()
public boolean isExtendable()
public boolean isWritable()
public BatchSchema.SelectionVectorMode indirectionType()
public RowSet.SingleRowSet toIndirect()
public RowSet.SingleRowSet toIndirect(Set<Integer> skipIndices)
public long size()
RowSet
size
in interface RowSet
size
in class AbstractSingleRowSet
Copyright © 2021 The Apache Software Foundation. All rights reserved.