public interface Vector extends Entity
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPE| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESS_DELTA |
static int |
COMPRESS_LZ4 |
static int |
DISPLAY_ROWS |
| Modifier and Type | Method and Description |
|---|---|
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) |
Class<?> |
getElementClass() |
String |
getJsonString(int rowIndex) |
String |
getString(int index) |
Vector |
getSubVector(int[] indices) |
int |
getUnitLength() |
int |
hashBucket(int index,
int buckets) |
boolean |
isNull(int index) |
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 |
setNull(int index) |
columns, getDataCategory, getDataForm, getDataType, getString, isChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVector, rows, typeToCategory, write, writeCompressedstatic final int DISPLAY_ROWS
static final int COMPRESS_LZ4
static final int COMPRESS_DELTA
Vector getSubVector(int[] indices)
int asof(Scalar value)
boolean isNull(int index)
void setNull(int index)
int hashBucket(int index,
int buckets)
Entity get(int index)
String getString(int index)
Class<?> getElementClass()
void deserialize(int start,
int count,
ExtendedDataInput in)
throws IOException
IOExceptionvoid serialize(int start,
int count,
ExtendedDataOutput out)
throws IOException
IOExceptionint getUnitLength()
int serialize(int indexStart,
int offect,
int targetNumElement,
AbstractVector.NumElementAndPartial numElementAndPartial,
ByteBuffer out)
throws IOException
IOExceptionString getJsonString(int rowIndex)
Copyright © 2023 DolphinDB. All rights reserved.