public class BasicAnyVector extends AbstractVector
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.PARTITION_TYPEbuf, BUF_SIZEDISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
protected |
BasicAnyVector(Entity[] array,
boolean copy) |
protected |
BasicAnyVector(ExtendedDataInput in) |
|
BasicAnyVector(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() |
Entity |
getEntity(int index) |
String |
getString() |
Vector |
getSubVector(int[] indices) |
boolean |
isNull(int index) |
int |
rows() |
void |
set(int index,
Scalar value) |
void |
setEntity(int index,
Entity value) |
void |
setNull(int index) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
columns, getDataForm, hashBucket, writegetDataCategory, 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 Scalar 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 String getString()
getString in interface EntitygetString in class AbstractVectorpublic Class<?> getElementClass()
protected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionpublic int asof(Scalar value)
Copyright © 2020 DolphinDB. All rights reserved.