public class BasicDecimal128Vector 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 |
|---|
BasicDecimal128Vector(Entity.DATA_FORM df,
ExtendedDataInput in,
int extra) |
BasicDecimal128Vector(int size,
int scale) |
BasicDecimal128Vector(String[] dataValue,
int scale) |
checkCompressedMethod, columns, getDataForm, getJsonString, getString, getString, getUnitLength, hashBucket, setCompressedMethod, 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 BasicDecimal128Vector(int size,
int scale)
public BasicDecimal128Vector(String[] dataValue, int scale)
public BasicDecimal128Vector(Entity.DATA_FORM df, ExtendedDataInput in, int extra) throws IOException
IOExceptionpublic void deserialize(int start,
int count,
ExtendedDataInput in)
throws IOException
deserialize in interface Vectordeserialize in class AbstractVectorIOExceptionpublic void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic static void reverseByteArray(byte[] array)
public static void reverseByteArrayEvery8Byte(byte[] array)
public void setExtraParamForType(int scale)
setExtraParamForType 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 Class<?> getElementClass()
public void serialize(int start,
int count,
ExtendedDataOutput out)
throws IOException
IOExceptionpublic int getUnitLength()
getUnitLength in interface VectorgetUnitLength in class AbstractVectorpublic void add(BigDecimal value)
public void add(String value)
public void addRange(BigInteger[] valueList)
public void addRange(String[] valueList)
public void addRange(BigDecimal[] 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 BigInteger[] getdataArray()
public void setScale(int scale)
public int getScale()
public Entity.DATA_CATEGORY getDataCategory()
public Entity.DATA_TYPE getDataType()
public int rows()
public int getExtraParamForType()
getExtraParamForType 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 BigInteger[] getUnscaledValues()
Copyright © 2025 DolphinDB. All rights reserved.