public class SimpleVectorWrapper<T extends ValueVector> extends Object implements VectorWrapper<T>
Constructor and Description |
---|
SimpleVectorWrapper(T v) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
VectorWrapper<T> |
cloneAndTransfer(BufferAllocator allocator) |
static <T extends ValueVector> |
create(T v) |
VectorWrapper<?> |
getChildWrapper(int[] ids) |
MaterializedField |
getField() |
TypedFieldId |
getFieldIdIfMatches(int id,
SchemaPath expectedPath)
Traverse the object graph and determine whether the provided SchemaPath matches data within the Wrapper.
|
T |
getValueVector() |
T[] |
getValueVectors() |
Class<T> |
getVectorClass() |
boolean |
isHyper() |
String |
toString() |
void |
transfer(VectorWrapper<?> destination) |
public SimpleVectorWrapper(T v)
public Class<T> getVectorClass()
getVectorClass
in interface VectorWrapper<T extends ValueVector>
public MaterializedField getField()
getField
in interface VectorWrapper<T extends ValueVector>
public T getValueVector()
getValueVector
in interface VectorWrapper<T extends ValueVector>
public T[] getValueVectors()
getValueVectors
in interface VectorWrapper<T extends ValueVector>
public boolean isHyper()
isHyper
in interface VectorWrapper<T extends ValueVector>
public VectorWrapper<T> cloneAndTransfer(BufferAllocator allocator)
cloneAndTransfer
in interface VectorWrapper<T extends ValueVector>
public void clear()
clear
in interface VectorWrapper<T extends ValueVector>
public static <T extends ValueVector> SimpleVectorWrapper<T> create(T v)
public VectorWrapper<?> getChildWrapper(int[] ids)
getChildWrapper
in interface VectorWrapper<T extends ValueVector>
public TypedFieldId getFieldIdIfMatches(int id, SchemaPath expectedPath)
VectorWrapper
getFieldIdIfMatches
in interface VectorWrapper<T extends ValueVector>
public void transfer(VectorWrapper<?> destination)
transfer
in interface VectorWrapper<T extends ValueVector>
Copyright © 1970 The Apache Software Foundation. All rights reserved.