public class BasicArrayVector 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| Constructor and Description |
|---|
BasicArrayVector(Entity.DATA_TYPE type,
ExtendedDataInput in) |
BasicArrayVector(Entity.DATA_TYPE type,
ExtendedDataInput in,
int rows,
int cols,
int scale) |
BasicArrayVector(Entity.DATA_TYPE type,
int size) |
BasicArrayVector(Entity.DATA_TYPE type,
int size,
int extra) |
BasicArrayVector(int[] index,
Vector value) |
BasicArrayVector(List<Vector> value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object value) |
void |
addRange(Object[] valueList) |
void |
Append(Scalar value) |
void |
Append(Vector value) |
int |
asof(Scalar value) |
void |
checkCapacity(int requiredCapacity) |
int |
columns() |
Vector |
combine(Vector vector) |
void |
deserialize(Entity.DATA_TYPE valueType,
ExtendedDataInput in,
int rows,
int cols,
int scale) |
Entity |
get(int index) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
int |
getExtraParamForType() |
String |
getJsonString(int rowIndex) |
String |
getString(int index) |
Vector |
getSubVector(int[] indices) |
int |
getUnitLength() |
Vector |
getVectorValue(int index) |
boolean |
isNull(int index) |
int |
rows() |
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 |
setNull(int index) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
checkCompressedMethod, deserialize, getDataForm, getString, getUnitLength, hashBucket, setCompressedMethod, setExtraParamForType, write, writeCompressed, writeVectorToBuffergetDataCategory, 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 BasicArrayVector(Entity.DATA_TYPE type, int size)
public BasicArrayVector(Entity.DATA_TYPE type, int size, int extra)
public BasicArrayVector(int[] index,
Vector value)
public BasicArrayVector(Entity.DATA_TYPE type, ExtendedDataInput in, int rows, int cols, int scale) throws IOException
IOExceptionpublic BasicArrayVector(Entity.DATA_TYPE type, ExtendedDataInput in) throws IOException
IOExceptionpublic void deserialize(Entity.DATA_TYPE valueType, ExtendedDataInput in, int rows, int cols, int scale) throws IOException
IOExceptionpublic String getString(int index)
getString in interface VectorgetString in class AbstractVectorpublic Vector getSubVector(int[] indices)
public int asof(Scalar value)
public boolean isNull(int index)
public void setNull(int index)
public Entity get(int index)
public Vector getVectorValue(int index)
public Class<?> getElementClass()
public void serialize(int start,
int count,
ExtendedDataOutput out)
throws IOException
IOExceptionpublic Entity.DATA_CATEGORY getDataCategory()
public Entity.DATA_TYPE getDataType()
public int rows()
public int getUnitLength()
getUnitLength in interface VectorgetUnitLength in class AbstractVectorpublic void addRange(Object[] valueList)
public void Append(Scalar value) throws Exception
Append in interface VectorAppend in class AbstractVectorExceptionpublic void Append(Vector value) throws Exception
Append in interface VectorAppend in class AbstractVectorExceptionpublic void checkCapacity(int requiredCapacity)
checkCapacity in class AbstractVectorpublic String getJsonString(int rowIndex)
getJsonString in interface VectorgetJsonString in class AbstractVectorpublic int serialize(int indexStart,
int offect,
int targetNumElement,
AbstractVector.NumElementAndPartial numElementAndPartial,
ByteBuffer out)
throws IOException
serialize in interface Vectorserialize in class AbstractVectorIOExceptionpublic void add(Object value)
public int getExtraParamForType()
getExtraParamForType in class AbstractVectorprotected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic int columns()
columns in interface Entitycolumns in class AbstractVectorCopyright © 2025 DolphinDB. All rights reserved.