public interface OutputMutator
Modifier and Type | Method and Description |
---|---|
<T extends ValueVector> |
addField(MaterializedField field,
Class<T> clazz)
Add a ValueVector for new (or existing) field.
|
void |
allocate(int recordCount) |
void |
clear()
Clear this mutator i.e.
|
CallBack |
getCallBack() |
DrillBuf |
getManagedBuffer()
Allows a scanner to request a set of managed block of memory.
|
boolean |
isNewSchema()
Whether or not the fields added to the OutputMutator generated a new schema event.
|
<T extends ValueVector> T addField(MaterializedField field, Class<T> clazz) throws SchemaChangeException
field
- The specification of the newly desired vector.clazz
- The expected ValueVector class. Also allows strongly typed use of this interface.SchemaChangeException
- If the addition of this field is incompatible with this OutputMutator's capabilities.void allocate(int recordCount)
boolean isNewSchema()
DrillBuf getManagedBuffer()
CallBack getCallBack()
void clear()
Copyright © 1970 The Apache Software Foundation. All rights reserved.