Package tech.tablesaw.table
Class SelectionTableSliceGroup
- java.lang.Object
-
- tech.tablesaw.table.TableSliceGroup
-
- tech.tablesaw.table.SelectionTableSliceGroup
-
- All Implemented Interfaces:
Iterable<TableSlice>
public class SelectionTableSliceGroup extends TableSliceGroup
A group of tables formed by performing splitting operations on an original table
-
-
Field Summary
-
Fields inherited from class tech.tablesaw.table.TableSliceGroup
SPLIT_STRING
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectionTableSliceGroup
create(Table original, String subTableNameTemplate, int step)
Creates a TableSliceGroup where each slice containsstep
number of rows from the backing table-
Methods inherited from class tech.tablesaw.table.TableSliceGroup
addSlice, aggregate, aggregate, aggregateColumnName, asTableList, get, getByteSize, getSlices, getSourceTable, getSplitColumnNames, iterator, setSourceTable, size, summaryTableName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
create
public static SelectionTableSliceGroup create(Table original, String subTableNameTemplate, int step)
Creates a TableSliceGroup where each slice containsstep
number of rows from the backing table- Parameters:
original
- The original backing table that provides the data for the new slice groupsubTableNameTemplate
- The prefix of a name for each slice in the group. If the argument is "step" the name will take the form "step 1", "step 2", etc.step
- The number of rows per slice- Returns:
- The new table
-
-