public final class NullableTimeStampMicroVector.Mutator extends BaseValueVector.BaseMutator implements NullableVectorDefinitionSetter
Modifier and Type | Method and Description |
---|---|
void |
generateTestData(int valueCount) |
int |
getLastSet() |
TimeStampMicroVector |
getVectorWithValues() |
boolean |
isSafe(int outIndex) |
void |
reset()
Resets the mutator to pristine state.
|
void |
set(int index,
int isSet,
long valueField) |
void |
set(int index,
long value)
Set the variable length element at the specified index to the supplied byte array.
|
void |
set(int index,
NullableTimeStampMicroHolder holder) |
void |
set(int index,
TimeStampMicroHolder holder) |
void |
setIndexDefined(int index) |
void |
setLastSet(int value) |
void |
setNull(int index) |
void |
setSafe(int index,
byte[] value,
int start,
int length) |
void |
setSafe(int index,
ByteBuffer value,
int start,
int length) |
void |
setSafe(int index,
int isSet,
long valueField) |
void |
setSafe(int index,
long value) |
void |
setSafe(int index,
NullableTimeStampMicroHolder value) |
void |
setSafe(int index,
TimeStampMicroHolder value) |
void |
setSkipNull(int index,
NullableTimeStampMicroHolder holder) |
void |
setSkipNull(int index,
TimeStampMicroHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
public TimeStampMicroVector getVectorWithValues()
public void setIndexDefined(int index)
setIndexDefined
in interface NullableVectorDefinitionSetter
public void set(int index, long value)
index
- position of the bit to setvalue
- array of bytes (or int if smaller than 4 bytes) to writepublic void setSafe(int index, byte[] value, int start, int length)
public void setSafe(int index, ByteBuffer value, int start, int length)
public void setNull(int index)
public void setSkipNull(int index, TimeStampMicroHolder holder)
public void setSkipNull(int index, NullableTimeStampMicroHolder holder)
public void set(int index, NullableTimeStampMicroHolder holder)
public void set(int index, TimeStampMicroHolder holder)
public boolean isSafe(int outIndex)
public void set(int index, int isSet, long valueField)
public void setSafe(int index, int isSet, long valueField)
public void setSafe(int index, NullableTimeStampMicroHolder value)
public void setSafe(int index, TimeStampMicroHolder value)
public void setSafe(int index, long value)
public void setValueCount(int valueCount)
ValueVector.Mutator
setValueCount
in interface ValueVector.Mutator
valueCount
- value count to set.public void generateTestData(int valueCount)
generateTestData
in interface ValueVector.Mutator
generateTestData
in class BaseValueVector.BaseMutator
valueCount
- the number of values to generatepublic void reset()
ValueVector.Mutator
reset
in interface ValueVector.Mutator
reset
in class BaseValueVector.BaseMutator
public void setLastSet(int value)
public int getLastSet()
Copyright © 2017 The Apache Software Foundation. All rights reserved.