public static class ColumnState.PrimitiveColumnState extends ColumnState implements WriterEvents.ColumnWriterListener
ColumnState.BaseContainerColumnState, ColumnState.PrimitiveColumnState, ColumnState.StateaddVersion, cardinality, loader, outputIndex, state, vectorState, writer| Constructor and Description |
|---|
PrimitiveColumnState(org.apache.drill.exec.physical.resultSet.impl.LoaderInternals loader,
AbstractObjectWriter colWriter,
VectorState vectorState) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExpand(ScalarWriter writer,
int delta)
A writer wants to expand its vector.
|
void |
dump(HierarchicalFormatter format) |
ColumnMetadata |
outputSchema()
Get the output schema.
|
void |
overflowed(ScalarWriter writer)
Alert the listener that a vector has overflowed.
|
allocateVectors, buildOutput, close, harvestWithLookAhead, innerCardinality, isProjected, outerCardinality, rollover, schema, startBatch, updateCardinality, vector, vectorState, writerpublic PrimitiveColumnState(org.apache.drill.exec.physical.resultSet.impl.LoaderInternals loader,
AbstractObjectWriter colWriter,
VectorState vectorState)
public boolean canExpand(ScalarWriter writer, int delta)
WriterEvents.ColumnWriterListenercanExpand in interface WriterEvents.ColumnWriterListenerwriter - the writer that wishes to grow its vectordelta - the amount by which the vector is to growpublic void overflowed(ScalarWriter writer)
WriterEvents.ColumnWriterListeneroverflowed in interface WriterEvents.ColumnWriterListenerwriter - the writer that triggered the overflowpublic ColumnMetadata outputSchema()
outputSchema in class ColumnStatepublic void dump(HierarchicalFormatter format)
dump in class ColumnStateCopyright © 2021 The Apache Software Foundation. All rights reserved.