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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
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[]
boolean
isHyper()
toString()
void
transfer
(VectorWrapper<?> destination)
-
Constructor Details
-
SimpleVectorWrapper
-
-
Method Details
-
getVectorClass
- Specified by:
getVectorClass
in interfaceVectorWrapper<T extends ValueVector>
-
getField
- Specified by:
getField
in interfaceVectorWrapper<T extends ValueVector>
-
getValueVector
- Specified by:
getValueVector
in interfaceVectorWrapper<T extends ValueVector>
-
getValueVectors
- Specified by:
getValueVectors
in interfaceVectorWrapper<T extends ValueVector>
-
isHyper
public boolean isHyper()- Specified by:
isHyper
in interfaceVectorWrapper<T extends ValueVector>
-
cloneAndTransfer
- Specified by:
cloneAndTransfer
in interfaceVectorWrapper<T extends ValueVector>
-
clear
public void clear()- Specified by:
clear
in interfaceVectorWrapper<T extends ValueVector>
-
create
-
getChildWrapper
- Specified by:
getChildWrapper
in interfaceVectorWrapper<T extends ValueVector>
-
getFieldIdIfMatches
Description copied from interface:VectorWrapper
Traverse 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:
getFieldIdIfMatches
in interfaceVectorWrapper<T extends ValueVector>
- Returns:
- TypedFieldId
-
transfer
- Specified by:
transfer
in interfaceVectorWrapper<T extends ValueVector>
-
toString
-