public class BasicDecimal64Vector extends AbstractVector
AbstractVector.NumElementAndPartial, AbstractVector.OffectEntity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPE| Modifier and Type | Field and Description |
|---|---|
protected int |
scale_ |
protected long[] |
values |
buf, BUF_SIZE, compressedMethodCOMPRESS_DELTA, COMPRESS_LZ4, DISPLAY_ROWS| Constructor and Description |
|---|
BasicDecimal64Vector(Entity.DATA_FORM df) |
BasicDecimal64Vector(Entity.DATA_FORM df,
ExtendedDataInput in) |
BasicDecimal64Vector(Entity.DATA_FORM df,
int size) |
BasicDecimal64Vector(int size) |
| 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() |
Vector |
getSubVector(int[] indices) |
int |
getUnitLength() |
boolean |
isNull(int index) |
int |
rows() |
void |
serialize(int start,
int count,
ExtendedDataOutput out) |
void |
set(int index,
Scalar value) |
void |
setNull(int index) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
checkCompressedMethod, columns, deserialize, getDataForm, getString, getString, getUnitLength, hashBucket, serialize, 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 BasicDecimal64Vector(Entity.DATA_FORM df)
public BasicDecimal64Vector(int size)
public BasicDecimal64Vector(Entity.DATA_FORM df, int size)
public BasicDecimal64Vector(Entity.DATA_FORM df, ExtendedDataInput in) throws IOException
IOExceptionprotected 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 Scalar 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 Entity.DATA_CATEGORY getDataCategory()
public Entity.DATA_TYPE getDataType()
public int rows()
Copyright © 2022 DolphinDB. All rights reserved.