public static class ColumnState.PrimitiveColumnState extends ColumnState implements WriterEvents.ColumnWriterListener
ColumnState.BaseContainerColumnState, ColumnState.PrimitiveColumnState, ColumnState.State
addVersion, 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, writer
public PrimitiveColumnState(org.apache.drill.exec.physical.resultSet.impl.LoaderInternals loader, AbstractObjectWriter colWriter, VectorState vectorState)
public boolean canExpand(ScalarWriter writer, int delta)
WriterEvents.ColumnWriterListener
canExpand
in interface WriterEvents.ColumnWriterListener
writer
- the writer that wishes to grow its vectordelta
- the amount by which the vector is to growoverflowed()
public void overflowed(ScalarWriter writer)
WriterEvents.ColumnWriterListener
overflowed
in interface WriterEvents.ColumnWriterListener
writer
- the writer that triggered the overflowpublic ColumnMetadata outputSchema()
outputSchema
in class ColumnState
public void dump(HierarchicalFormatter format)
dump
in class ColumnState
Copyright © 1970 The Apache Software Foundation. All rights reserved.