Modifier and Type | Class | Description |
---|---|---|
class |
AggregateFunction<T,C extends Column> |
A partial implementation of aggregate functions to summarize over a numeric column
|
Modifier and Type | Method | Description |
---|---|---|
abstract Boolean |
BooleanAggregateFunction.summarize(Column column) |
Constructor | Description |
---|---|
Summarizer(Table sourceTable,
Column column,
AggregateFunction... functions) |
Returns an object capable of summarizing the given column in the given sourceTable,
by applying the given functions
|
Summarizer(Table sourceTable,
Column column1,
Column column2,
AggregateFunction... functions) |
Returns an object capable of summarizing the given columns in the given sourceTable,
by applying the given functions
|
Summarizer(Table sourceTable,
Column column1,
Column column2,
Column column3,
AggregateFunction... functions) |
Returns an object capable of summarizing the given column2 in the given sourceTable,
by applying the given functions
|
Summarizer(Table sourceTable,
Column column1,
Column column2,
Column column3,
Column column4,
AggregateFunction... functions) |
Returns an object capable of summarizing the given columns in the given sourceTable,
by applying the given functions
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
CategoricalColumn |
A column type that can be summarized, or serve as a grouping variable in cross tabs or other aggregation operations.
|
interface |
NumberColumn |
Modifier and Type | Class | Description |
---|---|---|
class |
BooleanColumn |
A column in a base table that contains float values
|
class |
DateColumn |
A column in a base table that contains float values
|
class |
DateTimeColumn |
A column in a table that contains long-integer encoded (packed) local date-time values
|
class |
DoubleColumn |
A column in a base table that contains double precision floating point values
|
class |
StringColumn |
A column that contains String values.
|
class |
TimeColumn |
A column in a base table that contains float values
|
Modifier and Type | Method | Description |
---|---|---|
Column |
Table.column(int columnIndex) |
Returns the column at the given index in the column list
|
Column[] |
Table.columnArray() |
|
Column |
ColumnType.create(String name) |
Modifier and Type | Method | Description |
---|---|---|
List<Column> |
Table.columns() |
Returns the list of columns
|
Modifier and Type | Method | Description |
---|---|---|
Table |
Table.addColumns(Column... cols) |
Adds the given column to this table
|
void |
BooleanColumn.append(Column column) |
|
void |
DateColumn.append(Column column) |
|
void |
DateTimeColumn.append(Column column) |
|
void |
DoubleColumn.append(Column column) |
|
void |
NumberColumn.append(Column column) |
|
void |
StringColumn.append(Column column) |
|
void |
TimeColumn.append(Column column) |
|
int |
Table.columnIndex(Column column) |
Returns the index of the given column (its position in the list of columns)
|
boolean |
ColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
ColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
ColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
|
static Table |
Table.create(String tableName,
Column... columns) |
Returns a new table with the given columns and given name
|
Table |
Table.insertColumn(int index,
Column column) |
Adds the given column to this table at the given position in the column list
|
Table |
Table.removeColumns(Column... columns) |
Removes the given columns
|
Table |
Table.replaceColumn(int colIndex,
Column newColumn) |
Replaces an existing column (by index) in this table with the given new column
|
Table |
Table.replaceColumn(String columnName,
Column newColumn) |
Replaces an existing column (by name) in this table with the given new column
|
Table |
Table.retainColumns(Column... columns) |
Removes all columns except for those given in the argument from this table
|
Table |
Table.select(Column... columns) |
|
Summarizer |
Table.summarize(Column numberColumn,
AggregateFunction... function) |
|
Summarizer |
Table.summarize(Column numberColumn1,
Column numberColumn2,
AggregateFunction... function) |
|
Summarizer |
Table.summarize(Column column1,
Column column2,
Column column3,
AggregateFunction... function) |
|
Summarizer |
Table.summarize(Column column1,
Column column2,
Column column3,
Column column4,
AggregateFunction... function) |
Constructor | Description |
---|---|
Table(String name,
Column... columns) |
Returns a new Table initialized with the given names and columns
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractColumn<T,C extends AbstractColumn<T,C>> |
Partial implementation of the
Column interface |
Modifier and Type | Method | Description |
---|---|---|
Column |
Column.appendCell(String stringValue) |
|
Column |
Column.appendCell(String stringValue,
StringParser parser) |
|
Column |
Column.appendMissing() |
Appends a missing value appropriate to the column
|
Column |
Column.copy() |
Returns a deep copy of the receiver
|
static Column |
Column.create(String columnName,
ColumnType type) |
|
Column |
SkipColumnType.create(String name) |
|
Column |
Column.emptyCopy() |
Returns a copy of the receiver with no data.
|
Column |
Column.emptyCopy(int rowSize) |
Returns an empty copy of the receiver, with its internal storage initialized to the given row size.
|
default Column |
Column.first(int numRows) |
|
default Column |
Column.inRange(int start,
int end) |
Returns a column containing the rows in this column beginning with start inclusive, and ending with end exclusive
|
Column |
Column.lag(int n) |
Returns a column of the same type and size as the receiver, containing the receivers values offset by n.
|
default Column |
Column.last(int numRows) |
|
default Column |
Column.lead(int n) |
Returns a column of the same type as the receiver, containing the receivers values offset -n
For example if you lead a column containing 2, 3, 4 by 1, you get a column containing 3, 4, NA.
|
Column |
Column.removeMissing() |
|
default Column |
Column.rows(int... indices) |
Returns a column containing the values in this column with the given indices
|
default Column |
Column.sampleN(int n) |
Returns a column containing a random sample of the values in this column
|
default Column |
Column.sampleX(double proportion) |
Returns a table consisting of randomly selected values from this column.
|
Column |
AbstractColumn.setName(String name) |
|
Column |
Column.setName(String name) |
Sets the columns name to the given string
|
default Column |
Column.subset(Selection rows) |
|
Column |
Column.unique() |
Returns a column of the same type as the receiver, containing only the unique values of the receiver.
|
Column |
Column.where(Selection selection) |
Modifier and Type | Method | Description |
---|---|---|
void |
Column.append(Column column) |
|
boolean |
SkipColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
SkipColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
SkipColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
BooleanColumnUtils |
|
interface |
BooleanMapUtils |
An interface for mapping operations unique to Boolean columns
|
Modifier and Type | Method | Description |
---|---|---|
Column |
BooleanColumnType.create(String name) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
BooleanColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
BooleanColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
BooleanColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
DateFilters |
|
interface |
DateMapFunctions |
An interface for mapping operations unique to Date columns
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
DateColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
DateColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
DateColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
|
static String |
DateMapFunctions.dateColumnName(Column column1,
int value,
TemporalUnit unit) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
DateTimeFilters |
|
interface |
DateTimeMapFunctions |
Modifier and Type | Method | Description |
---|---|---|
boolean |
DateTimeColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
DateTimeColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
DateTimeColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
NumberFilters |
|
interface |
NumberMapFunctions |
|
interface |
NumberPredicates |
Support for built-in predicates on double column
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
DoubleColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
DoubleColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
DoubleColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
StringFilters |
|
interface |
StringMapFunctions |
String utility functions.
|
interface |
StringReduceUtils |
Modifier and Type | Method | Description |
---|---|---|
default StringColumn |
StringMapFunctions.commonPrefix(Column column2) |
|
default StringColumn |
StringMapFunctions.commonSuffix(Column column2) |
|
boolean |
StringColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
StringColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
StringColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
|
default NumberColumn |
StringMapFunctions.distance(Column column2) |
Returns a column containing the levenshtein distance between the two given string columns
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
TimeFilters |
|
interface |
TimeMapFunctions |
Modifier and Type | Method | Description |
---|---|---|
boolean |
TimeColumnType.compare(int rowNumber,
Column temp,
Column original) |
|
void |
TimeColumnType.copy(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column oldColumn,
Column newColumn) |
|
void |
TimeColumnType.copyFromRows(it.unimi.dsi.fastutil.ints.IntArrayList rows,
Column newColumn,
Row row) |
Modifier and Type | Method | Description |
---|---|---|
static Column |
TypeUtils.newColumn(String name,
ColumnType type) |
Constructs and returns a column for the given
name and type |
Modifier and Type | Method | Description |
---|---|---|
static it.unimi.dsi.fastutil.ints.IntComparator |
SortUtils.rowComparator(Column column,
Sort.Order order) |
Returns a comparator for the column matching the specified name
|
Modifier and Type | Method | Description |
---|---|---|
Column |
RollingColumn.calc(AggregateFunction function) |
|
abstract Column |
Relation.column(int columnIndex) |
Returns the column at columnIndex (0-based)
|
Column |
Relation.column(String columnName) |
Returns the column with the given columnName, ignoring case
|
Column |
TableSlice.column(int columnIndex) |
|
Column |
TableSlice.column(String columnName) |
Modifier and Type | Method | Description |
---|---|---|
abstract List<Column> |
Relation.columns() |
Returns a list of all the columns in the relation
|
List<Column> |
Relation.columns(int... columnIndices) |
Returns the columns whose indices are given in the input array
|
List<Column> |
Relation.columns(String... columnName) |
Returns the columns whose names are given in the input array
|
List<Column> |
TableSlice.columns() |
|
List<Column> |
Relation.columnsOfType(ColumnType type) |
Modifier and Type | Method | Description |
---|---|---|
abstract Relation |
Relation.addColumns(Column... cols) |
|
TableSlice |
TableSlice.addColumns(Column... column) |
|
abstract int |
Relation.columnIndex(Column col) |
Returns the index of the given column
|
int |
TableSlice.columnIndex(Column column) |
|
boolean |
Relation.containsColumn(Column column) |
|
abstract Relation |
Relation.removeColumns(Column... columns) |
Removes the given columns from the receiver
|
TableSlice |
TableSlice.removeColumns(Column... columns) |
Constructor | Description |
---|---|
RollingColumn(Column column,
int window) |
Modifier and Type | Method | Description |
---|---|---|
static double[][] |
DoubleArrays.to2dArray(Column... columns) |
|
static double[][] |
DoubleArrays.to2dArray(Column x,
Column y) |
Modifier and Type | Method | Description |
---|---|---|
static double[][] |
DoubleArrays.to2dArray(List<Column> columnList) |
Copyright © 2018. All rights reserved.