Interface TableOperationsDefaults<TOPS extends TableOperations<TOPS,TABLE>,TABLE>
- All Superinterfaces:
TableOperations<TOPS,
TABLE>
- All Known Subinterfaces:
InputTable
,Join
,PartitionedTable.Proxy
,SelectableTable
,SingleParentTable
,TableAdapter
,TableDefaults
,TableSpec
- All Known Implementing Classes:
AggregateAllTable
,AggregateTable
,AppendOnlyArrayBackedInputTable
,AsOfJoinTable
,BarrageBlinkTable
,BarrageRedirectedTable
,BarrageTable
,BaseTable
,BlinkInputTable
,ByTableBase
,DeferredViewTable
,DropColumnsTable
,EmptyTable
,ExactJoinTable
,HeadTable
,InitialSnapshotTable
,InMemoryAppendOnlyInputTable
,InMemoryKeyBackedInputTable
,InMemoryTable
,InputTableBase
,JoinBase
,JoinTable
,KeyedArrayBackedInputTable
,LazyUpdateTable
,MergeTable
,MultiJoinTable
,NaturalJoinTable
,NewTable
,PartitionAwareSourceTable
,QueryReplayGroupedTable
,QueryTable
,QueryTable.FilteredTable
,RangeJoinTable
,RedefinableTable
,ReplayGroupedFullTable
,ReplayLastByGroupedTable
,ReplayTable
,ReplayTableBase
,ReverseTable
,SelectDistinctTable
,SelectTable
,SimpleSourceTable
,SnapshotTable
,SnapshotWhenTable
,SortTable
,SourceTable
,StackTraceMixIn
,TableBase
,TableHandle
,TableOperationsAdapter
,TableSpecAdapter
,TailTable
,TicketTable
,TimeTable
,TimeTable
,UncoalescedTable
,UngroupTable
,UpdatableTable
,UpdateByTable
,UpdateSourceQueryTable
,UpdateTable
,UpdateViewTable
,ViewTable
,WhereInTable
,WhereTable
TableOperationsDefaults
.-
Field Summary
Fields inherited from interface io.deephaven.api.TableOperations
AGG_BY_PRESERVE_EMPTY_DEFAULT
-
Method Summary
Modifier and TypeMethodDescriptiondefault TOPS
absSumBy()
Produces a single row table with the absolute sum of each column.default TOPS
absSumBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the sum of the absolute values for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the sum of the absolute values for the rest of the fieldsdefault TOPS
absSumBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the sum of the absolute values for the rest of the fieldsdefault TOPS
default TOPS
default TOPS
aggAllBy
(AggSpec spec, Collection<String> groupByColumns) default TOPS
aggBy
(Aggregation aggregation) Produce an aggregated result by grouping all rows fromthis
into a single group of rows and applyingaggregation
to the result.default TOPS
aggBy
(Aggregation aggregation, String... groupByColumns) Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregation
to each resulting group of rows.default TOPS
aggBy
(Aggregation aggregation, Collection<? extends ColumnName> groupByColumns) Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregation
to each resulting group of rows.default TOPS
aggBy
(Collection<? extends Aggregation> aggregations) Produce an aggregated result by grouping all rows fromthis
into a single group of rows and applyingaggregations
to the result.default TOPS
aggBy
(Collection<? extends Aggregation> aggregations, boolean preserveEmpty) Produce an aggregated result by grouping all rows fromthis
into a single group of rows and applyingaggregations
to the result.default TOPS
aggBy
(Collection<? extends Aggregation> aggregations, String... groupByColumns) Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregations
to each resulting group of rows.default TOPS
aggBy
(Collection<? extends Aggregation> aggregations, Collection<? extends ColumnName> groupByColumns) Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregations
to each resulting group of rows.default TOPS
Perform an as-of join with therightTable
.default TOPS
Perform an as-of join with therightTable
.default TOPS
avgBy()
Produces a single row table with the average of each column.default TOPS
avgBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the average for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the average for the rest of the fieldsdefault TOPS
avgBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the average for the rest of the fieldsdefault TOPS
default TOPS
countBy
(String countColumnName, ColumnName... groupByColumns) default TOPS
default TOPS
countBy
(String countColumnName, Collection<String> groupByColumns) default TOPS
dropColumns
(ColumnName... columnNames) Creates a new table without thecolumnNames
fromthis
.default TOPS
dropColumns
(Collection<String> columnNames) Creates a new table without thecolumnNames
fromthis
.default TOPS
Perform an exact-join with therightTable
.default TOPS
Perform an exact-join with therightTable
.default TOPS
firstBy()
Returns the first row of the given table.default TOPS
firstBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and retrieves the first for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and retrieves the first for the rest of the fieldsdefault TOPS
firstBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and retrieves the first for the rest of the fieldsdefault TOPS
groupBy()
default TOPS
default TOPS
groupBy
(Collection<? extends ColumnName> groupByColumns) default TOPS
Perform a cross join with therightTable
.default TOPS
Perform a cross join with therightTable
.default TOPS
Perform a cross join with therightTable
.default TOPS
lastBy()
Returns the last row of the given table.default TOPS
lastBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and retrieves the last for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and retrieves the last for the rest of the fieldsdefault TOPS
lastBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and retrieves the last for the rest of the fieldsdefault TOPS
lazyUpdate
(String... colummns) Compute column formulas on demand.default TOPS
maxBy()
Produces a single row table with the maximum of each column.default TOPS
maxBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the max for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the max for the rest of the fieldsdefault TOPS
maxBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the max for the rest of the fieldsdefault TOPS
medianBy()
Produces a single row table with the median of each column.default TOPS
medianBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the median for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the median for the rest of the fieldsdefault TOPS
medianBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the median for the rest of the fieldsdefault TOPS
minBy()
Produces a single row table with the minimum of each column.default TOPS
minBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the min for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the min for the rest of the fieldsdefault TOPS
minBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the min for the rest of the fieldsdefault TOPS
naturalJoin
(TABLE rightTable, String columnsToMatch) Perform an natural-join with therightTable
.default TOPS
naturalJoin
(TABLE rightTable, String columnsToMatch, String columnsToAdd) Perform a natural-join with therightTable
.default TOPS
Perform an reverse-as-of join with therightTable
.default TOPS
Perform a reverse-as-of join with therightTable
.default TOPS
rangeJoin
(TABLE rightTable, Collection<String> columnsToMatch, Collection<? extends Aggregation> aggregations) Perform a range join withrightTable
.default TOPS
select()
default TOPS
default TOPS
selectDistinct
(String... columns) default TOPS
default TOPS
sortDescending
(String... columnsToSortBy) static Collection<String>
splitToCollection
(String string) splitToList
(String string) default TOPS
stdBy()
Produces a single row table with the sample standard deviation of each column.default TOPS
stdBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the sample standard deviation for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the sample standard deviation for the rest of the fieldsdefault TOPS
stdBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the sample standard deviation for the rest of the fieldsdefault TOPS
sumBy()
Produces a single row table with the sum of each column.default TOPS
sumBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the sum for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the sum for the rest of the fieldsdefault TOPS
sumBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the sum for the rest of the fieldsdefault TOPS
ungroup()
Ungroups a table by expanding all columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped.default TOPS
ungroup
(boolean nullFill) Ungroups a table by expanding all columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped.default TOPS
Ungroups a table by expanding columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped.default TOPS
Ungroups a table by expanding columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped.default TOPS
default TOPS
updateBy
(UpdateByControl control, UpdateByOperation operation) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(UpdateByControl control, UpdateByOperation operation, String... byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(UpdateByControl control, Collection<? extends UpdateByOperation> operations) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(UpdateByOperation operation) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(UpdateByOperation operation, String... byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(Collection<? extends UpdateByOperation> operations) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(Collection<? extends UpdateByOperation> operations, String... byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateBy
(Collection<? extends UpdateByOperation> operations, Collection<? extends ColumnName> byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPS
updateView
(String... columns) default TOPS
varBy()
Produces a single row table with the sample variance of each column.default TOPS
varBy
(ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the sample variance for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the sample variance for the rest of the fieldsdefault TOPS
varBy
(Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the variance for the rest of the fieldsdefault TOPS
default TOPS
Produces a single row table with the weighted average using weightColumn for the rest of the fieldsdefault TOPS
wavgBy
(String weightColumn, ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the weighted average using weightColumn for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the weighted average using weightColumn for the rest of the fieldsdefault TOPS
wavgBy
(String weightColumn, Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the weighted average using weightColumn for the rest of the fieldsdefault TOPS
default TOPS
Filtersthis
table based on the set of values in therightTable
.default TOPS
whereNotIn
(TABLE rightTable, String... columnsToMatch) Filtersthis
table based on the set of values not in therightTable
.default TOPS
Computes the weighted sum for all rows in the table using weightColumn for the rest of the fieldsdefault TOPS
wsumBy
(String weightColumn, ColumnName... groupByColumns) Groups the data column according togroupByColumns
and computes the weighted sum using weightColumn for the rest of the fieldsdefault TOPS
Groups the data column according togroupByColumns
and computes the weighted sum using weightColumn for the rest of the fieldsdefault TOPS
wsumBy
(String weightColumn, Collection<String> groupByColumns) Groups the data column according togroupByColumns
and computes the weighted sum using weightColumn for the rest of the fieldsMethods inherited from interface io.deephaven.api.TableOperations
aggAllBy, aggBy, asOfJoin, dropColumns, exactJoin, head, join, join, lazyUpdate, naturalJoin, rangeJoin, reverse, select, selectDistinct, selectDistinct, snapshot, snapshotWhen, snapshotWhen, snapshotWhen, sort, tail, ungroup, update, updateBy, updateView, view, where, whereIn, whereNotIn
-
Field Details
-
ZERO_LENGTH_FILTER_ARRAY
-
ZERO_LENGTH_COLUMNNAME_ARRAY
-
-
Method Details
-
sort
- Specified by:
sort
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
sortDescending
- Specified by:
sortDescending
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
where
- Specified by:
where
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
whereIn
Description copied from interface:TableOperations
Filtersthis
table based on the set of values in therightTable
.Delegates to
TableOperations.whereIn(Object, Collection)
.- Specified by:
whereIn
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- the filtering table.columnsToMatch
- the columns to match between the two tables- Returns:
- a new table filtered on right table
-
whereNotIn
Description copied from interface:TableOperations
Filtersthis
table based on the set of values not in therightTable
.Delegates to
TableOperations.whereNotIn(Object, Collection)
.- Specified by:
whereNotIn
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- the filtering table.columnsToMatch
- the columns to match between the two tables- Returns:
- a new table filtered on right table
-
view
- Specified by:
view
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
updateView
- Specified by:
updateView
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
update
- Specified by:
update
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
lazyUpdate
Description copied from interface:TableOperations
Compute column formulas on demand.Delegates to
TableOperations.lazyUpdate(Collection)
.- Specified by:
lazyUpdate
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
colummns
- the columns to add- Returns:
- a new Table with the columns added; to be computed on demand
-
select
- Specified by:
select
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
select
- Specified by:
select
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
naturalJoin
Description copied from interface:TableOperations
Perform an natural-join with therightTable
.Delegates to
TableOperations.naturalJoin(Object, Collection, Collection)
.- Specified by:
naturalJoin
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn=rightColumn" or "columnFoundInBoth")- Returns:
- the natural-joined table
-
naturalJoin
Description copied from interface:TableOperations
Perform a natural-join with therightTable
.Delegates to
TableOperations.naturalJoin(Object, Collection, Collection)
.- Specified by:
naturalJoin
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn=rightColumn" or "columnFoundInBoth")columnsToAdd
- A comma separated list with the columns from the right side that need to be added to the left side as a result of the match.- Returns:
- the natural-joined table
-
exactJoin
Description copied from interface:TableOperations
Perform an exact-join with therightTable
.Delegates to
TableOperations.exactJoin(Object, Collection, Collection)
.- Specified by:
exactJoin
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn=rightColumn" or "columnFoundInBoth")- Returns:
- the exact-joined table
-
exactJoin
Description copied from interface:TableOperations
Perform an exact-join with therightTable
.Delegates to
TableOperations.exactJoin(Object, Collection, Collection)
.- Specified by:
exactJoin
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn=rightColumn" or "columnFoundInBoth")columnsToAdd
- A comma separated list with the columns from the right side that need to be added to the left side as a result of the match.- Returns:
- the exact-joined table
-
join
Description copied from interface:TableOperations
Perform a cross join with therightTable
.Equivalent to
join(rightTable, emptyList(), emptyList())
.- Specified by:
join
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.- Returns:
- a new table joined according to the specification with zero key-columns and includes all right columns
- See Also:
-
join
Description copied from interface:TableOperations
Perform a cross join with therightTable
.Delegates to
TableOperations.join(Object, Collection, Collection, int)
.- Specified by:
join
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn=rightColumn" or "columnFoundInBoth")- Returns:
- a new table joined according to the specification in columnsToMatch and includes all non-key-columns from the right table
- See Also:
-
join
Description copied from interface:TableOperations
Perform a cross join with therightTable
.Delegates to
TableOperations.join(Object, Collection, Collection, int)
.- Specified by:
join
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn=rightColumn" or "columnFoundInBoth")columnsToAdd
- A comma separated list with the columns from the right side that need to be added to the left side as a result of the match.- Returns:
- a new table joined according to the specification in columnsToMatch and columnsToAdd
- See Also:
-
aj
Description copied from interface:TableOperations
Perform an as-of join with therightTable
.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection)
.- Specified by:
aj
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn>=rightColumn"
,"leftColumn>rightColumn"
,"columnFoundInBoth"
).- Returns:
- a new table joined according to the specification in columnsToMatch
-
aj
Description copied from interface:TableOperations
Perform an as-of join with therightTable
.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection)
.- Specified by:
aj
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn>=rightColumn"
,"leftColumn>rightColumn"
,"columnFoundInBoth"
).columnsToAdd
- A comma separated list with the columns from the left side that need to be added to the right side as a result of the match.- Returns:
- a new table joined according to the specification in columnsToMatch and columnsToAdd
-
raj
Description copied from interface:TableOperations
Perform an reverse-as-of join with therightTable
.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection)
.- Specified by:
raj
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn<=rightColumn"
,"leftColumn<rightColumn"
,"columnFoundInBoth"
).- Returns:
- a new table joined according to the specification in columnsToMatch
-
raj
Description copied from interface:TableOperations
Perform a reverse-as-of join with therightTable
.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection)
- Specified by:
raj
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The right side table on the join.columnsToMatch
- A comma separated list of match conditions ("leftColumn<=rightColumn"
,"leftColumn<rightColumn"
,"columnFoundInBoth"
).columnsToAdd
- A comma separated list with the columns from the left side that need to be added to the right side as a result of the match.- Returns:
- a new table joined according to the specification in columnsToMatch and columnsToAdd
-
rangeJoin
default TOPS rangeJoin(TABLE rightTable, Collection<String> columnsToMatch, Collection<? extends Aggregation> aggregations) Description copied from interface:TableOperations
Perform a range join withrightTable
. For each row inthis
Table, this operation joinsaggregations
over a range of responsive rows fromrightTable
according to zero-or-more exact join matches and one range join match. The operation is performed identically toTableOperations.rangeJoin(Object, Collection, RangeJoinMatch, Collection)
, after parsing is applied to the elements ofcolumnsToMatch
to produce theexact join matches
andrange join match
.columnsToMatch
ParsingThe
columnsToMatch
argument is parsed as zero-or-more exact match expressions followed by a single range match expression.The exact match expressions are parsed as in other join operations. That is, the pattern expects an equals-separated pairing of a left column name with a right column name.
For example:
"LeftColumn = RightColumn"
or"LeftColumn == RightColumn"
The range match expression is expressed as a ternary logical expression, expressing the relationship between the left start column, the right range column, and the left end column. Each column name pair is separated by a logical operator, either
<
or<=
. The entire expression may be preceded by a left arrow<-
and/or followed by a right arrow->
, which when paired with the<=
operator signifyless than or equal (allow preceding)
orgreater than or equal (allow following)
, respectively.Examples:
- For
less than
paired withgreater than
:"leftStartColumn < rightRangeColumn < leftEndColumn"
- For
less than or equal
paired withgreater than or equal
:"leftStartColumn <= rightRangeColumn <= leftEndColumn"
- For
less than or equal (allow preceding)
paired withgreater than or equal (allow following)
:"<- leftStartColumn <= rightRangeColumn <= leftEndColumn ->"
- Specified by:
rangeJoin
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
rightTable
- The Table to join withcolumnsToMatch
-String
expressions that will be parsed intojoin matches
, aRangeStartRule
and aRangeEndRule
aggregations
- Theaggregations
to perform over the responsive ranges fromrightTable
for each row fromthis
Table- Returns:
- The result Table
- For
-
groupBy
- Specified by:
groupBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
groupBy
- Specified by:
groupBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
groupBy
- Specified by:
groupBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
ungroup
Description copied from interface:TableOperations
Ungroups a table by expanding all columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped. Columns that are not ungrouped have their values duplicated in each output row corresponding to a given input row. All arrays and vectors must be the same size.- Specified by:
ungroup
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Returns:
- the ungrouped table
-
ungroup
Description copied from interface:TableOperations
Ungroups a table by expanding all columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped. Columns that are not ungrouped have their values duplicated in each output row corresponding to a given input row.- Specified by:
ungroup
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
nullFill
- indicates if the ungrouped table should allow disparate sized arrays filling shorter columns with null values. If set to false, then all arrays should be the same length.- Returns:
- the ungrouped table
-
ungroup
Description copied from interface:TableOperations
Ungroups a table by expanding columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped. Columns that are not ungrouped have their values duplicated in each output row corresponding to a given input row. The arrays and vectors must be the same size.- Specified by:
ungroup
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
columnsToUngroup
- the columns to ungroup- Returns:
- the ungrouped table
-
ungroup
Description copied from interface:TableOperations
Ungroups a table by expanding columns of arrays or vectors into columns of singular values, creating one row in the output table for each value in the columns to be ungrouped. Columns that are not ungrouped have their values duplicated in each output row corresponding to a given input row.- Specified by:
ungroup
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
nullFill
- indicates if the ungrouped table should allow disparate sized arrays filling shorter columns with null values. If set to false, then all arrays should be the same length.columnsToUngroup
- the columns to ungroup- Returns:
- the ungrouped table
-
aggAllBy
- Specified by:
aggAllBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
aggAllBy
- Specified by:
aggAllBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
aggAllBy
- Specified by:
aggAllBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
aggBy
Description copied from interface:TableOperations
Produce an aggregated result by grouping all rows fromthis
into a single group of rows and applyingaggregation
to the result. The result table will have one row ifthis
has one or more rows, or else zero rows.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregation
- Theaggregation
to apply- Returns:
- A new table aggregating the rows of
this
-
aggBy
Description copied from interface:TableOperations
Produce an aggregated result by grouping all rows fromthis
into a single group of rows and applyingaggregations
to the result. The result table will have one row ifthis
has one or more rows, or else zero rows.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregations
- Theaggregations
to apply- Returns:
- A new table aggregating the rows of
this
-
aggBy
@ConcurrentMethod default TOPS aggBy(Collection<? extends Aggregation> aggregations, boolean preserveEmpty) Description copied from interface:TableOperations
Produce an aggregated result by grouping all rows fromthis
into a single group of rows and applyingaggregations
to the result.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregations
- Theaggregations
to applypreserveEmpty
- IfpreserveEmpty == true
, the result table will always have one row. Otherwise, the result table will have one row ifthis
has one or more rows, or else zero rows.- Returns:
- A new table aggregating the rows of
this
-
aggBy
Description copied from interface:TableOperations
Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregation
to each resulting group of rows. The result table will have one row per group, ordered by the encounter order withinthis
, thereby ensuring that the row key for a given group never changes. Groups that become empty will be removed from the result.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregation
- Theaggregation
to applygroupByColumns
- The columns to group by- Returns:
- A new table aggregating the rows of
this
-
aggBy
@ConcurrentMethod default TOPS aggBy(Aggregation aggregation, Collection<? extends ColumnName> groupByColumns) Description copied from interface:TableOperations
Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregation
to each resulting group of rows. The result table will have one row per group, ordered by the encounter order withinthis
, thereby ensuring that the row key for a given group never changes. Groups that become empty will be removed from the result.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregation
- Theaggregation
to applygroupByColumns
- Thecolumns
to group by- Returns:
- A new table aggregating the rows of
this
-
aggBy
@ConcurrentMethod default TOPS aggBy(Collection<? extends Aggregation> aggregations, String... groupByColumns) Description copied from interface:TableOperations
Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregations
to each resulting group of rows. The result table will have one row per group, ordered by the encounter order withinthis
, thereby ensuring that the row key for a given group never changes. Groups that become empty will be removed from the result.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregations
- Theaggregations
to applygroupByColumns
- The columns to group by- Returns:
- A new table aggregating the rows of
this
-
aggBy
@ConcurrentMethod default TOPS aggBy(Collection<? extends Aggregation> aggregations, Collection<? extends ColumnName> groupByColumns) Description copied from interface:TableOperations
Produce an aggregated result by groupingthis
according to thegroupByColumns
and applyingaggregations
to each resulting group of rows. The result table will have one row per group, ordered by the encounter order withinthis
, thereby ensuring that the row key for a given group never changes. Groups that become empty will be removed from the result.- Specified by:
aggBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
aggregations
- Theaggregations
to applygroupByColumns
- Thecolumns
to group by- Returns:
- A new table aggregating the rows of
this
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results over the entire table.- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
operation
- the operation to apply to the table.- Returns:
- a table with the same rowset, with the specified operation applied to the entire table
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results over the entire table.- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
control
- thecontrol
to use when updating the table.operation
- the operation to apply to the table.- Returns:
- a table with the same rowset, with the specified operation applied to the entire table
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results over the entire table.- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
operations
- the operations to apply to the table.- Returns:
- a table with the same rowset, with the specified operations applied to the entire table.
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results over the entire table.- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
control
- thecontrol
to use when updating the table.operations
- the operations to apply to the table.- Returns:
- a table with the same rowset, with the specified operations applied to the entire table
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results for the row group (as determined by thebyColumns
).- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
operation
- the operation to apply to the table.byColumns
- the columns to group by before applying.- Returns:
- a table with the same rowSet, with the specified operation applied to each group defined by the
byColumns
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results for the row group (as determined by thebyColumns
).- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
control
- thecontrol
to use when updating the table.operation
- the operation to apply to the table.byColumns
- the columns to group by before applying.- Returns:
- a table with the same rowSet, with the specified operation applied to each group defined by the
byColumns
-
updateBy
Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results for the row group (as determined by thebyColumns
).- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
operations
- the operations to apply to the table.byColumns
- the columns to group by before applying.- Returns:
- a table with the same rowSet, with the specified operations applied to each group defined by the
byColumns
-
updateBy
default TOPS updateBy(Collection<? extends UpdateByOperation> operations, Collection<? extends ColumnName> byColumns) Description copied from interface:TableOperations
Creates a table with additional columns calculated from window-based aggregations of columns in its parent. The aggregations are defined by theoperations
, which support incremental aggregation over the corresponding rows in the parent table. The aggregations will apply position or time-based windowing and compute the results for the row group (as determined by thebyColumns
).- Specified by:
updateBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
operations
- the operations to apply to the table.byColumns
- the columns to group by before applying.- Returns:
- a table with the same rowSet, with the specified operations applied to each group defined by the
byColumns
-
selectDistinct
- Specified by:
selectDistinct
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
countBy
- Specified by:
countBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
countBy
- Specified by:
countBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
countBy
- Specified by:
countBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
countBy
- Specified by:
countBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
firstBy
Description copied from interface:TableOperations
Returns the first row of the given table.- Specified by:
firstBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
firstBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and retrieves the first for the rest of the fields- Specified by:
firstBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
firstBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and retrieves the first for the rest of the fields- Specified by:
firstBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
firstBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and retrieves the first for the rest of the fields- Specified by:
firstBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
lastBy
Description copied from interface:TableOperations
Returns the last row of the given table.- Specified by:
lastBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
lastBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and retrieves the last for the rest of the fields- Specified by:
lastBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
lastBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and retrieves the last for the rest of the fields- Specified by:
lastBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
lastBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and retrieves the last for the rest of the fields- Specified by:
lastBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
minBy
Description copied from interface:TableOperations
Produces a single row table with the minimum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
minBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
minBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the min for the rest of the fields- Specified by:
minBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
minBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the min for the rest of the fields- Specified by:
minBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
minBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the min for the rest of the fields- Specified by:
minBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
maxBy
Description copied from interface:TableOperations
Produces a single row table with the maximum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
maxBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
maxBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the max for the rest of the fields- Specified by:
maxBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
}
-
maxBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the max for the rest of the fields- Specified by:
maxBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
}
-
maxBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the max for the rest of the fields- Specified by:
maxBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
}
-
sumBy
Description copied from interface:TableOperations
Produces a single row table with the sum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
sumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
sumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sum for the rest of the fields- Specified by:
sumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
sumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sum for the rest of the fields- Specified by:
sumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
sumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sum for the rest of the fields- Specified by:
sumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
avgBy
Description copied from interface:TableOperations
Produces a single row table with the average of each column.When the input table is empty, zero output rows are produced.
- Specified by:
avgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
avgBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the average for the rest of the fields- Specified by:
avgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
avgBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the average for the rest of the fields- Specified by:
avgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
avgBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the average for the rest of the fields- Specified by:
avgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
medianBy
Description copied from interface:TableOperations
Produces a single row table with the median of each column.When the input table is empty, zero output rows are produced.
- Specified by:
medianBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
medianBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the median for the rest of the fields- Specified by:
medianBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
}
-
medianBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the median for the rest of the fields- Specified by:
medianBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
}
-
medianBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the median for the rest of the fields- Specified by:
medianBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
}
-
stdBy
Description copied from interface:TableOperations
Produces a single row table with the sample standard deviation of each column.When the input table is empty, zero output rows are produced.
Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
stdBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
stdBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sample standard deviation for the rest of the fieldsSample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
stdBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
stdBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sample standard deviation for the rest of the fieldsSample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
stdBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
stdBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sample standard deviation for the rest of the fieldsSample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
stdBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
varBy
Description copied from interface:TableOperations
Produces a single row table with the sample variance of each column.When the input table is empty, zero output rows are produced.
Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
varBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
varBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sample variance for the rest of the fieldsSample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
varBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
varBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sample variance for the rest of the fieldsSample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
varBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
varBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the variance for the rest of the fieldsSample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
- Specified by:
varBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
absSumBy
Description copied from interface:TableOperations
Produces a single row table with the absolute sum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
absSumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
-
absSumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sum of the absolute values for the rest of the fields- Specified by:
absSumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
absSumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sum of the absolute values for the rest of the fields- Specified by:
absSumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
absSumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the sum of the absolute values for the rest of the fields- Specified by:
absSumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
groupByColumns
- The grouping columns as inTableOperations.groupBy()
-
wsumBy
Description copied from interface:TableOperations
Computes the weighted sum for all rows in the table using weightColumn for the rest of the fieldsIf the weight column is a floating point type, all result columns will be doubles. If the weight column is an integral type, all integral input columns will have long results and all floating point input columns will have double results.
- Specified by:
wsumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weight
-
wsumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the weighted sum using weightColumn for the rest of the fieldsIf the weight column is a floating point type, all result columns will be doubles. If the weight column is an integral type, all integral input columns will have long results and all floating point input columns will have double results.
- Specified by:
wsumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weightgroupByColumns
- The grouping columns as inTableOperations.groupBy()
-
wsumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the weighted sum using weightColumn for the rest of the fieldsIf the weight column is a floating point type, all result columns will be doubles. If the weight column is an integral type, all integral input columns will have long results and all floating point input columns will have double results.
- Specified by:
wsumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weightgroupByColumns
- The grouping columns as inTableOperations.groupBy()
-
wsumBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the weighted sum using weightColumn for the rest of the fieldsIf the weight column is a floating point type, all result columns will be doubles. If the weight column is an integral type, all integral input columns will have long results and all floating point input columns will have double results.
- Specified by:
wsumBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weightgroupByColumns
- The grouping columns as inTableOperations.groupBy()
-
wavgBy
Description copied from interface:TableOperations
Produces a single row table with the weighted average using weightColumn for the rest of the fieldsWhen the input table is empty, zero output rows are produced.
- Specified by:
wavgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weight
-
wavgBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the weighted average using weightColumn for the rest of the fields- Specified by:
wavgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weightgroupByColumns
- The grouping columns as inTableOperations.groupBy()
-
wavgBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the weighted average using weightColumn for the rest of the fields- Specified by:
wavgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weightgroupByColumns
- The grouping columns as inTableOperations.groupBy()
-
wavgBy
Description copied from interface:TableOperations
Groups the data column according togroupByColumns
and computes the weighted average using weightColumn for the rest of the fields- Specified by:
wavgBy
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
weightColumn
- the column to use for the weightgroupByColumns
- The grouping columns as inTableOperations.groupBy()
-
dropColumns
Description copied from interface:TableOperations
Creates a new table without thecolumnNames
fromthis
.- Specified by:
dropColumns
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
columnNames
- the columns to drop- Returns:
- the table
-
dropColumns
Description copied from interface:TableOperations
Creates a new table without thecolumnNames
fromthis
.- Specified by:
dropColumns
in interfaceTableOperations<TOPS extends TableOperations<TOPS,
TABLE>, TABLE> - Parameters:
columnNames
- the columns to drop- Returns:
- the table
-
splitToCollection
-
splitToList
-