public class BasicStringVector extends AbstractVector
AbstractVector.NumElementAndPartial, AbstractVector.OffectEntity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPEcompressedMethod, GROWTH_FACTORCOMPRESS_DELTA, COMPRESS_LZ4, DISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
|
BasicStringVector(byte[][] array) |
protected |
BasicStringVector(Entity.DATA_FORM df,
ExtendedDataInput in,
boolean isSymbol,
boolean blob) |
protected |
BasicStringVector(Entity.DATA_FORM df,
ExtendedDataInput in,
boolean blob,
SymbolBaseCollection collection) |
protected |
BasicStringVector(Entity.DATA_FORM df,
int size,
boolean isSymbol) |
protected |
BasicStringVector(Entity.DATA_FORM df,
int size,
boolean isSymbol,
boolean isBlob) |
|
BasicStringVector(int size) |
|
BasicStringVector(int size,
int capacity) |
|
BasicStringVector(int size,
int capacity,
boolean blob,
boolean symbol) |
|
BasicStringVector(List<String> list) |
|
BasicStringVector(List<String> list,
boolean blob) |
|
BasicStringVector(String[] array) |
|
BasicStringVector(String[] array,
boolean blob) |
|
BasicStringVector(String[] array,
boolean blob,
boolean copy) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object value) |
void |
add(String value) |
void |
addRange(String[] valueList) |
void |
Append(Scalar value) |
void |
Append(Vector value) |
int |
asof(Scalar value) |
void |
checkCapacity(int requiredCapacity) |
Vector |
combine(Vector vector) |
Entity |
get(int index) |
String[] |
getdataArray() |
List<byte[]> |
getdataByteArray() |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
String |
getString(int index) |
Vector |
getSubVector(int[] indices) |
int |
getUnitLength() |
String[] |
getValues() |
int |
hashBucket(int index,
int buckets) |
boolean |
isNull(int index) |
int |
rows() |
int |
serialize(byte[] buf,
int bufSize,
int start,
int elementCount,
AbstractVector.Offect offect) |
void |
serialize(int start,
int count,
ExtendedDataOutput out) |
int |
serialize(int indexStart,
int offect,
int targetNumElement,
AbstractVector.NumElementAndPartial numElementAndPartial,
ByteBuffer out) |
void |
set(int index,
Entity value) |
void |
set(int index,
Object value) |
void |
setNull(int index) |
void |
setString(int index,
String value) |
ByteBuffer |
writeVectorToBuffer(ByteBuffer buffer) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
checkCompressedMethod, columns, deserialize, getDataForm, getExtraParamForType, getJsonString, getString, getUnitLength, setCompressedMethod, setExtraParamForType, write, writeCompressedgetDataCategory, isChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVector, typeToCategorypublic BasicStringVector(int size)
public BasicStringVector(int size,
int capacity)
public BasicStringVector(int size,
int capacity,
boolean blob,
boolean symbol)
public BasicStringVector(byte[][] array)
public BasicStringVector(String[] array)
public BasicStringVector(String[] array, boolean blob)
public BasicStringVector(String[] array, boolean blob, boolean copy)
protected BasicStringVector(Entity.DATA_FORM df, int size, boolean isSymbol)
protected BasicStringVector(Entity.DATA_FORM df, int size, boolean isSymbol, boolean isBlob)
protected BasicStringVector(Entity.DATA_FORM df, ExtendedDataInput in, boolean isSymbol, boolean blob) throws IOException
IOExceptionprotected BasicStringVector(Entity.DATA_FORM df, ExtendedDataInput in, boolean blob, SymbolBaseCollection collection) throws IOException
IOExceptionpublic Entity get(int index)
public Vector getSubVector(int[] indices)
public String getString(int index)
getString in interface VectorgetString in class AbstractVectorpublic int getUnitLength()
getUnitLength in interface VectorgetUnitLength in class AbstractVectorpublic void add(Object value)
public void add(String value)
public void addRange(String[] valueList)
public void Append(Scalar value)
Append in interface VectorAppend in class AbstractVectorpublic void Append(Vector value)
Append in interface VectorAppend in class AbstractVectorpublic void checkCapacity(int requiredCapacity)
checkCapacity in class AbstractVectorpublic String[] getdataArray()
public List<byte[]> getdataByteArray()
public void set(int index,
Object value)
public void setString(int index,
String value)
public int hashBucket(int index,
int buckets)
hashBucket in interface VectorhashBucket in class AbstractVectorpublic boolean isNull(int index)
public void setNull(int index)
public Entity.DATA_CATEGORY getDataCategory()
public Entity.DATA_TYPE getDataType()
public Class<?> getElementClass()
public void serialize(int start,
int count,
ExtendedDataOutput out)
throws IOException
IOExceptionpublic int rows()
protected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic int asof(Scalar value)
public ByteBuffer writeVectorToBuffer(ByteBuffer buffer) throws IOException
writeVectorToBuffer in class AbstractVectorIOExceptionpublic int serialize(byte[] buf,
int bufSize,
int start,
int elementCount,
AbstractVector.Offect offect)
public int serialize(int indexStart,
int offect,
int targetNumElement,
AbstractVector.NumElementAndPartial numElementAndPartial,
ByteBuffer out)
throws IOException
serialize in interface Vectorserialize in class AbstractVectorIOExceptionpublic String[] getValues()
Copyright © 2026 DolphinDB. All rights reserved.