public class HeapShortVector extends AbstractHeapVector implements WritableShortVector
| 限定符和类型 | 字段和说明 |
|---|---|
short[] |
vector |
BYTE_ARRAY_OFFSET, dictionaryIds, DOUBLE_ARRAY_OFFSET, FLOAT_ARRAY_OFFSET, INT_ARRAY_OFFSET, isNull, LITTLE_ENDIAN, LONG_ARRAY_OFFSET, UNSAFEdictionary, noNulls| 构造器和说明 |
|---|
HeapShortVector(int len)
Don't use this except for testing purposes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fill(short value)
Fill the column vector with the provided value.
|
short |
getShort(int i) |
void |
setShort(int i,
short value)
Set short at rowId with the provided value.
|
fillWithNulls, getDictionaryIds, getLen, isNullAt, reserveDictionaryIds, reset, setNullAt, setNullshasDictionary, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillWithNulls, getDictionaryIds, hasDictionary, reserveDictionaryIds, reset, setDictionary, setNullAt, setNullsisNullAtpublic HeapShortVector(int len)
len - the number of rowspublic short getShort(int i)
getShort 在接口中 ShortColumnVectorpublic void setShort(int i,
short value)
WritableShortVectorsetShort 在接口中 WritableShortVectorpublic void fill(short value)
WritableShortVectorfill 在接口中 WritableShortVectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.