public class BasicLongVector extends AbstractVector
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.PARTITION_TYPE| Modifier and Type | Field and Description |
|---|---|
protected long[] |
values |
buf, BUF_SIZEDISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
protected |
BasicLongVector(Entity.DATA_FORM df,
ExtendedDataInput in) |
protected |
BasicLongVector(Entity.DATA_FORM df,
int size) |
|
BasicLongVector(int size) |
|
BasicLongVector(List<Long> list) |
|
BasicLongVector(long[] 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() |
long |
getLong(int index) |
int |
hashBucket(int index,
int buckets) |
boolean |
isNull(int index) |
int |
rows() |
void |
set(int index,
Scalar value) |
void |
setLong(int index,
long value) |
void |
setNull(int index) |
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 BasicLongVector(int size)
public BasicLongVector(long[] array)
protected BasicLongVector(Entity.DATA_FORM df, int size)
protected BasicLongVector(Entity.DATA_FORM df, ExtendedDataInput in) throws IOException
IOExceptionpublic Scalar get(int index)
public long getLong(int index)
public void setLong(int index,
long 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.