Package org.apache.drill.exec.record
Interface VectorWrapper<T extends ValueVector>
- All Known Implementing Classes:
HyperVectorWrapper,SimpleVectorWrapper
public interface VectorWrapper<T extends ValueVector>
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()cloneAndTransfer(BufferAllocator allocator) getChildWrapper(int[] ids) getField()getFieldIdIfMatches(int id, SchemaPath expectedPath) Traverse the object graph and determine whether the provided SchemaPath matches data within the Wrapper.T[]booleanisHyper()voidtransfer(VectorWrapper<?> destination)
-
Method Details
-
getVectorClass
-
getField
MaterializedField getField() -
getValueVector
T getValueVector() -
getValueVectors
T[] getValueVectors() -
isHyper
boolean isHyper() -
clear
void clear() -
cloneAndTransfer
-
getChildWrapper
-
transfer
-
getFieldIdIfMatches
Traverse the object graph and determine whether the provided SchemaPath matches data within the Wrapper. If so, return a TypedFieldId associated with this path.- Returns:
- TypedFieldId
-