Modifier and Type | Class and Description |
---|---|
class |
AggregateFunction<INCOL extends Column<?>,OUT>
A partial implementation of aggregate functions to summarize over a numeric column
|
Constructor and 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,
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,
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,
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
|
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
|
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
|
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 and Description |
---|---|
interface |
CategoricalColumn<T>
A column type that can be summarized, or serve as a grouping variable in cross tabs or other
aggregation operations.
|
interface |
NumericColumn<T extends Number> |
Modifier and Type | Class and 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 |
class |
FloatColumn |
class |
InstantColumn
A column in a table that contains long-integer encoded (packed) local date-time values
|
class |
IntColumn |
class |
LongColumn |
class |
NumberColumn<C extends NumberColumn<C,T>,T extends Number> |
class |
ShortColumn |
class |
StringColumn
A column that contains String values.
|
class |
TextColumn
A column that contains String values.
|
class |
TimeColumn
A column in a base table that contains float values
|
Modifier and Type | Method and Description |
---|---|
default <R extends Column<RT>,RT> |
NumericColumn.mapInto(DoubleFunction<? extends RT> fun,
R into)
Maps the function across all rows, appending the results to the provided Column
|
Modifier and Type | Method and Description |
---|---|
Column<Boolean> |
BooleanColumn.append(Column<Boolean> column,
int row) |
Column<?> |
Table.column(int columnIndex)
Returns the column at the given index in the column list
|
Column<?>[] |
Table.columnArray() |
Column<?> |
ColumnType.create(String name) |
Column<Boolean> |
BooleanColumn.set(int row,
Column<Boolean> column,
int sourceRow) |
Column<Boolean> |
BooleanColumn.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<Integer> |
IntColumn.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<Double> |
DoubleColumn.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<Short> |
ShortColumn.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<Long> |
LongColumn.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<Float> |
FloatColumn.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<Boolean> |
BooleanColumn.setMissing(int i) |
Column<Instant> |
InstantColumn.setMissing(int i) |
Column<LocalDate> |
DateColumn.setMissing(int i) |
Column<String> |
TextColumn.setMissing(int i) |
Column<LocalDateTime> |
DateTimeColumn.setMissing(int i) |
Column<Short> |
ShortColumn.setMissing(int i) |
Column<Long> |
LongColumn.setMissing(int i) |
Column<Float> |
FloatColumn.setMissing(int i) |
Column<String> |
StringColumn.setMissing(int i) |
Modifier and Type | Method and Description |
---|---|
List<Column<?>> |
Table.columns()
Returns the list of columns
|
Modifier and Type | Method and Description |
---|---|
Table |
Table.addColumns(Column<?>... cols)
Adds the given column to this table
|
BooleanColumn |
BooleanColumn.append(Column<Boolean> column) |
Column<Boolean> |
BooleanColumn.append(Column<Boolean> column,
int row) |
DoubleColumn |
DoubleColumn.append(Column<Double> column) |
DoubleColumn |
DoubleColumn.append(Column<Double> column,
int row) |
FloatColumn |
FloatColumn.append(Column<Float> column) |
FloatColumn |
FloatColumn.append(Column<Float> column,
int row) |
InstantColumn |
InstantColumn.append(Column<Instant> column) |
InstantColumn |
InstantColumn.append(Column<Instant> column,
int row) |
IntColumn |
IntColumn.append(Column<Integer> column) |
IntColumn |
IntColumn.append(Column<Integer> column,
int row) |
DateColumn |
DateColumn.append(Column<LocalDate> column) |
DateColumn |
DateColumn.append(Column<LocalDate> column,
int row) |
DateTimeColumn |
DateTimeColumn.append(Column<LocalDateTime> column) |
DateTimeColumn |
DateTimeColumn.append(Column<LocalDateTime> column,
int row) |
TimeColumn |
TimeColumn.append(Column<LocalTime> column) |
TimeColumn |
TimeColumn.append(Column<LocalTime> column,
int row) |
LongColumn |
LongColumn.append(Column<Long> column) |
LongColumn |
LongColumn.append(Column<Long> column,
int row) |
ShortColumn |
ShortColumn.append(Column<Short> column) |
ShortColumn |
ShortColumn.append(Column<Short> column,
int row) |
TextColumn |
TextColumn.append(Column<String> column) |
StringColumn |
StringColumn.append(Column<String> column) |
int |
Table.columnIndex(Column<?> column)
Returns the index of the given column (its position in the list of columns)
|
default boolean |
ColumnType.compare(int rowNumber,
Column<?> temp,
Column<?> original) |
default boolean |
ColumnType.compare(int rowNumber,
Column<?> temp,
Column<?> original) |
static Table |
Table.create(Column<?>... columns)
Returns a new table with the given columns
|
static Table |
Table.create(String name,
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(Column<?> newColumn)
Replaces an existing column having the same name of the given column with the given column
|
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) |
Column<Boolean> |
BooleanColumn.set(int row,
Column<Boolean> column,
int sourceRow) |
DoubleColumn |
DoubleColumn.set(int row,
Column<Double> column,
int sourceRow) |
FloatColumn |
FloatColumn.set(int row,
Column<Float> column,
int sourceRow) |
InstantColumn |
InstantColumn.set(int row,
Column<Instant> column,
int sourceRow) |
IntColumn |
IntColumn.set(int row,
Column<Integer> column,
int sourceRow) |
DateColumn |
DateColumn.set(int row,
Column<LocalDate> column,
int sourceRow) |
DateTimeColumn |
DateTimeColumn.set(int row,
Column<LocalDateTime> column,
int sourceRow) |
TimeColumn |
TimeColumn.set(int row,
Column<LocalTime> column,
int sourceRow) |
LongColumn |
LongColumn.set(int row,
Column<Long> column,
int sourceRow) |
ShortColumn |
ShortColumn.set(int row,
Column<Short> column,
int sourceRow) |
Summarizer |
Table.summarize(Column<?> numberColumn,
AggregateFunction<?,?>... function) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... function) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... function) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
AggregateFunction<?,?>... function) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
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) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... function) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... function) |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... function) |
Modifier and Type | Method and Description |
---|---|
static Table |
Table.create(Collection<Column<?>> columns)
Returns a new table with the given columns
|
static Table |
Table.create(Stream<Column<?>> columns)
Returns a new table with the given columns
|
static Table |
Table.create(String name,
Collection<Column<?>> columns)
Returns a new table with the given columns and given name
|
static Table |
Table.create(String name,
Stream<Column<?>> columns)
Returns a new table with the given columns and given name
|
Constructor and Description |
---|
Table(String name,
Column<?>... columns)
Returns a new Table initialized with the given names and columns
|
Constructor and Description |
---|
Table(String name,
Collection<Column<?>> columns)
Returns a new Table initialized with the given names and columns
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractColumn<C extends Column<T>,T>
Partial implementation of the
Column interface |
Modifier and Type | Class and Description |
---|---|
class |
AbstractColumn<C extends Column<T>,T>
Partial implementation of the
Column interface |
Modifier and Type | Method and Description |
---|---|
default <R,C extends Column<R>> |
Column.map(Function<? super T,? extends R> fun,
Function<String,C> creator)
Maps the function across all rows, appending the results to the created Column.
|
default <R,C extends Column<R>> |
Column.mapInto(Function<? super T,? extends R> fun,
C into)
Maps the function across all rows, storing the results into the provided Column.
|
Modifier and Type | Method and Description |
---|---|
Column<T> |
Column.append(Column<T> column) |
Column<T> |
Column.append(Column<T> column,
int row) |
Column<T> |
Column.append(T value) |
Column<T> |
Column.appendCell(String stringValue) |
Column<T> |
Column.appendCell(String stringValue,
AbstractColumnParser<?> parser) |
Column<T> |
Column.appendMissing()
Appends a missing value appropriate to the column
|
Column<T> |
Column.appendObj(Object value) |
Column<T> |
Column.copy()
Returns a deep copy of the receiver
|
Column<Void> |
SkipColumnType.create(String name) |
abstract Column<T> |
AbstractColumn.emptyCopy() |
Column<T> |
Column.emptyCopy()
Returns a copy of the receiver with no data.
|
Column<T> |
Column.emptyCopy(int rowSize)
Returns an empty copy of the receiver, with its internal storage initialized to the given row
size.
|
default Column<T> |
Column.filter(Predicate<? super T> test)
Returns a new Column of the same type with only those rows satisfying the predicate
|
default Column<T> |
Column.first(int numRows) |
default Column<T> |
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<T> |
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<T> |
Column.last(int numRows) |
default Column<T> |
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.
|
default Column<T> |
Column.map(Function<? super T,? extends T> fun)
Maps the function across all rows, appending the results to a new Column of the same type
|
default Column<T> |
Column.max(Column<T> other)
Returns a column containing the element-wise min between this column and other column
|
default Column<T> |
Column.min(Column<T> other)
Returns a column containing the element-wise min between this column and other column
|
Column<T> |
Column.removeMissing() |
default Column<T> |
Column.sampleN(int n)
Returns a column containing a random sample of the values in this column
|
default Column<T> |
Column.sampleX(double proportion)
Returns a table consisting of randomly selected values from this column.
|
Column<T> |
Column.set(int row,
Column<T> sourceColumn,
int sourceRow) |
default Column<T> |
Column.set(int row,
String stringValue,
AbstractColumnParser<?> parser) |
Column<T> |
Column.set(int row,
T value) |
default Column<T> |
Column.set(Predicate<T> condition,
Column<T> other)
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
default Column<T> |
Column.set(Selection condition,
Column<T> other)
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
default Column<T> |
Column.set(Selection rowSelection,
T newValue)
Conditionally update this column, replacing current values with newValue for all rows where the
current value matches the selection criteria
|
Column<T> |
Column.setMissing(int i) |
default Column<T> |
Column.setMissingTo(T newValue)
Sets the value of any missing data in the column to newValue and returns the same column
|
Column<T> |
Column.setName(String name)
Sets the columns name to the given string
|
default Column<T> |
Column.sorted(Comparator<? super T> comp)
Returns a new Column of the same type sorted according to the provided Comparator
|
default Column<T> |
Column.subset(int[] rows) |
Column<T> |
Column.unique()
Returns a column of the same type as the receiver, containing only the unique values of the
receiver.
|
Column<T> |
Column.where(Selection selection) |
Modifier and Type | Method and Description |
---|---|
Column<T> |
Column.append(Column<T> column) |
Column<T> |
Column.append(Column<T> column,
int row) |
C |
AbstractColumn.max(Column<T> other) |
default Column<T> |
Column.max(Column<T> other)
Returns a column containing the element-wise min between this column and other column
|
C |
AbstractColumn.min(Column<T> other) |
default Column<T> |
Column.min(Column<T> other)
Returns a column containing the element-wise min between this column and other column
|
Column<T> |
Column.set(int row,
Column<T> sourceColumn,
int sourceRow) |
default Column<T> |
Column.set(Predicate<T> condition,
Column<T> other)
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
C |
AbstractColumn.set(Selection condition,
Column<T> other) |
default Column<T> |
Column.set(Selection condition,
Column<T> other)
Updates this column where values matching the selection are replaced with the corresponding
value from the given column
|
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanMapUtils
An interface for mapping operations unique to Boolean columns
|
Modifier and Type | Interface and Description |
---|---|
interface |
DateFilters |
interface |
DateMapFunctions
An interface for mapping operations unique to Date columns
|
Modifier and Type | Method and Description |
---|---|
static String |
DateMapFunctions.dateColumnName(Column<LocalDate> column1,
int value,
TemporalUnit unit) |
Modifier and Type | Interface and Description |
---|---|
interface |
DateTimeFilters |
interface |
DateTimeMapFunctions |
Modifier and Type | Interface and Description |
---|---|
interface |
InstantMapFunctions |
Modifier and Type | Interface and Description |
---|---|
interface |
StringFilters |
interface |
StringMapFunctions
String utility functions.
|
interface |
StringReduceUtils |
Modifier and Type | Class and Description |
---|---|
class |
AbstractStringColumn<C extends AbstractColumn<C,String>>
Abstract super class for Text like columns.
|
Modifier and Type | Method and Description |
---|---|
Column<String> |
AbstractStringColumn.append(Column<String> column,
int row) |
Column<String> |
AbstractStringColumn.set(int row,
Column<String> column,
int sourceRow) |
Modifier and Type | Method and Description |
---|---|
Column<String> |
AbstractStringColumn.append(Column<String> column,
int row) |
default StringColumn |
StringMapFunctions.commonPrefix(Column<String> column2) |
default StringColumn |
StringMapFunctions.commonSuffix(Column<String> column2) |
default StringColumn |
StringMapFunctions.concatenate(Column<?>... stringColumns)
Return a copy of this column with the corresponding value of each column argument appended to
each element.
|
default DoubleColumn |
StringMapFunctions.distance(Column<String> column2)
Returns a column containing the levenshtein distance between the two given string columns
|
default Selection |
StringFilters.equalsIgnoreCase(Column<String> other) |
default Selection |
StringFilters.eval(BiPredicate<String,String> predicate,
Column<String> otherColumn) |
default Selection |
StringFilters.isEqualTo(Column<String> other) |
default Selection |
StringFilters.isNotEqualTo(Column<String> other) |
default StringColumn |
StringMapFunctions.join(String separator,
Column<?>... columns)
Return a copy of this column with the given string appended
|
Column<String> |
AbstractStringColumn.set(int row,
Column<String> column,
int sourceRow) |
default Selection |
StringFilters.startsWith(Column<String> other) |
Modifier and Type | Interface and Description |
---|---|
interface |
TemporalFillers<T extends Temporal,C extends Column<T>> |
Modifier and Type | Interface and Description |
---|---|
interface |
TemporalColumn<T extends Temporal> |
interface |
TemporalFilters<T extends Temporal> |
interface |
TemporalMapFunctions<T extends Temporal> |
Modifier and Type | Method and Description |
---|---|
Column<T> |
TemporalMapFunctions.plus(long amountToAdd,
ChronoUnit unit) |
default Column<T> |
TemporalMapFunctions.plusDays(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusHours(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusMicros(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusMillis(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusMinutes(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusMonths(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusSeconds(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusWeeks(long amountToAdd) |
default Column<T> |
TemporalMapFunctions.plusYears(long amountToAdd) |
Modifier and Type | Method and Description |
---|---|
default String |
TemporalMapFunctions.temporalColumnName(Column<T> column1,
long value,
TemporalUnit unit) |
Modifier and Type | Interface and Description |
---|---|
interface |
TimeFilters |
interface |
TimeMapFunctions |
Modifier and Type | Method and Description |
---|---|
Function<Table,Selection> |
DeferredStringColumn.equalsIgnoreCase(Column<String> other) |
T |
StringFilterSpec.equalsIgnoreCase(Column<String> other) |
Function<Table,Selection> |
DeferredTextColumn.equalsIgnoreCase(Column<String> other) |
Function<Table,Selection> |
DeferredStringColumn.isEqualTo(Column<String> other) |
T |
StringFilterSpec.isEqualTo(Column<String> other) |
Function<Table,Selection> |
DeferredTextColumn.isEqualTo(Column<String> other) |
Function<Table,Selection> |
DeferredStringColumn.isNotEqualTo(Column<String> other) |
T |
StringFilterSpec.isNotEqualTo(Column<String> other) |
Function<Table,Selection> |
DeferredTextColumn.isNotEqualTo(Column<String> other) |
Function<Table,Selection> |
DeferredStringColumn.startsWith(Column<String> other) |
T |
StringFilterSpec.startsWith(Column<String> other) |
Function<Table,Selection> |
DeferredTextColumn.startsWith(Column<String> other) |
Modifier and Type | Field and Description |
---|---|
protected Column<T> |
Interpolator.col |
Modifier and Type | Method and Description |
---|---|
Column<T> |
Interpolator.backfill()
Fills missing values with the next non-missing value
|
Column<T> |
Interpolator.frontfill()
Fills missing values with the last non-missing value
|
Constructor and Description |
---|
Interpolator(Column<T> column) |
Modifier and Type | Method and Description |
---|---|
protected static void |
SqlResultSetReader.appendToColumn(Column<?> column,
ResultSet resultSet,
Object value) |
Modifier and Type | Method and 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 | Field and Description |
---|---|
protected Column<?> |
RollingColumn.column |
Modifier and Type | Method and Description |
---|---|
<INCOL extends Column<?>,OUT> |
RollingColumn.calc(AggregateFunction<INCOL,OUT> function) |
Modifier and Type | Method and Description |
---|---|
<INCOL extends Column<?>,OUT> |
RollingColumn.calc(AggregateFunction<INCOL,OUT> function) |
abstract Column<?> |
Relation.column(int columnIndex)
Returns the column at columnIndex (0-based)
|
Column<?> |
TableSlice.column(int columnIndex) |
Column<?> |
Relation.column(String columnName)
Returns the column with the given columnName, ignoring case
|
Column<?> |
TableSlice.column(String columnName) |
Modifier and Type | Method and Description |
---|---|
abstract List<Column<?>> |
Relation.columns()
Returns a list of all the columns in the relation
|
List<Column<?>> |
TableSlice.columns() |
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<?>> |
Relation.columnsOfType(ColumnType type) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected int |
TableSliceGroup.getByteSize(List<Column<?>> columns) |
Constructor and Description |
---|
RollingColumn(Column<?> column,
int window) |
Copyright © 2020. All rights reserved.