public class IntColumnImpl extends AbstractColumn implements IntColumn
Modifier and Type | Field and Description |
---|---|
static int |
BYTE_SIZE |
static int |
DEFAULT_ARRAY_SIZE |
static IntBiPredicate |
isEqualTo |
static IntPredicate |
isEven |
static IntBiPredicate |
isGreaterThan |
static IntBiPredicate |
isGreaterThanOrEqualTo |
static IntBiPredicate |
isLessThan |
static IntBiPredicate |
isLessThanOrEqualTo |
static IntPredicate |
isMissing |
static IntPredicate |
isNegative |
static IntPredicate |
isNonNegative |
static IntBiPredicate |
isNotEqualTo |
static IntPredicate |
isNotMissing |
static IntPredicate |
isOdd |
static IntPredicate |
isPositive |
static IntPredicate |
isZero |
static int |
MISSING_VALUE |
Constructor and Description |
---|
IntColumnImpl(ColumnMetadata metadata) |
IntColumnImpl(java.lang.String name) |
IntColumnImpl(java.lang.String name,
int initialSize) |
IntColumnImpl(java.lang.String name,
int[] arr) |
IntColumnImpl(java.lang.String name,
IntArrayList data) |
Modifier and Type | Method and Description |
---|---|
IntColumn |
abs(Selection selection) |
IntColumn |
add(Column column2,
Selection selection) |
IntColumn |
add(int value,
Selection selection) |
void |
append(Column column) |
void |
append(Column column2,
int row2) |
void |
append(int i) |
void |
appendMissing() |
void |
appendObject(java.lang.Object object) |
byte[] |
asBytes(int rowNumber) |
void |
assignWithValue(int value) |
void |
assignWithValue(java.lang.Object object) |
IntArrayList |
bottom(int n,
Selection selection) |
int |
byteSize() |
int |
capacity() |
void |
clear() |
int |
compare(int row1,
Column column2,
int row2) |
boolean |
contains(int i) |
static int |
convert(java.lang.Object objectValue) |
IntColumn |
copy() |
long |
countIf(IntPredicate predicate,
Selection selection) |
int |
countMissing(Selection selection) |
int |
countUnique(Selection selection) |
IntColumn |
cube(Selection selection) |
IntColumn |
cumProd(Selection selection) |
IntColumn |
cumSum(Selection selection) |
IntArrayList |
data() |
int |
dataSize() |
IntColumn |
difference(Selection selection) |
IntColumn |
divide(Column column2,
Selection selection) |
IntColumn |
divide(double value,
Selection selection) |
IntColumn |
divide(int value,
Selection selection) |
IntColumn |
emptyCopy() |
IntColumn |
emptyCopy(int rowSize) |
void |
fillWithValue(int value,
int size) |
void |
fillWithValue(java.lang.Object object,
int size) |
int |
firstElement() |
int |
get(int index) |
boolean |
getBoolean(int row) |
double |
getDouble(int row) |
float |
getFloat(int row) |
int |
getInt(int row) |
long |
getLong(int row) |
static int |
getMissingValue() |
java.lang.Object |
getObject(int row) |
short |
getShort(int row) |
java.lang.String |
getString(int row) |
boolean |
isEmpty(Selection selection) |
Selection |
isEqualTo(IntColumn other,
Selection selection) |
Selection |
isEqualTo(int i,
Selection selection) |
Selection |
isEven(Selection selection) |
Selection |
isGreaterThan(IntColumn other,
Selection selection) |
Selection |
isGreaterThan(int i,
Selection selection) |
Selection |
isGreaterThanOrEqualTo(int i,
Selection selection) |
Selection |
isIn(Selection selection,
int[] values) |
Selection |
isLessThan(IntColumn other,
Selection selection) |
Selection |
isLessThan(int i,
Selection selection) |
Selection |
isLessThanOrEqualTo(int i,
Selection selection) |
boolean |
isMissing(int row) |
Selection |
isMissing(Selection selection) |
static boolean |
isMissingValue(int value) |
Selection |
isNegative(Selection selection) |
Selection |
isNonNegative(Selection selection) |
Selection |
isNotEqualTo(int i,
Selection selection) |
Selection |
isNotMissing(Selection selection) |
Selection |
isOdd(Selection selection) |
Selection |
isPositive(Selection selection) |
Selection |
isZero(Selection selection) |
IntColumn |
multiply(Column column2,
Selection selection) |
IntColumn |
multiply(double value,
Selection selection) |
IntColumn |
multiply(int value,
Selection selection) |
IntColumn |
neg(Selection selection) |
java.lang.String |
print() |
IntColumn |
remainder(Column column2,
Selection selection) |
IntColumn |
remainder(int value,
Selection selection) |
void |
removeLast() |
IntComparator |
rowComparator() |
Selection |
select(IntBiPredicate predicate,
int value,
Selection selection) |
Selection |
select(IntPredicate predicate,
Selection selection) |
IntColumn |
select(Selection selection) |
IntColumn |
selectIf(IntPredicate predicate,
Selection selection) |
IntColumn |
selectNoMissing(Selection selection) |
void |
set(int index,
int value) |
void |
set(int 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() |
IntColumn |
square(Selection selection) |
IntColumn |
subtract(Column column2,
Selection selection) |
IntColumn |
subtract(int value,
Selection selection) |
long |
sumIf(IntPredicate predicate,
Selection selection) |
SnapshotTable |
summary() |
IntArrayList |
top(int n,
Selection selection) |
java.lang.String |
toString() |
IntColumn |
trimToSelection(Selection selection) |
void |
trimToSize() |
ColumnType |
type() |
IntColumn |
unique(Selection selection) |
IntColumn |
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, countIf, create, create, create, create, create, cube, cumProd, cumSum, difference, divide, divide, divide, isEqualTo, isEqualTo, isEven, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isIn, isLessThan, isLessThan, isLessThanOrEqualTo, isNegative, isNonNegative, isNotEqualTo, isOdd, isPositive, isZero, multiply, multiply, multiply, neg, remainder, remainder, select, select, select, selectIf, selectNoMissing, square, subtract, subtract, sumIf, top, unique
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, defrag, first, first, first, first, getIndex, getLongUnscaled, getPrecision, getScale, getSelection, getSnapshotTable, id, indexIterator, isEmpty, isMissing, isNotMissing, last, last, last, last, name, rowComparator, setComment, setIndex, setName, setSnapshotTable, size, size, sizeInMemoryData, sizeInMemoryFull, sizeOnDisk, subset, title, toDoubleArray, toDoubleArray, trimToSelection, withName
public static final int MISSING_VALUE
public static final int DEFAULT_ARRAY_SIZE
public static final int BYTE_SIZE
public static IntPredicate isZero
public static IntPredicate isNegative
public static IntPredicate isPositive
public static IntPredicate isNonNegative
public static IntPredicate isEven
public static IntPredicate isOdd
public static IntBiPredicate isGreaterThan
public static IntBiPredicate isGreaterThanOrEqualTo
public static IntBiPredicate isLessThan
public static IntBiPredicate isLessThanOrEqualTo
public static IntBiPredicate isEqualTo
public static IntBiPredicate isNotEqualTo
public static IntPredicate isMissing
public static IntPredicate isNotMissing
public IntColumnImpl(java.lang.String name)
public IntColumnImpl(java.lang.String name, int initialSize)
public IntColumnImpl(java.lang.String name, IntArrayList data)
public IntColumnImpl(java.lang.String name, int[] arr)
public IntColumnImpl(ColumnMetadata metadata)
public ColumnType type()
public SnapshotTable summary()
public void removeLast()
removeLast
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 append(Column 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(int value)
assignWithValue
in interface IntColumn
public void fillWithValue(int value, int size)
fillWithValue
in interface IntColumn
public void trimToSize()
trimToSize
in interface Column
public void sortAscending()
sortAscending
in interface Column
public void sortDescending()
sortDescending
in interface Column
public boolean getBoolean(int row)
getBoolean
in interface Column
public int firstElement()
firstElement
in interface IntColumn
public IntArrayList data()
public static boolean isMissingValue(int value)
public static int getMissingValue()
public IntColumn selectNoMissing(Selection selection)
selectNoMissing
in interface Column
selectNoMissing
in interface IntColumn
public IntColumn selectIf(IntPredicate predicate, Selection selection)
public IntColumn emptyCopy()
public IntColumn emptyCopy(int rowSize)
public IntColumn copy()
public IntColumn trimToSelection(Selection selection)
trimToSelection
in interface Column
public IntArrayList top(int n, Selection selection)
public IntArrayList bottom(int n, Selection selection)
public IntColumn square(Selection selection)
square
in interface IntColumn
square
in interface NumericColumn
public IntColumn cube(Selection selection)
cube
in interface IntColumn
cube
in interface NumericColumn
public IntColumn abs(Selection selection)
abs
in interface IntColumn
abs
in interface NumericColumn
public IntColumn neg(Selection selection)
neg
in interface IntColumn
neg
in interface NumericColumn
public IntColumn cumSum(Selection selection)
cumSum
in interface IntColumn
cumSum
in interface NumericColumn
public IntColumn cumProd(Selection selection)
cumProd
in interface IntColumn
cumProd
in interface NumericColumn
public IntColumn difference(Selection selection)
difference
in interface Column
difference
in interface IntColumn
difference
in interface NumericColumn
public int countMissing(Selection selection)
countMissing
in interface Column
public int countUnique(Selection selection)
countUnique
in interface Column
public long sumIf(IntPredicate predicate, Selection selection)
public long countIf(IntPredicate predicate, Selection selection)
public Selection isLessThan(int i, Selection selection)
isLessThan
in interface IntColumn
public Selection isGreaterThan(int i, Selection selection)
isGreaterThan
in interface IntColumn
public Selection isGreaterThanOrEqualTo(int i, Selection selection)
isGreaterThanOrEqualTo
in interface IntColumn
public Selection isLessThanOrEqualTo(int i, Selection selection)
isLessThanOrEqualTo
in interface IntColumn
public Selection isNotEqualTo(int i, Selection selection)
isNotEqualTo
in interface IntColumn
public Selection isNotMissing(Selection selection)
isNotMissing
in interface Column
public Selection isGreaterThan(IntColumn other, Selection selection)
isGreaterThan
in interface IntColumn
public Selection isLessThan(IntColumn other, Selection selection)
isLessThan
in interface IntColumn
public Selection isPositive(Selection selection)
isPositive
in interface IntColumn
public Selection isNegative(Selection selection)
isNegative
in interface IntColumn
public Selection isNonNegative(Selection selection)
isNonNegative
in interface IntColumn
public Selection select(IntPredicate predicate, Selection selection)
public Selection select(IntBiPredicate predicate, int value, Selection selection)
public IntComparator rowComparator()
rowComparator
in interface Column
public int compare(int row1, Column column2, int row2)
public static int convert(java.lang.Object objectValue)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.