public final class VarBinaryVector.Mutator extends BaseValueVector.BaseMutator implements VariableWidthVector.VariableWidthMutator
| Constructor and Description |
|---|
Mutator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateTestData(int size) |
protected void |
set(int index,
byte[] bytes)
Set the variable length element at the specified index to the supplied byte array.
|
protected void |
set(int index,
byte[] bytes,
int start,
int length)
Set the variable length element at the specified index to the supplied byte array.
|
protected void |
set(int index,
int start,
int length,
ArrowBuf buffer) |
protected void |
set(int index,
NullableVarBinaryHolder holder) |
protected void |
set(int index,
VarBinaryHolder holder) |
void |
setSafe(int index,
byte[] bytes) |
void |
setSafe(int index,
byte[] bytes,
int start,
int length) |
void |
setSafe(int index,
ByteBuffer bytes,
int start,
int length) |
void |
setSafe(int index,
int start,
int end,
ArrowBuf buffer) |
void |
setSafe(int index,
NullableVarBinaryHolder holder) |
void |
setSafe(int index,
VarBinaryHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
void |
setValueLengthSafe(int index,
int length) |
resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetprotected void set(int index,
byte[] bytes)
index - position of the bit to setbytes - array of bytes to writepublic void setSafe(int index,
byte[] bytes)
protected void set(int index,
byte[] bytes,
int start,
int length)
index - position of the bit to setbytes - array of bytes to writestart - start index of bytes to writelength - length of bytes to writepublic void setSafe(int index,
ByteBuffer bytes,
int start,
int length)
public void setSafe(int index,
byte[] bytes,
int start,
int length)
public void setValueLengthSafe(int index,
int length)
setValueLengthSafe in interface VariableWidthVector.VariableWidthMutatorpublic void setSafe(int index,
int start,
int end,
ArrowBuf buffer)
public void setSafe(int index,
NullableVarBinaryHolder holder)
public void setSafe(int index,
VarBinaryHolder holder)
protected void set(int index,
int start,
int length,
ArrowBuf buffer)
protected void set(int index,
NullableVarBinaryHolder holder)
protected void set(int index,
VarBinaryHolder holder)
public void setValueCount(int valueCount)
ValueVector.MutatorsetValueCount in interface ValueVector.MutatorvalueCount - value count to set.public void generateTestData(int size)
generateTestData in interface ValueVector.MutatorgenerateTestData in class BaseValueVector.BaseMutatorsize - the number of values to generateCopyright © 2017 The Apache Software Foundation. All rights reserved.