public class BasicMonthVector extends BasicIntVector
AbstractVector.NumElementAndPartial, AbstractVector.OffectEntity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPEcapacity, size, valuescompressedMethod, GROWTH_FACTORCOMPRESS_DELTA, COMPRESS_LZ4, DISPLAY_ROWS| Modifier | Constructor and Description |
|---|---|
protected |
BasicMonthVector(Entity.DATA_FORM df,
ExtendedDataInput in) |
protected |
BasicMonthVector(Entity.DATA_FORM df,
int size) |
|
BasicMonthVector(int size) |
|
BasicMonthVector(int[] array) |
protected |
BasicMonthVector(int[] array,
boolean copy) |
|
BasicMonthVector(int size,
int capacity) |
|
BasicMonthVector(List<Integer> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object value) |
void |
Append(Scalar value) |
void |
Append(Vector value) |
Vector |
combine(Vector vector) |
Entity |
get(int index) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
Class<?> |
getElementClass() |
YearMonth |
getMonth(int index) |
Vector |
getSubVector(int[] indices) |
void |
set(int index,
Object value) |
void |
setMonth(int index,
YearMonth month) |
add, addRange, asof, checkCapacity, deserialize, getdataArray, getInt, getSubArray, getUnitLength, getValues, hashBucket, isNull, rows, serialize, serialize, set, setInt, setNull, writeVectorToBuffer, writeVectorToOutputStreamcheckCompressedMethod, columns, getDataForm, getExtraParamForType, getJsonString, getString, getString, getUnitLength, setCompressedMethod, setExtraParamForType, write, writeCompressedgetDataCategory, 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 BasicMonthVector(int size)
public BasicMonthVector(int size,
int capacity)
public BasicMonthVector(int[] array)
protected BasicMonthVector(int[] array,
boolean copy)
protected BasicMonthVector(Entity.DATA_FORM df, int size)
protected BasicMonthVector(Entity.DATA_FORM df, ExtendedDataInput in) throws IOException
IOExceptionpublic Entity.DATA_CATEGORY getDataCategory()
getDataCategory in interface EntitygetDataCategory in class BasicIntVectorpublic Entity.DATA_TYPE getDataType()
getDataType in interface EntitygetDataType in class BasicIntVectorpublic Entity get(int index)
get in interface Vectorget in class BasicIntVectorpublic Vector getSubVector(int[] indices)
getSubVector in interface VectorgetSubVector in class BasicIntVectorpublic YearMonth getMonth(int index)
public void set(int index,
Object value)
set in interface Vectorset in class BasicIntVectorpublic void setMonth(int index,
YearMonth month)
public Class<?> getElementClass()
getElementClass in interface VectorgetElementClass in class BasicIntVectorpublic Vector combine(Vector vector)
combine in interface Vectorcombine in class BasicIntVectorpublic void add(Object value)
add in interface Vectoradd in class BasicIntVectorpublic void Append(Scalar value) throws Exception
Append in interface VectorAppend in class BasicIntVectorExceptionCopyright © 2026 DolphinDB. All rights reserved.