public class BasicShortVector extends AbstractVector
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.PARTITION_TYPEbuf, BUF_SIZEDISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
protected |
BasicShortVector(Entity.DATA_FORM df,
ExtendedDataInput in) |
protected |
BasicShortVector(Entity.DATA_FORM df,
int size) |
|
BasicShortVector(int size) |
|
BasicShortVector(List<Short> list) |
|
BasicShortVector(short[] array) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
combine(Vector vector) |
Scalar |
get(int index) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
short |
getShort(int index) |
int |
hashBucket(int index,
int buckets) |
boolean |
isNull(int index) |
int |
rows() |
void |
set(int index,
Scalar value) |
void |
setNull(int index) |
void |
setShort(int index,
short value) |
protected void |
writeVectorToOutputStream(ExtendedDataOutput out) |
columns, getDataForm, getString, 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 BasicShortVector(int size)
public BasicShortVector(short[] array)
protected BasicShortVector(Entity.DATA_FORM df, int size)
protected BasicShortVector(Entity.DATA_FORM df, ExtendedDataInput in) throws IOException
IOExceptionpublic short getShort(int index)
public Scalar get(int index)
public void setShort(int index,
short value)
public int hashBucket(int index,
int buckets)
hashBucket in interface VectorhashBucket in class AbstractVectorpublic boolean isNull(int index)
public void setNull(int index)
public Entity.DATA_CATEGORY getDataCategory()
public Entity.DATA_TYPE getDataType()
public int rows()
public Class<?> getElementClass()
protected void writeVectorToOutputStream(ExtendedDataOutput out) throws IOException
writeVectorToOutputStream in class AbstractVectorIOExceptionCopyright © 2020 DolphinDB. All rights reserved.