public class BasicStringVector extends AbstractVector
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.PARTITION_TYPEbuf, BUF_SIZEDISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
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(List<String> list) |
|
BasicStringVector(List<String> list,
boolean blob) |
|
BasicStringVector(String[] array) |
|
BasicStringVector(String[] array,
boolean blob) |
protected |
BasicStringVector(String[] array,
boolean blob,
boolean copy) |
| Modifier and Type | Method and Description |
|---|---|
int |
asof(Scalar value) |
Vector |
combine(Vector vector) |
Scalar |
get(int index) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
String |
getString(int index) |
Vector |
getSubVector(int[] indices) |
int |
hashBucket(int index,
int buckets) |
boolean |
isNull(int index) |
int |
rows() |
void |
set(int index,
Scalar value) |
void |
setNull(int index) |
void |
setString(int index,
String value) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
columns, getDataForm, getString, writegetDataCategory, 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(String[] array)
public BasicStringVector(String[] array, boolean blob)
protected 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 Scalar get(int index)
public Vector getSubVector(int[] indices)
public String getString(int index)
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 int rows()
protected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic int asof(Scalar value)
Copyright © 2021 DolphinDB. All rights reserved.