public class ShortColumnImpl extends AbstractColumn implements ShortColumn
Modifier and Type | Field and Description |
---|---|
static ShortBiPredicate |
isEqualTo |
static ShortPredicate |
isEven |
static ShortBiPredicate |
isGreaterThan |
static ShortBiPredicate |
isGreaterThanOrEqualTo |
static ShortBiPredicate |
isLessThan |
static ShortBiPredicate |
isLessThanOrEqualTo |
static ShortPredicate |
isMissing |
static ShortPredicate |
isNegative |
static ShortPredicate |
isNonNegative |
static ShortBiPredicate |
isNotEqualTo |
static ShortPredicate |
isNotMissing |
static ShortPredicate |
isOdd |
static ShortPredicate |
isPositive |
static ShortPredicate |
isZero |
static short |
MISSING_VALUE |
Constructor and Description |
---|
ShortColumnImpl(ColumnMetadata metadata) |
ShortColumnImpl(java.lang.String name) |
ShortColumnImpl(java.lang.String name,
int initialSize) |
ShortColumnImpl(java.lang.String name,
short[] arr) |
Modifier and Type | Method and Description |
---|---|
ShortColumn |
abs(Selection selection) |
ShortColumn |
add(Column column2,
Selection selection) |
ShortColumn |
add(short value,
Selection selection) |
void |
append(Column column) |
void |
append(Column column2,
int row2) |
void |
append(short i) |
void |
appendMissing() |
void |
appendObject(java.lang.Object object) |
byte[] |
asBytes(int rowNumber) |
void |
assignWithValue(java.lang.Object object) |
void |
assignWithValue(short value) |
ShortArrayList |
bottom(int n,
Selection selection) |
int |
byteSize() |
int |
capacity() |
void |
clear() |
int |
compare(int row1,
Column column2,
int row2) |
boolean |
contains(short value) |
static short |
convert(java.lang.Object objectValue) |
static short |
convert(java.lang.String stringValue) |
ShortColumn |
copy() |
int |
countMissing(Selection selection) |
ShortColumn |
cube(Selection selection) |
ShortColumn |
cumProd(Selection selection) |
ShortColumn |
cumSum(Selection selection) |
ShortArrayList |
data() |
int |
dataSize() |
ShortColumn |
difference(Selection selection) |
ShortColumn |
divide(Column column2,
Selection selection) |
ShortColumn |
divide(double value,
Selection selection) |
ShortColumn |
divide(short value,
Selection selection) |
ShortColumn |
emptyCopy() |
ShortColumn |
emptyCopy(int rowSize) |
void |
fillWithValue(java.lang.Object object,
int size) |
void |
fillWithValue(short value,
int size) |
short |
firstElement(Selection selection) |
short |
get(int index) |
boolean |
getBoolean(int row) |
double |
getDouble(int row) |
float |
getFloat(int row) |
int |
getInt(int row) |
long |
getLong(int row) |
java.lang.Object |
getObject(int row) |
short |
getShort(int row) |
java.lang.String |
getString(int row) |
boolean |
isEmpty(Selection selection) |
Selection |
isEqualTo(ShortColumn f,
Selection selection) |
Selection |
isEqualTo(short i,
Selection selection) |
Selection |
isEven(Selection selection) |
Selection |
isGreaterThan(ShortColumn f,
Selection selection) |
Selection |
isGreaterThan(short i,
Selection selection) |
Selection |
isGreaterThanOrEqualTo(short i,
Selection selection) |
Selection |
isLessThan(ShortColumn f,
Selection selection) |
Selection |
isLessThan(short i,
Selection selection) |
Selection |
isLessThanOrEqualTo(short i,
Selection selection) |
boolean |
isMissing(int row) |
Selection |
isMissing(Selection selection) |
Selection |
isNegative(Selection selection) |
Selection |
isNonNegative(Selection selection) |
Selection |
isNotEqualTo(short i,
Selection selection) |
Selection |
isNotMissing(Selection selection) |
Selection |
isOdd(Selection selection) |
Selection |
isPositive(Selection selection) |
Selection |
isZero(Selection selection) |
ShortColumn |
multiply(Column column2,
Selection selection) |
ShortColumn |
multiply(double value,
Selection selection) |
ShortColumn |
multiply(short value,
Selection selection) |
ShortColumn |
neg(Selection selection) |
java.lang.String |
print() |
ShortColumn |
remainder(Column column2,
Selection selection) |
ShortColumn |
remainder(short value,
Selection selection) |
void |
removeLast() |
IntComparator |
rowComparator() |
ShortColumn |
select(Selection selection) |
Selection |
select(ShortBiPredicate predicate,
short valueToCompareAgainst,
Selection selection) |
Selection |
select(ShortPredicate predicate,
Selection selection) |
ShortColumn |
selectIf(ShortPredicate predicate) |
Column |
selectNoMissing(Selection selection) |
void |
set(int index,
short value) |
void |
set(short newValue,
Selection rowSelection) |
void |
setBoolean(int row,
boolean value) |
void |
setDouble(int row,
double value) |
void |
setFloat(int row,
float value) |
void |
setInt(int row,
int value) |
void |
setLong(int row,
long value) |
void |
setObject(int index,
java.lang.Object object) |
void |
setShort(int row,
short value) |
void |
setString(int row,
java.lang.String value) |
void |
sortAscending() |
void |
sortDescending() |
ShortColumn |
square(Selection selection) |
ShortColumn |
subtract(Column column2,
Selection selection) |
ShortColumn |
subtract(short value,
Selection selection) |
SnapshotTable |
summary() |
ShortArrayList |
top(int n,
Selection selection) |
java.lang.String |
toString() |
ShortColumn |
trimToSelection(Selection selection) |
void |
trimToSize() |
ColumnType |
type() |
Column |
wrap(Selection selection) |
columnMetadata, columnWidth, comment, defrag, getIndex, getSelection, getSnapshotTable, id, indexIterator, name, setComment, setIndex, setName, setSizeOnDisk, setSnapshotTable, sizeInMemoryData, sizeInMemoryFull, sizeOnDisk
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
abs, add, add, bottom, create, create, create, create, cube, cumProd, cumSum, difference, divide, divide, divide, firstElement, isEqualTo, isEqualTo, isEven, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThan, isLessThanOrEqualTo, isNegative, isNonNegative, isNotEqualTo, isOdd, isPositive, isZero, multiply, multiply, multiply, neg, remainder, remainder, select, select, square, subtract, subtract, top
asPercent, asPercent, asRatio, asRatio, cubeRoot, cubeRoot, executeDoubleOperation, log10, log10, log1p, log1p, logN, logN, pctChange, pctChange, power, power, sqrt, sqrt, sum, sum
asBooleanColumn, asBooleanColumn, asDoubleColumn, asDoubleColumn, asFloatColumn, asFloatColumn, asIntColumn, asIntColumn, asLongColumn, asLongColumn, asShortColumn, asShortColumn, asStringColumn, asStringColumn, columnMetadata, columnWidth, comment, countMissing, countUnique, countUnique, defrag, first, first, first, first, getIndex, getLongUnscaled, getPrecision, getScale, getSelection, getSnapshotTable, id, indexIterator, isEmpty, isMissing, isNotMissing, last, last, last, last, name, rowComparator, selectNoMissing, setComment, setIndex, setName, setSnapshotTable, size, size, sizeInMemoryData, sizeInMemoryFull, sizeOnDisk, subset, title, toDoubleArray, toDoubleArray, trimToSelection, unique, unique, withName
public static final short MISSING_VALUE
public static ShortPredicate isZero
public static ShortPredicate isNegative
public static ShortPredicate isPositive
public static ShortPredicate isNonNegative
public static ShortPredicate isEven
public static ShortPredicate isOdd
public static ShortBiPredicate isGreaterThan
public static ShortBiPredicate isGreaterThanOrEqualTo
public static ShortBiPredicate isLessThan
public static ShortBiPredicate isLessThanOrEqualTo
public static ShortBiPredicate isEqualTo
public static ShortBiPredicate isNotEqualTo
public static ShortPredicate isMissing
public static ShortPredicate isNotMissing
public ShortColumnImpl(java.lang.String name)
public ShortColumnImpl(java.lang.String name, int initialSize)
public ShortColumnImpl(java.lang.String name, short[] arr)
public ShortColumnImpl(ColumnMetadata metadata)
public ColumnType type()
public SnapshotTable summary()
public void append(short i)
append
in interface ShortColumn
public void set(int index, short value)
set
in interface ShortColumn
public void removeLast()
removeLast
in interface Column
public void set(short newValue, Selection rowSelection)
set
in interface ShortColumn
public void sortAscending()
sortAscending
in interface Column
public void sortDescending()
sortDescending
in interface Column
public ShortColumn copy()
copy
in interface Column
copy
in interface ShortColumn
public ShortColumn trimToSelection(Selection selection)
trimToSelection
in interface Column
public void trimToSize()
trimToSize
in interface Column
public void appendObject(java.lang.Object object)
appendObject
in interface Column
public void appendMissing()
appendMissing
in interface Column
public void setObject(int index, java.lang.Object object)
public void setString(int row, java.lang.String value)
public void setBoolean(int row, boolean value)
setBoolean
in interface Column
public void assignWithValue(java.lang.Object object)
assignWithValue
in interface Column
public void fillWithValue(java.lang.Object object, int size)
fillWithValue
in interface Column
public void assignWithValue(short value)
assignWithValue
in interface ShortColumn
public void fillWithValue(short value, int size)
fillWithValue
in interface ShortColumn
public short get(int index)
get
in interface ShortColumn
public boolean getBoolean(int row)
getBoolean
in interface Column
public boolean isMissing(int row)
isMissing
in interface Column
isMissing
in interface ShortColumn
public boolean isEmpty(Selection selection)
isEmpty
in interface Column
isEmpty
in interface ShortColumn
public short firstElement(Selection selection)
firstElement
in interface ShortColumn
public boolean contains(short value)
contains
in interface ShortColumn
public ShortArrayList data()
data
in interface ShortColumn
public ShortColumn select(Selection selection)
select
in interface Column
select
in interface ShortColumn
public Column selectNoMissing(Selection selection)
selectNoMissing
in interface Column
public ShortColumn emptyCopy()
emptyCopy
in interface Column
emptyCopy
in interface ShortColumn
public ShortColumn emptyCopy(int rowSize)
emptyCopy
in interface Column
emptyCopy
in interface ShortColumn
public ShortArrayList top(int n, Selection selection)
top
in interface ShortColumn
public ShortArrayList bottom(int n, Selection selection)
bottom
in interface ShortColumn
public ShortColumn selectIf(ShortPredicate predicate)
selectIf
in interface ShortColumn
public ShortColumn add(short value, Selection selection)
add
in interface ShortColumn
public ShortColumn add(Column column2, Selection selection)
add
in interface ShortColumn
public ShortColumn remainder(short value, Selection selection)
remainder
in interface ShortColumn
public ShortColumn remainder(Column column2, Selection selection)
remainder
in interface ShortColumn
public ShortColumn subtract(short value, Selection selection)
subtract
in interface ShortColumn
public ShortColumn subtract(Column column2, Selection selection)
subtract
in interface ShortColumn
public ShortColumn multiply(short value, Selection selection)
multiply
in interface ShortColumn
public ShortColumn multiply(double value, Selection selection)
multiply
in interface ShortColumn
public ShortColumn multiply(Column column2, Selection selection)
multiply
in interface ShortColumn
public ShortColumn divide(short value, Selection selection)
divide
in interface ShortColumn
public ShortColumn divide(double value, Selection selection)
divide
in interface ShortColumn
public ShortColumn divide(Column column2, Selection selection)
divide
in interface ShortColumn
public ShortColumn square(Selection selection)
square
in interface NumericColumn
square
in interface ShortColumn
public ShortColumn cube(Selection selection)
cube
in interface NumericColumn
cube
in interface ShortColumn
public ShortColumn abs(Selection selection)
abs
in interface NumericColumn
abs
in interface ShortColumn
public ShortColumn neg(Selection selection)
neg
in interface NumericColumn
neg
in interface ShortColumn
public ShortColumn cumSum(Selection selection)
cumSum
in interface NumericColumn
cumSum
in interface ShortColumn
public ShortColumn cumProd(Selection selection)
cumProd
in interface NumericColumn
cumProd
in interface ShortColumn
public ShortColumn difference(Selection selection)
difference
in interface Column
difference
in interface NumericColumn
difference
in interface ShortColumn
public int countMissing(Selection selection)
countMissing
in interface Column
public Selection isNotMissing(Selection selection)
isNotMissing
in interface Column
public Selection isLessThan(short i, Selection selection)
isLessThan
in interface ShortColumn
public Selection isGreaterThan(short i, Selection selection)
isGreaterThan
in interface ShortColumn
public Selection isEqualTo(ShortColumn f, Selection selection)
isEqualTo
in interface ShortColumn
public Selection isGreaterThan(ShortColumn f, Selection selection)
isGreaterThan
in interface ShortColumn
public Selection isLessThan(ShortColumn f, Selection selection)
isLessThan
in interface ShortColumn
public Selection isGreaterThanOrEqualTo(short i, Selection selection)
isGreaterThanOrEqualTo
in interface ShortColumn
public Selection isLessThanOrEqualTo(short i, Selection selection)
isLessThanOrEqualTo
in interface ShortColumn
public Selection isNotEqualTo(short i, Selection selection)
isNotEqualTo
in interface ShortColumn
public Selection isEqualTo(short i, Selection selection)
isEqualTo
in interface ShortColumn
public Selection isPositive(Selection selection)
isPositive
in interface ShortColumn
public Selection isNegative(Selection selection)
isNegative
in interface ShortColumn
public Selection isNonNegative(Selection selection)
isNonNegative
in interface ShortColumn
public Selection isZero(Selection selection)
isZero
in interface ShortColumn
public Selection isEven(Selection selection)
isEven
in interface ShortColumn
public Selection isOdd(Selection selection)
isOdd
in interface ShortColumn
public Selection select(ShortPredicate predicate, Selection selection)
select
in interface ShortColumn
public Selection select(ShortBiPredicate predicate, short valueToCompareAgainst, Selection selection)
select
in interface ShortColumn
public IntComparator rowComparator()
rowComparator
in interface Column
public int compare(int row1, Column column2, int row2)
public java.lang.String toString()
toString
in class java.lang.Object
public static short convert(java.lang.String stringValue)
public static short convert(java.lang.Object objectValue)
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.