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,IcebergTableImpl,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,SliceTable,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
FieldsFields inherited from interface io.deephaven.api.TableOperations
AGG_BY_PRESERVE_EMPTY_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptiondefault TOPSabsSumBy()Produces a single row table with the absolute sum of each column.default TOPSabsSumBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the sum of the absolute values for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the sum of the absolute values for the rest of the fieldsdefault TOPSabsSumBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the sum of the absolute values for the rest of the fieldsdefault TOPSdefault TOPSdefault TOPSaggAllBy(AggSpec spec, Collection<String> groupByColumns) default TOPSaggBy(Aggregation aggregation) Produce an aggregated result by grouping all rows fromthisinto a single group of rows and applyingaggregationto the result.default TOPSaggBy(Aggregation aggregation, String... groupByColumns) Produce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationto each resulting group of rows.default TOPSaggBy(Aggregation aggregation, Collection<? extends ColumnName> groupByColumns) Produce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationto each resulting group of rows.default TOPSaggBy(Collection<? extends Aggregation> aggregations) Produce an aggregated result by grouping all rows fromthisinto a single group of rows and applyingaggregationsto the result.default TOPSaggBy(Collection<? extends Aggregation> aggregations, boolean preserveEmpty) Produce an aggregated result by grouping all rows fromthisinto a single group of rows and applyingaggregationsto the result.default TOPSaggBy(Collection<? extends Aggregation> aggregations, String... groupByColumns) Produce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationsto each resulting group of rows.default TOPSaggBy(Collection<? extends Aggregation> aggregations, Collection<? extends ColumnName> groupByColumns) Produce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationsto each resulting group of rows.default TOPSPerform an as-of join with therightTable.default TOPSPerform an as-of join with therightTable.default TOPSavgBy()Produces a single row table with the average of each column.default TOPSavgBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the average for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the average for the rest of the fieldsdefault TOPSavgBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the average for the rest of the fieldsdefault TOPSdefault TOPScountBy(String countColumnName, ColumnName... groupByColumns) default TOPSdefault TOPScountBy(String countColumnName, Collection<String> groupByColumns) default TOPSdropColumns(ColumnName... columnNames) Creates a new table without thecolumnNamesfromthis.default TOPSdropColumns(Collection<String> columnNames) Creates a new table without thecolumnNamesfromthis.default TOPSPerform an exact-join with therightTable.default TOPSPerform an exact-join with therightTable.default TOPSfirstBy()Returns the first row of the given table.default TOPSfirstBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand retrieves the first for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand retrieves the first for the rest of the fieldsdefault TOPSfirstBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand retrieves the first for the rest of the fieldsdefault TOPSgroupBy()default TOPSdefault TOPSgroupBy(Collection<? extends ColumnName> groupByColumns) default TOPSPerform a cross join with therightTable.default TOPSPerform a cross join with therightTable.default TOPSPerform a cross join with therightTable.default TOPSlastBy()Returns the last row of the given table.default TOPSlastBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand retrieves the last for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand retrieves the last for the rest of the fieldsdefault TOPSlastBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand retrieves the last for the rest of the fieldsdefault TOPSlazyUpdate(String... colummns) Compute column formulas on demand.default TOPSmaxBy()Produces a single row table with the maximum of each column.default TOPSmaxBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the max for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the max for the rest of the fieldsdefault TOPSmaxBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the max for the rest of the fieldsdefault TOPSmedianBy()Produces a single row table with the median of each column.default TOPSmedianBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the median for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the median for the rest of the fieldsdefault TOPSmedianBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the median for the rest of the fieldsdefault TOPSminBy()Produces a single row table with the minimum of each column.default TOPSminBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the min for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the min for the rest of the fieldsdefault TOPSminBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the min for the rest of the fieldsdefault TOPSnaturalJoin(TABLE rightTable, String columnsToMatch) default TOPSnaturalJoin(TABLE rightTable, String columnsToMatch, NaturalJoinType joinType) Perform a natural-join with therightTable.default TOPSnaturalJoin(TABLE rightTable, String columnsToMatch, String columnsToAdd) default TOPSnaturalJoin(TABLE rightTable, String columnsToMatch, String columnsToAdd, NaturalJoinType joinType) Perform a natural-join with therightTable.default TOPSnaturalJoin(TABLE rightTable, Collection<? extends JoinMatch> columnsToMatch, Collection<? extends JoinAddition> columnsToAdd) default TOPSPerform an reverse-as-of join with therightTable.default TOPSPerform a reverse-as-of join with therightTable.default TOPSrangeJoin(TABLE rightTable, Collection<String> columnsToMatch, Collection<? extends Aggregation> aggregations) Perform a range join withrightTable.default TOPSselect()default TOPSdefault TOPSselectDistinct(String... columns) default TOPSdefault TOPSsortDescending(String... columnsToSortBy) static Collection<String>splitToCollection(String string) splitToList(String string) default TOPSstdBy()Produces a single row table with the sample standard deviation of each column.default TOPSstdBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the sample standard deviation for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the sample standard deviation for the rest of the fieldsdefault TOPSstdBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the sample standard deviation for the rest of the fieldsdefault TOPSsumBy()Produces a single row table with the sum of each column.default TOPSsumBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the sum for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the sum for the rest of the fieldsdefault TOPSsumBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the sum for the rest of the fieldsdefault TOPSungroup()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 TOPSungroup(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 TOPSUngroups 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 TOPSUngroups 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 TOPSdefault TOPSupdateBy(UpdateByControl control, UpdateByOperation operation) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(UpdateByControl control, UpdateByOperation operation, String... byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(UpdateByControl control, Collection<? extends UpdateByOperation> operations) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(UpdateByOperation operation) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(UpdateByOperation operation, String... byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(Collection<? extends UpdateByOperation> operations) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(Collection<? extends UpdateByOperation> operations, String... byColumns) Creates a table with additional columns calculated from window-based aggregations of columns in its parent.default TOPSupdateBy(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 TOPSupdateView(String... columns) default TOPSvarBy()Produces a single row table with the sample variance of each column.default TOPSvarBy(ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the sample variance for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the sample variance for the rest of the fieldsdefault TOPSvarBy(Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the variance for the rest of the fieldsdefault TOPSdefault TOPSProduces a single row table with the weighted average using weightColumn for the rest of the fieldsdefault TOPSwavgBy(String weightColumn, ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the weighted average using weightColumn for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the weighted average using weightColumn for the rest of the fieldsdefault TOPSwavgBy(String weightColumn, Collection<String> groupByColumns) Groups the data column according togroupByColumnsand computes the weighted average using weightColumn for the rest of the fieldsdefault TOPSdefault TOPSFiltersthistable based on the set of values in therightTable.default TOPSwhereNotIn(TABLE rightTable, String... columnsToMatch) Filtersthistable based on the set of values not in therightTable.default TOPSComputes the weighted sum for all rows in the table using weightColumn for the rest of the fieldsdefault TOPSwsumBy(String weightColumn, ColumnName... groupByColumns) Groups the data column according togroupByColumnsand computes the weighted sum using weightColumn for the rest of the fieldsdefault TOPSGroups the data column according togroupByColumnsand computes the weighted sum using weightColumn for the rest of the fieldsdefault TOPSwsumBy(String weightColumn, Collection<String> groupByColumns) Groups the data column according togroupByColumnsand 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, slice, 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:
sortin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
sortDescending
- Specified by:
sortDescendingin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
where
- Specified by:
wherein interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
whereIn
Description copied from interface:TableOperationsFiltersthistable based on the set of values in therightTable.Delegates to
TableOperations.whereIn(Object, Collection).- Specified by:
whereInin 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:TableOperationsFiltersthistable based on the set of values not in therightTable.Delegates to
TableOperations.whereNotIn(Object, Collection).- Specified by:
whereNotInin 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:
viewin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
updateView
- Specified by:
updateViewin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
update
- Specified by:
updatein interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
lazyUpdate
Description copied from interface:TableOperationsCompute column formulas on demand.Delegates to
TableOperations.lazyUpdate(Collection).- Specified by:
lazyUpdatein 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:
selectin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
select
- Specified by:
selectin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
naturalJoin
Description copied from interface:TableOperationsPerform a natural-join with therightTablewithNaturalJoinTypedefaulting toERROR_ON_DUPLICATE.Delegates to
TableOperations.naturalJoin(Object, Collection, Collection).- Specified by:
naturalJoinin 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:TableOperationsPerform a natural-join with therightTablewithNaturalJoinTypedefaulting toERROR_ON_DUPLICATE.Delegates to
TableOperations.naturalJoin(Object, Collection, Collection).- Specified by:
naturalJoinin 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
-
naturalJoin
default TOPS naturalJoin(TABLE rightTable, Collection<? extends JoinMatch> columnsToMatch, Collection<? extends JoinAddition> columnsToAdd) Description copied from interface:TableOperations- Specified by:
naturalJoinin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
rightTable- The right side table on the join.columnsToMatch- The match pair conditions.columnsToAdd- 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
-
naturalJoin
Description copied from interface:TableOperationsPerform a natural-join with therightTable.Delegates to
TableOperations.naturalJoin(Object, Collection, Collection).- Specified by:
naturalJoinin 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")joinType- Thetypeof join to perform- Returns:
- the natural-joined table
-
naturalJoin
default TOPS naturalJoin(TABLE rightTable, String columnsToMatch, String columnsToAdd, NaturalJoinType joinType) Description copied from interface:TableOperationsPerform a natural-join with therightTable.Delegates to
TableOperations.naturalJoin(Object, Collection, Collection, NaturalJoinType).- Specified by:
naturalJoinin 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.joinType- Thetypeof join to perform- Returns:
- the natural-joined table
-
exactJoin
Description copied from interface:TableOperationsPerform an exact-join with therightTable.Delegates to
TableOperations.exactJoin(Object, Collection, Collection).- Specified by:
exactJoinin 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:TableOperationsPerform an exact-join with therightTable.Delegates to
TableOperations.exactJoin(Object, Collection, Collection).- Specified by:
exactJoinin 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:TableOperationsPerform a cross join with therightTable.Equivalent to
join(rightTable, emptyList(), emptyList()).- Specified by:
joinin 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:TableOperationsPerform a cross join with therightTable.Delegates to
TableOperations.join(Object, Collection, Collection, int).- Specified by:
joinin 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:TableOperationsPerform a cross join with therightTable.Delegates to
TableOperations.join(Object, Collection, Collection, int).- Specified by:
joinin 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:TableOperationsPerform an as-of join with therightTable.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection).- Specified by:
ajin 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:TableOperationsPerform an as-of join with therightTable.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection).- Specified by:
ajin 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:TableOperationsPerform an reverse-as-of join with therightTable.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection).- Specified by:
rajin 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:TableOperationsPerform a reverse-as-of join with therightTable.Delegates to
TableOperations.asOfJoin(Object, Collection, AsOfJoinMatch, Collection)- Specified by:
rajin 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:TableOperationsPerform a range join withrightTable. For each row inthisTable, this operation joinsaggregationsover a range of responsive rows fromrightTableaccording 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 ofcolumnsToMatchto produce theexact join matchesandrange join match.columnsToMatchParsingThe
columnsToMatchargument 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 thanpaired withgreater than:"leftStartColumn < rightRangeColumn < leftEndColumn"
- For
less than or equalpaired 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:
rangeJoinin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
rightTable- The Table to join withcolumnsToMatch-Stringexpressions that will be parsed intojoin matches, aRangeStartRuleand aRangeEndRuleaggregations- Theaggregationsto perform over the responsive ranges fromrightTablefor each row fromthisTable- Returns:
- The result Table
- For
-
groupBy
- Specified by:
groupByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
groupBy
- Specified by:
groupByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
groupBy
- Specified by:
groupByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
ungroup
Description copied from interface:TableOperationsUngroups 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:
ungroupin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Returns:
- the ungrouped table
-
ungroup
Description copied from interface:TableOperationsUngroups 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:
ungroupin 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:TableOperationsUngroups 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:
ungroupin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
columnsToUngroup- the columns to ungroup- Returns:
- the ungrouped table
-
ungroup
Description copied from interface:TableOperationsUngroups 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:
ungroupin 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:
aggAllByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
aggAllBy
- Specified by:
aggAllByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
aggAllBy
- Specified by:
aggAllByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
aggBy
Description copied from interface:TableOperationsProduce an aggregated result by grouping all rows fromthisinto a single group of rows and applyingaggregationto the result. The result table will have one row ifthishas one or more rows, or else zero rows.- Specified by:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregation- Theaggregationto apply- Returns:
- A new table aggregating the rows of
this
-
aggBy
Description copied from interface:TableOperationsProduce an aggregated result by grouping all rows fromthisinto a single group of rows and applyingaggregationsto the result. The result table will have one row ifthishas one or more rows, or else zero rows.- Specified by:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregations- Theaggregationsto 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:TableOperationsProduce an aggregated result by grouping all rows fromthisinto a single group of rows and applyingaggregationsto the result.- Specified by:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregations- Theaggregationsto applypreserveEmpty- IfpreserveEmpty == true, the result table will always have one row. Otherwise, the result table will have one row ifthishas one or more rows, or else zero rows.- Returns:
- A new table aggregating the rows of
this
-
aggBy
Description copied from interface:TableOperationsProduce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationto 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:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregation- Theaggregationto 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:TableOperationsProduce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationto 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:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregation- Theaggregationto applygroupByColumns- Thecolumnsto 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:TableOperationsProduce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationsto 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:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregations- Theaggregationsto 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:TableOperationsProduce an aggregated result by groupingthisaccording to thegroupByColumnsand applyingaggregationsto 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:
aggByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
aggregations- Theaggregationsto applygroupByColumns- Thecolumnsto group by- Returns:
- A new table aggregating the rows of
this
-
updateBy
Description copied from interface:TableOperationsCreates 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:
updateByin 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:TableOperationsCreates 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:
updateByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
control- thecontrolto 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:TableOperationsCreates 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:
updateByin 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:TableOperationsCreates 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:
updateByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
control- thecontrolto 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:TableOperationsCreates 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:
updateByin 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:TableOperationsCreates 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:
updateByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
control- thecontrolto 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:TableOperationsCreates 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:
updateByin 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:TableOperationsCreates 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:
updateByin 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:
selectDistinctin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
countBy
- Specified by:
countByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
countBy
- Specified by:
countByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
countBy
- Specified by:
countByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
countBy
- Specified by:
countByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
firstBy
Description copied from interface:TableOperationsReturns the first row of the given table.- Specified by:
firstByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
firstBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand retrieves the first for the rest of the fields- Specified by:
firstByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
firstBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand retrieves the first for the rest of the fields- Specified by:
firstByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
firstBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand retrieves the first for the rest of the fields- Specified by:
firstByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
lastBy
Description copied from interface:TableOperationsReturns the last row of the given table.- Specified by:
lastByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
lastBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand retrieves the last for the rest of the fields- Specified by:
lastByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
lastBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand retrieves the last for the rest of the fields- Specified by:
lastByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
lastBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand retrieves the last for the rest of the fields- Specified by:
lastByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
minBy
Description copied from interface:TableOperationsProduces a single row table with the minimum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
minByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
minBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the min for the rest of the fields- Specified by:
minByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
minBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the min for the rest of the fields- Specified by:
minByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
minBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the min for the rest of the fields- Specified by:
minByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
maxBy
Description copied from interface:TableOperationsProduces a single row table with the maximum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
maxByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
maxBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the max for the rest of the fields- Specified by:
maxByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()}
-
maxBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the max for the rest of the fields- Specified by:
maxByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()}
-
maxBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the max for the rest of the fields- Specified by:
maxByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()}
-
sumBy
Description copied from interface:TableOperationsProduces a single row table with the sum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
sumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
sumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the sum for the rest of the fields- Specified by:
sumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
sumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the sum for the rest of the fields- Specified by:
sumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
sumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the sum for the rest of the fields- Specified by:
sumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
avgBy
Description copied from interface:TableOperationsProduces a single row table with the average of each column.When the input table is empty, zero output rows are produced.
- Specified by:
avgByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
avgBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the average for the rest of the fields- Specified by:
avgByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
avgBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the average for the rest of the fields- Specified by:
avgByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
avgBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the average for the rest of the fields- Specified by:
avgByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
medianBy
Description copied from interface:TableOperationsProduces a single row table with the median of each column.When the input table is empty, zero output rows are produced.
- Specified by:
medianByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
medianBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the median for the rest of the fields- Specified by:
medianByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()}
-
medianBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the median for the rest of the fields- Specified by:
medianByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()}
-
medianBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the median for the rest of the fields- Specified by:
medianByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()}
-
stdBy
Description copied from interface:TableOperationsProduces 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:
stdByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
stdBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
stdByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
stdBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
stdByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
stdBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
stdByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
varBy
Description copied from interface:TableOperationsProduces 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:
varByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
varBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
varByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
varBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
varByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
varBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
varByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
absSumBy
Description copied from interface:TableOperationsProduces a single row table with the absolute sum of each column.When the input table is empty, zero output rows are produced.
- Specified by:
absSumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE>
-
absSumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the sum of the absolute values for the rest of the fields- Specified by:
absSumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
absSumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the sum of the absolute values for the rest of the fields- Specified by:
absSumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
absSumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the sum of the absolute values for the rest of the fields- Specified by:
absSumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
groupByColumns- The grouping columns as inTableOperations.groupBy()
-
wsumBy
Description copied from interface:TableOperationsComputes 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:
wsumByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
weightColumn- the column to use for the weight
-
wsumBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand 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:
wsumByin 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:TableOperationsGroups the data column according togroupByColumnsand 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:
wsumByin 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:TableOperationsGroups the data column according togroupByColumnsand 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:
wsumByin 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:TableOperationsProduces 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:
wavgByin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
weightColumn- the column to use for the weight
-
wavgBy
Description copied from interface:TableOperationsGroups the data column according togroupByColumnsand computes the weighted average using weightColumn for the rest of the fields- Specified by:
wavgByin 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:TableOperationsGroups the data column according togroupByColumnsand computes the weighted average using weightColumn for the rest of the fields- Specified by:
wavgByin 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:TableOperationsGroups the data column according togroupByColumnsand computes the weighted average using weightColumn for the rest of the fields- Specified by:
wavgByin 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:TableOperationsCreates a new table without thecolumnNamesfromthis.- Specified by:
dropColumnsin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
columnNames- the columns to drop- Returns:
- the table
-
dropColumns
Description copied from interface:TableOperationsCreates a new table without thecolumnNamesfromthis.- Specified by:
dropColumnsin interfaceTableOperations<TOPS extends TableOperations<TOPS,TABLE>, TABLE> - Parameters:
columnNames- the columns to drop- Returns:
- the table
-
splitToCollection
-
splitToList
-