public class BasicAnyVector extends AbstractVector
AbstractVector.NumElementAndPartial, AbstractVector.OffectEntity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPEcompressedMethodCOMPRESS_DELTA, COMPRESS_LZ4, DISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
protected |
BasicAnyVector(Entity[] array,
boolean copy) |
protected |
BasicAnyVector(ExtendedDataInput in) |
|
BasicAnyVector(int size) |
| 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) |
Vector |
combine(Vector vector) |
Entity |
get(int index) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
Entity |
getEntity(int index) |
String |
getString() |
Vector |
getSubVector(int[] indices) |
int |
getUnitLength() |
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 |
setEntity(int index,
Entity value) |
void |
setNull(int index) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
checkCompressedMethod, columns, deserialize, getDataForm, getExtraParamForType, getJsonString, 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 BasicAnyVector(int size)
protected BasicAnyVector(Entity[] array, boolean copy)
protected BasicAnyVector(ExtendedDataInput in) throws IOException
IOExceptionpublic Entity getEntity(int index)
public Entity get(int index)
public Vector getSubVector(int[] indices)
public void setEntity(int index,
Entity value)
public boolean isNull(int index)
public void setNull(int index)
public 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)
Append in interface VectorAppend in class AbstractVectorpublic void Append(Vector value)
Append in interface VectorAppend in class AbstractVectorpublic String getString()
getString in interface EntitygetString in class AbstractVectorpublic Class<?> getElementClass()
public void serialize(int start,
int count,
ExtendedDataOutput out)
throws IOException
IOExceptionpublic 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)
protected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic int asof(Scalar value)
Copyright © 2024 DolphinDB. All rights reserved.