Package org.apache.drill.exec.record
Class SimpleVectorWrapper<T extends ValueVector>
java.lang.Object
org.apache.drill.exec.record.SimpleVectorWrapper<T>
- All Implemented Interfaces:
VectorWrapper<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()cloneAndTransfer(BufferAllocator allocator) static <T extends ValueVector>
SimpleVectorWrapper<T> create(T v) 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()toString()voidtransfer(VectorWrapper<?> destination)
-
Constructor Details
-
SimpleVectorWrapper
-
-
Method Details
-
getVectorClass
- Specified by:
getVectorClassin interfaceVectorWrapper<T extends ValueVector>
-
getField
- Specified by:
getFieldin interfaceVectorWrapper<T extends ValueVector>
-
getValueVector
- Specified by:
getValueVectorin interfaceVectorWrapper<T extends ValueVector>
-
getValueVectors
- Specified by:
getValueVectorsin interfaceVectorWrapper<T extends ValueVector>
-
isHyper
public boolean isHyper()- Specified by:
isHyperin interfaceVectorWrapper<T extends ValueVector>
-
cloneAndTransfer
- Specified by:
cloneAndTransferin interfaceVectorWrapper<T extends ValueVector>
-
clear
public void clear()- Specified by:
clearin interfaceVectorWrapper<T extends ValueVector>
-
create
-
getChildWrapper
- Specified by:
getChildWrapperin interfaceVectorWrapper<T extends ValueVector>
-
getFieldIdIfMatches
Description copied from interface:VectorWrapperTraverse the object graph and determine whether the provided SchemaPath matches data within the Wrapper. If so, return a TypedFieldId associated with this path.- Specified by:
getFieldIdIfMatchesin interfaceVectorWrapper<T extends ValueVector>- Returns:
- TypedFieldId
-
transfer
- Specified by:
transferin interfaceVectorWrapper<T extends ValueVector>
-
toString
-