public class BasicDecimal32Vector extends AbstractVector
AbstractVector.NumElementAndPartial, AbstractVector.OffectEntity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPEcompressedMethodCOMPRESS_DELTA, COMPRESS_LZ4, DISPLAY_ROWS| Constructor and Description |
|---|
BasicDecimal32Vector(double[] data,
int scale) |
BasicDecimal32Vector(Entity.DATA_FORM df,
ExtendedDataInput in,
int extra) |
BasicDecimal32Vector(int size) |
BasicDecimal32Vector(int size,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double value) |
void |
addRange(double[] valueList) |
void |
Append(Scalar value) |
void |
Append(Vector value) |
int |
asof(Scalar value) |
Vector |
combine(Vector vector) |
void |
deserialize(int start,
int count,
ExtendedDataInput in) |
Entity |
get(int index) |
int[] |
getdataArray() |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
int |
getExtraParamForType() |
int |
getScale() |
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 |
setExtraParamForType(int scale) |
void |
setNull(int index) |
void |
setScale(int scale) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
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 BasicDecimal32Vector(int size)
public BasicDecimal32Vector(int size,
int scale)
public BasicDecimal32Vector(Entity.DATA_FORM df, ExtendedDataInput in, int extra) throws IOException
IOExceptionpublic BasicDecimal32Vector(double[] data,
int scale)
public void deserialize(int start,
int count,
ExtendedDataInput in)
throws IOException
deserialize in interface Vectordeserialize in class AbstractVectorIOExceptionprotected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic 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(double value)
public void addRange(double[] 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 setScale(int scale)
public int getScale()
public int[] getdataArray()
public void setExtraParamForType(int scale)
setExtraParamForType in class AbstractVectorpublic 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 AbstractVectorIOExceptionCopyright © 2023 DolphinDB. All rights reserved.