Class RowDataSet

java.lang.Object
com.landawn.abacus.util.RowDataSet
All Implemented Interfaces:
DataSet, Cloneable

public class RowDataSet extends Object implements DataSet, Cloneable
It's a row DataSet from logic aspect. But each column is stored in a list.
Since:
0.8
Author:
Haiyang Li
  • Constructor Details

  • Method Details

    • columnNameList

      public ImmutableList<String> columnNameList()
      Column name list.
      Specified by:
      columnNameList in interface DataSet
      Returns:
    • columnCount

      public int columnCount()
      Description copied from interface: DataSet
      Return the count of columns in this DataSet.
      Specified by:
      columnCount in interface DataSet
      Returns:
    • getColumnName

      public String getColumnName(int columnIndex)
      Gets the column name.
      Specified by:
      getColumnName in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getColumnIndex

      public int getColumnIndex(String columnName)
      Gets the column index.
      Specified by:
      getColumnIndex in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getColumnIndexes

      public int[] getColumnIndexes(Collection<String> columnNames)
      Gets the column indexes.
      Specified by:
      getColumnIndexes in interface DataSet
      Parameters:
      columnNames -
      Returns:
    • containsColumn

      public boolean containsColumn(String columnName)
      Specified by:
      containsColumn in interface DataSet
      Parameters:
      columnName -
      Returns:
      true, if successful
    • containsAllColumns

      public boolean containsAllColumns(Collection<String> columnNames)
      Contains all columns.
      Specified by:
      containsAllColumns in interface DataSet
      Parameters:
      columnNames -
      Returns:
      true, if successful
    • renameColumn

      public void renameColumn(String columnName, String newColumnName)
      Specified by:
      renameColumn in interface DataSet
      Parameters:
      columnName -
      newColumnName -
    • renameColumns

      public void renameColumns(Map<String,String> oldNewNames)
      Specified by:
      renameColumns in interface DataSet
      Parameters:
      oldNewNames -
    • renameColumn

      public <E extends Exception> void renameColumn(String columnName, Throwables.Function<String,String,E> func) throws E
      Specified by:
      renameColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      func -
      Throws:
      E - the e
    • renameColumns

      public <E extends Exception> void renameColumns(Collection<String> columnNames, Throwables.Function<String,String,E> func) throws E
      Specified by:
      renameColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      func -
      Throws:
      E - the e
    • renameColumns

      public <E extends Exception> void renameColumns(Throwables.Function<String,String,E> func) throws E
      Specified by:
      renameColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      func -
      Throws:
      E - the e
    • moveColumn

      public void moveColumn(String columnName, int newPosition)
      Specified by:
      moveColumn in interface DataSet
      Parameters:
      columnName -
      newPosition -
    • moveColumns

      public void moveColumns(Map<String,Integer> columnNameNewPositionMap)
      Specified by:
      moveColumns in interface DataSet
      Parameters:
      columnNameNewPositionMap -
    • swapColumns

      public void swapColumns(String columnNameA, String columnNameB)
      Description copied from interface: DataSet
      Swap the positions of the two specified columns.
      Specified by:
      swapColumns in interface DataSet
      Parameters:
      columnNameA -
      columnNameB -
    • moveRow

      public void moveRow(int rowIndex, int newRowIndex)
      Description copied from interface: DataSet
      Move the specified row to the new position.
      Specified by:
      moveRow in interface DataSet
      Parameters:
      rowIndex -
      newRowIndex -
    • swapRows

      public void swapRows(int rowIndexA, int rowIndexB)
      Description copied from interface: DataSet
      Swap the positions of the two specified rows.
      Specified by:
      swapRows in interface DataSet
      Parameters:
      rowIndexA -
      rowIndexB -
    • get

      public <T> T get(int rowIndex, int columnIndex)
      Description copied from interface: DataSet
      There is NO underline auto-conversion from column value to target type: T. So the column values must be the type which is assignable to target type.
      Specified by:
      get in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowIndex -
      columnIndex -
      Returns:
    • set

      public void set(int rowIndex, int columnIndex, Object element)
      Specified by:
      set in interface DataSet
      Parameters:
      rowIndex -
      columnIndex -
      element -
    • isNull

      public boolean isNull(int rowIndex, int columnIndex)
      Checks if is null.
      Specified by:
      isNull in interface DataSet
      Parameters:
      rowIndex -
      columnIndex -
      Returns:
      true, if is null
    • get

      public <T> T get(int columnIndex)
      Description copied from interface: DataSet
      There is NO underline auto-conversion from column value to target type: T. So the column values must be the type which is assignable to target type.
      Specified by:
      get in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnIndex -
      Returns:
    • get

      public <T> T get(String columnName)
      Description copied from interface: DataSet
      There is NO underline auto-conversion from column value to target type: T. So the column values must be the type which is assignable to target type.
      Using get(int) for better performance.
      Specified by:
      get in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      Returns:
      See Also:
    • getBoolean

      public boolean getBoolean(int columnIndex)
      Gets the boolean.
      Specified by:
      getBoolean in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getBoolean

      public boolean getBoolean(String columnName)
      Gets the boolean.
      Specified by:
      getBoolean in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getChar

      public char getChar(int columnIndex)
      Gets the char.
      Specified by:
      getChar in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getChar

      public char getChar(String columnName)
      Gets the char.
      Specified by:
      getChar in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getByte

      public byte getByte(int columnIndex)
      Gets the byte.
      Specified by:
      getByte in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getByte

      public byte getByte(String columnName)
      Gets the byte.
      Specified by:
      getByte in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getShort

      public short getShort(int columnIndex)
      Gets the short.
      Specified by:
      getShort in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getShort

      public short getShort(String columnName)
      Gets the short.
      Specified by:
      getShort in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getInt

      public int getInt(int columnIndex)
      Gets the int.
      Specified by:
      getInt in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getInt

      public int getInt(String columnName)
      Gets the int.
      Specified by:
      getInt in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getLong

      public long getLong(int columnIndex)
      Gets the long.
      Specified by:
      getLong in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getLong

      public long getLong(String columnName)
      Gets the long.
      Specified by:
      getLong in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getFloat

      public float getFloat(int columnIndex)
      Gets the float.
      Specified by:
      getFloat in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getFloat

      public float getFloat(String columnName)
      Gets the float.
      Specified by:
      getFloat in interface DataSet
      Parameters:
      columnName -
      Returns:
    • getDouble

      public double getDouble(int columnIndex)
      Gets the double.
      Specified by:
      getDouble in interface DataSet
      Parameters:
      columnIndex -
      Returns:
    • getDouble

      public double getDouble(String columnName)
      Gets the double.
      Specified by:
      getDouble in interface DataSet
      Parameters:
      columnName -
      Returns:
    • isNull

      public boolean isNull(int columnIndex)
      Checks if is null.
      Specified by:
      isNull in interface DataSet
      Parameters:
      columnIndex -
      Returns:
      true, if is null
    • isNull

      public boolean isNull(String columnName)
      Checks if is null.
      Specified by:
      isNull in interface DataSet
      Parameters:
      columnName -
      Returns:
      true, if is null
    • set

      public void set(int columnIndex, Object value)
      Specified by:
      set in interface DataSet
      Parameters:
      columnIndex -
      value -
    • set

      public void set(String columnName, Object value)
      Description copied from interface: DataSet

      Using set(int, Object) for better performance.
      Specified by:
      set in interface DataSet
      Parameters:
      columnName -
      value -
    • getColumn

      public <T> ImmutableList<T> getColumn(int columnIndex)
      Gets the column.
      Specified by:
      getColumn in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnIndex -
      Returns:
    • getColumn

      public <T> ImmutableList<T> getColumn(String columnName)
      Gets the column.
      Specified by:
      getColumn in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      Returns:
    • copyOfColumn

      public <T> List<T> copyOfColumn(String columnName)
      Copy of column.
      Specified by:
      copyOfColumn in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      Returns:
    • addColumn

      public void addColumn(String newColumnName, List<?> column)
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Parameters:
      newColumnName -
      column -
    • addColumn

      public void addColumn(int newColumnPosition, String newColumnName, List<?> column)
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Parameters:
      newColumnPosition -
      newColumnName -
      column -
    • addColumn

      public <E extends Exception> void addColumn(String newColumnName, String fromColumnName, Throwables.Function<?,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnName -
      fromColumnName -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(int newColumnPosition, String newColumnName, String fromColumnName, Throwables.Function<?,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnPosition -
      newColumnName -
      fromColumnName -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnName -
      fromColumnNames -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(int newColumnPosition, String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnPosition -
      newColumnName -
      fromColumnNames -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(String newColumnName, Tuple.Tuple2<String,String> fromColumnNames, Throwables.BiFunction<?,?,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnName -
      fromColumnNames -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(int newColumnPosition, String newColumnName, Tuple.Tuple2<String,String> fromColumnNames, Throwables.BiFunction<?,?,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnPosition -
      newColumnName -
      fromColumnNames -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(String newColumnName, Tuple.Tuple3<String,String,String> fromColumnNames, Throwables.TriFunction<?,?,?,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnName -
      fromColumnNames -
      func -
      Throws:
      E - the e
    • addColumn

      public <E extends Exception> void addColumn(int newColumnPosition, String newColumnName, Tuple.Tuple3<String,String,String> fromColumnNames, Throwables.TriFunction<?,?,?,?,E> func) throws E
      Adds the column.
      Specified by:
      addColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      newColumnPosition -
      newColumnName -
      fromColumnNames -
      func -
      Throws:
      E - the e
    • removeColumn

      public <T> List<T> removeColumn(String columnName)
      Removes the column.
      Specified by:
      removeColumn in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      Returns:
    • removeColumns

      public void removeColumns(Collection<String> columnNames)
      Removes the columns.
      Specified by:
      removeColumns in interface DataSet
      Parameters:
      columnNames -
    • removeColumns

      public <E extends Exception> void removeColumns(Throwables.Predicate<String,E> filter) throws E
      Removes the columns.
      Specified by:
      removeColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      filter -
      Throws:
      E - the e
    • convertColumn

      public void convertColumn(String columnName, Class<?> targetType)
      Description copied from interface: DataSet
      Convert the specified column to target type.
      Specified by:
      convertColumn in interface DataSet
      Parameters:
      columnName -
      targetType -
    • convertColumns

      public void convertColumns(Map<String,Class<?>> columnTargetTypes)
      Description copied from interface: DataSet
      Convert the specified columns to target types.
      Specified by:
      convertColumns in interface DataSet
      Parameters:
      columnTargetTypes -
    • updateColumn

      public <E extends Exception> void updateColumn(String columnName, Throwables.Function<?,?,E> func) throws E
      Description copied from interface: DataSet
      Update the values of the specified column by the specified Try.Function.
      Specified by:
      updateColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      func -
      Throws:
      E - the e
    • updateColumns

      public <E extends Exception> void updateColumns(Collection<String> columnNames, Throwables.Function<?,?,E> func) throws E
      Description copied from interface: DataSet
      Update the values of the specified columns one by one with the specified Try.Function.
      Specified by:
      updateColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      func -
      Throws:
      E - the e
    • combineColumns

      public void combineColumns(Collection<String> columnNames, String newColumnName, Class<?> newColumnClass)
      Specified by:
      combineColumns in interface DataSet
      Parameters:
      columnNames -
      newColumnName -
      newColumnClass -
    • combineColumns

      public <E extends Exception> void combineColumns(Collection<String> columnNames, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> combineFunc) throws E
      Specified by:
      combineColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      newColumnName -
      combineFunc -
      Throws:
      E - the e
    • combineColumns

      public <E extends Exception> void combineColumns(Throwables.Predicate<String,E> columnNameFilter, String newColumnName, Class<?> newColumnClass) throws E
      Specified by:
      combineColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNameFilter -
      newColumnName -
      newColumnClass -
      Throws:
      E - the e
    • combineColumns

      public <E extends Exception, E2 extends Exception> void combineColumns(Throwables.Predicate<String,E> columnNameFilter, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E2> combineFunc) throws E, E2
      Specified by:
      combineColumns in interface DataSet
      Type Parameters:
      E -
      E2 -
      Parameters:
      columnNameFilter -
      newColumnName -
      combineFunc -
      Throws:
      E - the e
      E2 - the e2
    • combineColumns

      public <E extends Exception> void combineColumns(Tuple.Tuple2<String,String> columnNames, String newColumnName, Throwables.BiFunction<?,?,?,E> combineFunc) throws E
      Specified by:
      combineColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      newColumnName -
      combineFunc -
      Throws:
      E - the e
    • combineColumns

      public <E extends Exception> void combineColumns(Tuple.Tuple3<String,String,String> columnNames, String newColumnName, Throwables.TriFunction<?,?,?,?,E> combineFunc) throws E
      Specified by:
      combineColumns in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      newColumnName -
      combineFunc -
      Throws:
      E - the e
    • divideColumn

      public <E extends Exception> void divideColumn(String columnName, Collection<String> newColumnNames, Throwables.Function<?,? extends List<?>,E> divideFunc) throws E
      Specified by:
      divideColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      newColumnNames -
      divideFunc -
      Throws:
      E - the e
    • divideColumn

      public <E extends Exception> void divideColumn(String columnName, Collection<String> newColumnNames, Throwables.BiConsumer<?,Object[],E> output) throws E
      Specified by:
      divideColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      newColumnNames -
      output -
      Throws:
      E - the e
    • divideColumn

      public <E extends Exception> void divideColumn(String columnName, Tuple.Tuple2<String,String> newColumnNames, Throwables.BiConsumer<?,Pair<Object,Object>,E> output) throws E
      Specified by:
      divideColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      newColumnNames -
      output -
      Throws:
      E - the e
    • divideColumn

      public <E extends Exception> void divideColumn(String columnName, Tuple.Tuple3<String,String,String> newColumnNames, Throwables.BiConsumer<?,Triple<Object,Object,Object>,E> output) throws E
      Specified by:
      divideColumn in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      newColumnNames -
      output -
      Throws:
      E - the e
    • addRow

      public void addRow(Object row)
      Adds the row.
      Specified by:
      addRow in interface DataSet
      Parameters:
      row -
    • addRow

      public void addRow(int newRowPosition, Object row)
      Adds the row.
      Specified by:
      addRow in interface DataSet
      Parameters:
      newRowPosition -
      row -
    • removeRow

      public void removeRow(int rowIndex)
      Removes the row.
      Specified by:
      removeRow in interface DataSet
      Parameters:
      rowIndex -
    • removeRows

      @SafeVarargs public final void removeRows(int... indices)
      Removes the rows.
      Specified by:
      removeRows in interface DataSet
      Parameters:
      indices -
    • removeRowRange

      public void removeRowRange(int inclusiveFromRowIndex, int exclusiveToRowIndex)
      Removes the row range.
      Specified by:
      removeRowRange in interface DataSet
      Parameters:
      inclusiveFromRowIndex -
      exclusiveToRowIndex -
    • updateRow

      public <E extends Exception> void updateRow(int rowIndex, Throwables.Function<?,?,E> func) throws E
      Description copied from interface: DataSet
      Update the values in the specified row with the specified Try.Function.
      Specified by:
      updateRow in interface DataSet
      Type Parameters:
      E -
      Parameters:
      rowIndex -
      func -
      Throws:
      E - the e
    • updateRows

      public <E extends Exception> void updateRows(int[] indices, Throwables.Function<?,?,E> func) throws E
      Description copied from interface: DataSet
      Update the values in the specified rows one by one with the specified Try.Function.
      Specified by:
      updateRows in interface DataSet
      Type Parameters:
      E -
      Parameters:
      indices -
      func -
      Throws:
      E - the e
    • updateAll

      public <E extends Exception> void updateAll(Throwables.Function<?,?,E> func) throws E
      Description copied from interface: DataSet
      Update all the values in this DataSet with the specified Try.Function.
      Specified by:
      updateAll in interface DataSet
      Type Parameters:
      E -
      Parameters:
      func -
      Throws:
      E - the e
    • replaceIf

      public <E extends Exception> void replaceIf(Throwables.Predicate<?,E> predicate, Object newValue) throws E
      Description copied from interface: DataSet
      Replace all the values in this DataSet with the specified new value if it matches the specified condition.
      Specified by:
      replaceIf in interface DataSet
      Type Parameters:
      E -
      Parameters:
      predicate -
      newValue -
      Throws:
      E - the e
    • prepend

      public void prepend(DataSet other)
      Description copied from interface: DataSet
      Prepend the specified other into this DataSet.
      The columns of two DataSet must be same.
      Specified by:
      prepend in interface DataSet
      See Also:
    • append

      public void append(DataSet other)
      Description copied from interface: DataSet
      Append the specified other into this DataSet.
      The columns of two DataSet must be same.
      Specified by:
      append in interface DataSet
      See Also:
    • currentRowNum

      public int currentRowNum()
      Current row num.
      Specified by:
      currentRowNum in interface DataSet
      Returns:
    • absolute

      public DataSet absolute(int rowNum)
      Description copied from interface: DataSet
      Move the cursor to the specified row.
      Specified by:
      absolute in interface DataSet
      Parameters:
      rowNum -
      Returns:
    • getRow

      public Object[] getRow(int rowIndex)
      Gets the row.
      Specified by:
      getRow in interface DataSet
      Parameters:
      rowIndex -
      Returns:
    • getRow

      public <T> T getRow(Class<? extends T> rowClass, int rowIndex)
      Gets the row.
      Specified by:
      getRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      rowIndex -
      Returns:
    • getRow

      public <T> T getRow(Class<? extends T> rowClass, int rowIndex, Collection<String> columnNames)
      Gets the row.
      Specified by:
      getRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      rowIndex -
      columnNames -
      Returns:
    • getRow

      public <T> T getRow(int rowIndex, IntFunction<? extends T> rowSupplier)
      Gets the row.
      Specified by:
      getRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowIndex -
      rowSupplier -
      Returns:
    • getRow

      public <T> T getRow(int rowIndex, Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Gets the row.
      Specified by:
      getRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowIndex -
      columnNames -
      rowSupplier -
      Returns:
    • firstRow

      public u.Optional<Object[]> firstRow()
      Specified by:
      firstRow in interface DataSet
      Returns:
    • firstRow

      public <T> u.Optional<T> firstRow(Class<? extends T> rowClass)
      Specified by:
      firstRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      Returns:
    • firstRow

      public <T> u.Optional<T> firstRow(Class<? extends T> rowClass, Collection<String> columnNames)
      Specified by:
      firstRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      columnNames -
      Returns:
    • firstRow

      public <T> u.Optional<T> firstRow(IntFunction<? extends T> rowSupplier)
      Specified by:
      firstRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowSupplier -
      Returns:
    • firstRow

      public <T> u.Optional<T> firstRow(Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Specified by:
      firstRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      rowSupplier -
      Returns:
    • lastRow

      public u.Optional<Object[]> lastRow()
      Specified by:
      lastRow in interface DataSet
      Returns:
    • lastRow

      public <T> u.Optional<T> lastRow(Class<? extends T> rowClass)
      Specified by:
      lastRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      Returns:
    • lastRow

      public <T> u.Optional<T> lastRow(Class<? extends T> rowClass, Collection<String> columnNames)
      Specified by:
      lastRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      columnNames -
      Returns:
    • lastRow

      public <T> u.Optional<T> lastRow(IntFunction<? extends T> rowSupplier)
      Specified by:
      lastRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowSupplier -
      Returns:
    • lastRow

      public <T> u.Optional<T> lastRow(Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Specified by:
      lastRow in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      rowSupplier -
      Returns:
    • iterator

      public <A, B> BiIterator<A,B> iterator(String columnNameA, String columnNameB)
      Specified by:
      iterator in interface DataSet
      Type Parameters:
      A -
      B -
      Parameters:
      columnNameA -
      columnNameB -
      Returns:
    • iterator

      public <A, B> BiIterator<A,B> iterator(int fromRowIndex, int toRowIndex, String columnNameA, String columnNameB)
      Specified by:
      iterator in interface DataSet
      Type Parameters:
      A -
      B -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNameA -
      columnNameB -
      Returns:
    • iterator

      public <A, B, C> TriIterator<A,B,C> iterator(String columnNameA, String columnNameB, String columnNameC)
      Specified by:
      iterator in interface DataSet
      Type Parameters:
      A -
      B -
      C -
      Parameters:
      columnNameA -
      columnNameB -
      columnNameC -
      Returns:
    • iterator

      public <A, B, C> TriIterator<A,B,C> iterator(int fromRowIndex, int toRowIndex, String columnNameA, String columnNameB, String columnNameC)
      Specified by:
      iterator in interface DataSet
      Type Parameters:
      A -
      B -
      C -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNameA -
      columnNameB -
      columnNameC -
      Returns:
    • forEach

      public <E extends Exception> void forEach(Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E
      Description copied from interface: DataSet
      Performs the given action for each row of the DataSet until all rows have been processed or the action throws an exception.
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(Collection<String> columnNames, Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E
      Description copied from interface: DataSet
      Performs the given action for each row of the DataSet until all rows have been processed or the action throws an exception.
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(int fromRowIndex, int toRowIndex, Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E
      Description copied from interface: DataSet
      Performs the given action for each row of the DataSet until all rows have been processed or the action throws an exception.
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(int fromRowIndex, int toRowIndex, Collection<String> columnNames, Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E
      Description copied from interface: DataSet
      Performs the given action for each row of the DataSet until all rows have been processed or the action throws an exception.
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(Tuple.Tuple2<String,String> columnNames, Throwables.BiConsumer<?,?,E> action) throws E
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(int fromRowIndex, int toRowIndex, Tuple.Tuple2<String,String> columnNames, Throwables.BiConsumer<?,?,E> action) throws E
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(Tuple.Tuple3<String,String,String> columnNames, Throwables.TriConsumer<?,?,?,E> action) throws E
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      action -
      Throws:
      E - the e
    • forEach

      public <E extends Exception> void forEach(int fromRowIndex, int toRowIndex, Tuple.Tuple3<String,String,String> columnNames, Throwables.TriConsumer<?,?,?,E> action) throws E
      Specified by:
      forEach in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      action -
      Throws:
      E - the e
    • toList

      public List<Object[]> toList()
      Specified by:
      toList in interface DataSet
      Returns:
    • toList

      public List<Object[]> toList(int fromRowIndex, int toRowIndex)
      Specified by:
      toList in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      Returns:
    • toList

      public <T> List<T> toList(Class<? extends T> rowClass)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      Returns:
    • toList

      public <T> List<T> toList(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      Returns:
    • toList

      public <T> List<T> toList(Class<? extends T> rowClass, Collection<String> columnNames)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      columnNames -
      Returns:
    • toList

      public <T> List<T> toList(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • toList

      public <T> List<T> toList(IntFunction<? extends T> rowSupplier)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowSupplier -
      Returns:
    • toList

      public <T> List<T> toList(int fromRowIndex, int toRowIndex, IntFunction<? extends T> rowSupplier)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      fromRowIndex -
      toRowIndex -
      rowSupplier -
      Returns:
    • toList

      public <T> List<T> toList(Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      rowSupplier -
      Returns:
    • toList

      public <T> List<T> toList(int fromRowIndex, int toRowIndex, Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      rowSupplier -
      Returns:
    • toList

      public <T, E extends Exception, E2 extends Exception> List<T> toList(Class<? extends T> rowClass, Throwables.Predicate<? super String,E> columnNameFilter, Throwables.Function<? super String,String,E2> columnNameConverter) throws E, E2
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      E -
      E2 -
      Parameters:
      rowClass -
      columnNameFilter -
      columnNameConverter -
      Returns:
      Throws:
      E
      E2
    • toList

      public <T, E extends Exception, E2 extends Exception> List<T> toList(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super String,E> columnNameFilter, Throwables.Function<? super String,String,E2> columnNameConverter) throws E, E2
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      E -
      E2 -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      columnNameFilter -
      columnNameConverter -
      Returns:
      Throws:
      E
      E2
    • toList

      public <T, E extends Exception, E2 extends Exception> List<T> toList(Throwables.Predicate<? super String,E> columnNameFilter, Throwables.Function<? super String,String,E2> columnNameConverter, IntFunction<? extends T> rowSupplier) throws E, E2
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      E -
      E2 -
      Parameters:
      columnNameFilter -
      columnNameConverter -
      rowSupplier -
      Returns:
      Throws:
      E
      E2
    • toList

      public <T, E extends Exception, E2 extends Exception> List<T> toList(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super String,E> columnNameFilter, Throwables.Function<? super String,String,E2> columnNameConverter, IntFunction<? extends T> rowSupplier) throws E, E2
      Specified by:
      toList in interface DataSet
      Type Parameters:
      T -
      E -
      E2 -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNameFilter -
      columnNameConverter -
      rowSupplier -
      Returns:
      Throws:
      E
      E2
    • toEntities

      public <T> List<T> toEntities(Class<? extends T> beanClass, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      toEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      prefixAndFieldNameMap -
      Returns:
    • toEntities

      public <T> List<T> toEntities(Class<? extends T> beanClass, int fromRowIndex, int toRowIndex, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      toEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      fromRowIndex -
      toRowIndex -
      prefixAndFieldNameMap -
      Returns:
    • toEntities

      public <T> List<T> toEntities(Class<? extends T> beanClass, Collection<String> columnNames, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      toEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      columnNames -
      prefixAndFieldNameMap -
      Returns:
    • toEntities

      public <T> List<T> toEntities(Class<? extends T> beanClass, int fromRowIndex, int toRowIndex, Collection<String> columnNames, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      toEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      fromRowIndex -
      toRowIndex -
      columnNames -
      prefixAndFieldNameMap -
      Returns:
    • toMergedEntities

      public <T> List<T> toMergedEntities(Class<? extends T> beanClass)
      Specified by:
      toMergedEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      Returns:
    • toMergedEntities

      public <T> List<T> toMergedEntities(Class<? extends T> beanClass, Collection<String> selectPropNames)
      Specified by:
      toMergedEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      selectPropNames -
      Returns:
    • toMergedEntities

      public <T> List<T> toMergedEntities(Class<? extends T> beanClass, String idPropName)
      Specified by:
      toMergedEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      idPropName -
      Returns:
    • toMergedEntities

      public <T> List<T> toMergedEntities(Class<? extends T> beanClass, String idPropName, Collection<String> selectPropNames)
      Specified by:
      toMergedEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      idPropName -
      selectPropNames -
      Returns:
    • toMergedEntities

      public <T> List<T> toMergedEntities(Class<? extends T> beanClass, Collection<String> idPropNames, Collection<String> selectPropNames)
      Specified by:
      toMergedEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      idPropNames -
      selectPropNames -
      Returns:
    • toMergedEntities

      public <T> List<T> toMergedEntities(Class<? extends T> beanClass, Collection<String> idPropNames, Collection<String> selectPropNames, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      toMergedEntities in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      idPropNames -
      selectPropNames -
      prefixAndFieldNameMap -
      Returns:
    • toMap

      public <K, V> Map<K,V> toMap(String keyColumnName, String valueColumnName)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      keyColumnName -
      valueColumnName -
      Returns:
    • toMap

      public <K, V, M extends Map<K, V>> M toMap(String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Returns:
    • toMap

      public <K, V> Map<K,V> toMap(int fromRowIndex, int toRowIndex, String keyColumnName, String valueColumnName)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnName -
      Returns:
    • toMap

      public <K, V, M extends Map<K, V>> M toMap(int fromRowIndex, int toRowIndex, String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      M -
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnName -
      supplier -
      Returns:
    • toMap

      public <K, V> Map<K,V> toMap(Class<? extends V> rowClass, String keyColumnName, Collection<String> valueColumnNames)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      rowClass -
      keyColumnName -
      valueColumnNames -
      Returns:
    • toMap

      public <K, V, M extends Map<K, V>> M toMap(Class<? extends V> rowClass, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      rowClass - it can be Object[]/List/Set/Map/Bean
      Returns:
    • toMap

      public <K, V> Map<K,V> toMap(Class<? extends V> rowClass, int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      Returns:
    • toMap

      public <K, V, M extends Map<K, V>> M toMap(Class<? extends V> rowClass, int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      M -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      supplier -
      Returns:
    • toMap

      public <K, V> Map<K,V> toMap(String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends V> rowSupplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      keyColumnName -
      valueColumnNames -
      rowSupplier -
      Returns:
    • toMap

      public <K, V, M extends Map<K, V>> M toMap(String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends V> rowSupplier, IntFunction<? extends M> supplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      rowSupplier - it can be Object[]/List/Set/Map/Bean
      Returns:
    • toMap

      public <K, V> Map<K,V> toMap(int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends V> rowSupplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      rowSupplier -
      Returns:
    • toMap

      public <K, V, M extends Map<K, V>> M toMap(int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends V> rowSupplier, IntFunction<? extends M> supplier)
      Specified by:
      toMap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      M -
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      rowSupplier -
      supplier -
      Returns:
    • toMultimap

      public <K, E> ListMultimap<K,E> toMultimap(String keyColumnName, String valueColumnName)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      Parameters:
      keyColumnName -
      valueColumnName -
      Returns:
    • toMultimap

      public <K, E, V extends Collection<E>, M extends Multimap<K, E, V>> M toMultimap(String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Returns:
    • toMultimap

      public <K, E> ListMultimap<K,E> toMultimap(int fromRowIndex, int toRowIndex, String keyColumnName, String valueColumnName)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnName -
      Returns:
    • toMultimap

      public <K, E, V extends Collection<E>, M extends Multimap<K, E, V>> M toMultimap(int fromRowIndex, int toRowIndex, String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      V - the value type
      M -
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnName -
      supplier -
      Returns:
    • toMultimap

      public <K, E> ListMultimap<K,E> toMultimap(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      Parameters:
      rowClass -
      keyColumnName -
      valueColumnNames -
      Returns:
    • toMultimap

      public <K, E, V extends Collection<E>, M extends Multimap<K, E, V>> M toMultimap(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      rowClass - it can be Object[]/List/Set/Map/Bean
      Returns:
    • toMultimap

      public <K, E> ListMultimap<K,E> toMultimap(Class<? extends E> rowClass, int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      Returns:
    • toMultimap

      public <K, E, V extends Collection<E>, M extends Multimap<K, E, V>> M toMultimap(Class<? extends E> rowClass, int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      V - the value type
      M -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      supplier -
      Returns:
    • toMultimap

      public <K, E> ListMultimap<K,E> toMultimap(String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      Parameters:
      keyColumnName -
      valueColumnNames -
      rowSupplier -
      Returns:
    • toMultimap

      public <K, E, V extends Collection<E>, M extends Multimap<K, E, V>> M toMultimap(String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier, IntFunction<? extends M> supplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      V - the value type
      rowSupplier - it can be Object[]/List/Set/Map/Bean
      Returns:
    • toMultimap

      public <K, E> ListMultimap<K,E> toMultimap(int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      rowSupplier -
      Returns:
    • toMultimap

      public <K, E, V extends Collection<E>, M extends Multimap<K, E, V>> M toMultimap(int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier, IntFunction<? extends M> supplier)
      Specified by:
      toMultimap in interface DataSet
      Type Parameters:
      K - the key type
      E -
      V - the value type
      M -
      Parameters:
      fromRowIndex -
      toRowIndex -
      keyColumnName -
      valueColumnNames -
      rowSupplier -
      supplier -
      Returns:
    • toJSON

      public String toJSON()
      Specified by:
      toJSON in interface DataSet
      Returns:
    • toJSON

      public String toJSON(int fromRowIndex, int toRowIndex)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      Returns:
    • toJSON

      public String toJSON(int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • toJSON

      public void toJSON(File output)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
    • toJSON

      public void toJSON(File output, int fromRowIndex, int toRowIndex)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
    • toJSON

      public void toJSON(File output, int fromRowIndex, int toRowIndex, Collection<String> columnNames) throws UncheckedIOException
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toJSON

      public void toJSON(OutputStream output)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
    • toJSON

      public void toJSON(OutputStream output, int fromRowIndex, int toRowIndex)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
    • toJSON

      public void toJSON(OutputStream output, int fromRowIndex, int toRowIndex, Collection<String> columnNames) throws UncheckedIOException
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toJSON

      public void toJSON(Writer output)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
    • toJSON

      public void toJSON(Writer output, int fromRowIndex, int toRowIndex)
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
    • toJSON

      public void toJSON(Writer output, int fromRowIndex, int toRowIndex, Collection<String> columnNames) throws UncheckedIOException
      Specified by:
      toJSON in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toXML

      public String toXML()
      Specified by:
      toXML in interface DataSet
      Returns:
    • toXML

      public String toXML(String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      rowElementName -
      Returns:
    • toXML

      public String toXML(int fromRowIndex, int toRowIndex)
      Specified by:
      toXML in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      Returns:
    • toXML

      public String toXML(int fromRowIndex, int toRowIndex, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      rowElementName -
      Returns:
    • toXML

      public String toXML(int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      toXML in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • toXML

      public String toXML(int fromRowIndex, int toRowIndex, Collection<String> columnNames, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      rowElementName -
      Returns:
    • toXML

      public void toXML(File output)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
    • toXML

      public void toXML(File output, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      rowElementName -
    • toXML

      public void toXML(File output, int fromRowIndex, int toRowIndex)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
    • toXML

      public void toXML(File output, int fromRowIndex, int toRowIndex, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      rowElementName -
    • toXML

      public void toXML(File output, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
    • toXML

      public void toXML(File output, int fromRowIndex, int toRowIndex, Collection<String> columnNames, String rowElementName) throws UncheckedIOException
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      rowElementName -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toXML

      public void toXML(OutputStream output)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
    • toXML

      public void toXML(OutputStream output, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      rowElementName -
    • toXML

      public void toXML(OutputStream output, int fromRowIndex, int toRowIndex)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
    • toXML

      public void toXML(OutputStream output, int fromRowIndex, int toRowIndex, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      rowElementName -
    • toXML

      public void toXML(OutputStream output, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
    • toXML

      public void toXML(OutputStream output, int fromRowIndex, int toRowIndex, Collection<String> columnNames, String rowElementName) throws UncheckedIOException
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      rowElementName -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toXML

      public void toXML(Writer output)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
    • toXML

      public void toXML(Writer output, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      rowElementName -
    • toXML

      public void toXML(Writer output, int fromRowIndex, int toRowIndex)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
    • toXML

      public void toXML(Writer output, int fromRowIndex, int toRowIndex, String rowElementName)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      rowElementName -
    • toXML

      public void toXML(Writer output, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
    • toXML

      public void toXML(Writer output, int fromRowIndex, int toRowIndex, Collection<String> columnNames, String rowElementName) throws UncheckedIOException
      Specified by:
      toXML in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      rowElementName -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toCSV

      public String toCSV()
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Returns:
    • toCSV

      public String toCSV(int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • toCSV

      public String toCSV(boolean writeTitle, boolean quoted)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      writeTitle -
      quoted -
      Returns:
    • toCSV

      public String toCSV(int fromRowIndex, int toRowIndex, Collection<String> columnNames, boolean writeTitle, boolean quoted)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      writeTitle -
      quoted -
      Returns:
    • toCSV

      public void toCSV(File output)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
    • toCSV

      public void toCSV(File output, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
    • toCSV

      public void toCSV(File output, boolean writeTitle, boolean quoted)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      writeTitle -
      quoted -
    • toCSV

      public void toCSV(File output, int fromRowIndex, int toRowIndex, Collection<String> columnNames, boolean writeTitle, boolean quoted)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      writeTitle -
      quoted -
    • toCSV

      public void toCSV(OutputStream output)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
    • toCSV

      public void toCSV(OutputStream output, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
    • toCSV

      public void toCSV(OutputStream output, boolean writeTitle, boolean quoted)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      writeTitle -
      quoted -
    • toCSV

      public void toCSV(OutputStream output, int fromRowIndex, int toRowIndex, Collection<String> columnNames, boolean writeTitle, boolean quoted) throws UncheckedIOException
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      writeTitle -
      quoted -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • toCSV

      public void toCSV(Writer output)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
    • toCSV

      public void toCSV(Writer output, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
    • toCSV

      public void toCSV(Writer output, boolean writeTitle, boolean quoted)
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      writeTitle -
      quoted -
    • toCSV

      public void toCSV(Writer output, int fromRowIndex, int toRowIndex, Collection<String> columnNames, boolean writeTitle, boolean quoted) throws UncheckedIOException
      Description copied from interface: DataSet
      Each line in the output file/Writer is an array of JSON String without root bracket.
      Specified by:
      toCSV in interface DataSet
      Parameters:
      output -
      fromRowIndex -
      toRowIndex -
      columnNames -
      writeTitle -
      quoted -
      Throws:
      UncheckedIOException - the unchecked IO exception
    • groupBy

      public DataSet groupBy(String keyColumnName, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector)
      Specified by:
      groupBy in interface DataSet
      Parameters:
      keyColumnName -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
    • groupBy

      public DataSet groupBy(String keyColumnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
      Specified by:
      groupBy in interface DataSet
      Parameters:
      keyColumnName -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
    • groupBy

      public DataSet groupBy(String keyColumnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
      Specified by:
      groupBy in interface DataSet
      Parameters:
      keyColumnName -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
    • groupBy

      public <T, E extends Exception> DataSet groupBy(String keyColumnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,E> rowMapper, Collector<? super T,?,?> collector) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      T -
      E -
      Parameters:
      keyColumnName -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <E extends Exception> DataSet groupBy(String keyColumnName, Throwables.Function<?,?,E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnName -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <E extends Exception> DataSet groupBy(String keyColumnName, Throwables.Function<?,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnName -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
      Throws:
      E
    • groupBy

      public <E extends Exception> DataSet groupBy(String keyColumnName, Throwables.Function<?,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnName -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <T, E extends Exception, E2 extends Exception> DataSet groupBy(String keyColumnName, Throwables.Function<?,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,E2> rowMapper, Collector<? super T,?,?> collector) throws E, E2
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      T -
      E -
      E2 -
      Parameters:
      keyColumnName -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      Throws:
      E - the e
      E2 - the e2
    • groupBy

      public DataSet groupBy(Collection<String> keyColumnNames)
      Specified by:
      groupBy in interface DataSet
      Parameters:
      keyColumnNames -
      Returns:
    • groupBy

      public DataSet groupBy(Collection<String> keyColumnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector)
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      T -
      Parameters:
      keyColumnNames -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
    • groupBy

      public DataSet groupBy(Collection<String> keyColumnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
      Specified by:
      groupBy in interface DataSet
      Parameters:
      keyColumnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
    • groupBy

      public DataSet groupBy(Collection<String> keyColumnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
      Specified by:
      groupBy in interface DataSet
      Parameters:
      keyColumnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
    • groupBy

      public <T, E extends Exception> DataSet groupBy(Collection<String> keyColumnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,E> rowMapper, Collector<? super T,?,?> collector) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      T -
      E -
      Parameters:
      keyColumnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <E extends Exception> DataSet groupBy(Collection<String> keyColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnNames -
      keyMapper -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <E extends Exception> DataSet groupBy(Collection<String> keyColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <E extends Exception> DataSet groupBy(Collection<String> keyColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
      Throws:
      E
    • groupBy

      public <E extends Exception> DataSet groupBy(Collection<String> keyColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector) throws E
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      keyColumnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
      Throws:
      E - the e
    • groupBy

      public <T, E extends Exception, E2 extends Exception> DataSet groupBy(Collection<String> keyColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,E2> rowMapper, Collector<? super T,?,?> collector) throws E, E2
      Specified by:
      groupBy in interface DataSet
      Type Parameters:
      T -
      E -
      E2 -
      Parameters:
      keyColumnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      Throws:
      E - the e
      E2 - the e2
    • pivot

      public <R, C, T, E extends Exception> Sheet<R,C,T> pivot(String groupByColumnName, String pivotColumnName, String aggColumnName, Collector<?,?,? extends T> collector) throws E
      Specified by:
      pivot in interface DataSet
      Returns:
      Throws:
      E - the e
    • pivot

      public <R, C, T> Sheet<R,C,T> pivot(String groupByColumnName, String pivotColumnName, Collection<String> aggColumnNames, Collector<? super Object[],?,? extends T> collector)
      Specified by:
      pivot in interface DataSet
      Returns:
    • pivot

      public <R, C, U, T, E extends Exception> Sheet<R,C,T> pivot(String groupByColumnName, String pivotColumnName, Collection<String> aggColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends U,E> rowMapper, Collector<? super U,?,? extends T> collector) throws E
      Specified by:
      pivot in interface DataSet
      Returns:
      Throws:
      E - the e
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
      See Also:
    • rollup

      public <T> Stream<DataSet> rollup(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,? extends Exception> rowMapper, Collector<? super T,?,?> collector)
      Specified by:
      rollup in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector)
      Specified by:
      rollup in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
      See Also:
    • rollup

      public Stream<DataSet> rollup(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
      Specified by:
      rollup in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
      See Also:
    • rollup

      public <T> Stream<DataSet> rollup(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,? extends Exception> rowMapper, Collector<? super T,?,?> collector)
      Specified by:
      rollup in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
      See Also:
    • cube

      public <T> Stream<DataSet> cube(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,? extends Exception> rowMapper, Collector<? super T,?,?> collector)
      Specified by:
      cube in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<?,?,?> collector)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnName -
      collector -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowClass -
      Returns:
      See Also:
    • cube

      public Stream<DataSet> cube(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
      Specified by:
      cube in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      collector -
      Returns:
      See Also:
    • cube

      public <T> Stream<DataSet> cube(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends T,? extends Exception> rowMapper, Collector<? super T,?,?> collector)
      Specified by:
      cube in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      keyMapper -
      aggregateResultColumnName -
      aggregateOnColumnNames -
      rowMapper -
      collector -
      Returns:
      See Also:
    • sortBy

      public void sortBy(String columnName)
      Specified by:
      sortBy in interface DataSet
      Parameters:
      columnName -
    • sortBy

      public <T> void sortBy(String columnName, Comparator<T> cmp)
      Specified by:
      sortBy in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      cmp -
    • sortBy

      public void sortBy(Collection<String> columnNames)
      Specified by:
      sortBy in interface DataSet
      Parameters:
      columnNames -
    • sortBy

      public void sortBy(Collection<String> columnNames, Comparator<? super Object[]> cmp)
      Specified by:
      sortBy in interface DataSet
      Parameters:
      columnNames -
      cmp -
    • sortBy

      public void sortBy(Collection<String> columnNames, Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper)
      Specified by:
      sortBy in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
    • parallelSortBy

      public void parallelSortBy(String columnName)
      Parallel sort by.
      Specified by:
      parallelSortBy in interface DataSet
      Parameters:
      columnName -
    • parallelSortBy

      public <T> void parallelSortBy(String columnName, Comparator<T> cmp)
      Parallel sort by.
      Specified by:
      parallelSortBy in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      cmp -
    • parallelSortBy

      public void parallelSortBy(Collection<String> columnNames)
      Parallel sort by.
      Specified by:
      parallelSortBy in interface DataSet
      Parameters:
      columnNames -
    • parallelSortBy

      public void parallelSortBy(Collection<String> columnNames, Comparator<? super Object[]> cmp)
      Parallel sort by.
      Specified by:
      parallelSortBy in interface DataSet
      Parameters:
      columnNames -
      cmp -
    • parallelSortBy

      public void parallelSortBy(Collection<String> columnNames, Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper)
      Parallel sort by.
      Specified by:
      parallelSortBy in interface DataSet
      Parameters:
      columnNames -
      keyMapper -
    • topBy

      public DataSet topBy(String columnName, int n)
      Specified by:
      topBy in interface DataSet
      Parameters:
      columnName -
      n -
      Returns:
    • topBy

      public <T> DataSet topBy(String columnName, int n, Comparator<T> cmp)
      Specified by:
      topBy in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      n -
      cmp -
      Returns:
    • topBy

      public DataSet topBy(Collection<String> columnNames, int n)
      Specified by:
      topBy in interface DataSet
      Parameters:
      columnNames -
      n -
      Returns:
    • topBy

      public DataSet topBy(Collection<String> columnNames, int n, Comparator<? super Object[]> cmp)
      Specified by:
      topBy in interface DataSet
      Parameters:
      columnNames -
      n -
      cmp -
      Returns:
    • topBy

      public DataSet topBy(Collection<String> columnNames, int n, Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper)
      Specified by:
      topBy in interface DataSet
      Parameters:
      columnNames -
      n -
      keyMapper -
      Returns:
    • distinct

      public DataSet distinct()
      Description copied from interface: DataSet
      Returns a new DataSet with the rows de-duplicated by the values in all columns.
      Specified by:
      distinct in interface DataSet
      Returns:
    • distinctBy

      public DataSet distinctBy(String columnName)
      Description copied from interface: DataSet
      Returns a new DataSet with the rows de-duplicated by the value in the specified column.
      Specified by:
      distinctBy in interface DataSet
      Parameters:
      columnName -
      Returns:
    • distinctBy

      public <E extends Exception> DataSet distinctBy(String columnName, Throwables.Function<?,?,E> keyMapper) throws E
      Description copied from interface: DataSet
      Returns a new DataSet with the rows de-duplicated by the value in the specified column from the specified fromRowIndex to toRowIndex.
      Specified by:
      distinctBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      keyMapper -
      Returns:
      Throws:
      E - the e
    • distinctBy

      public DataSet distinctBy(Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with the rows de-duplicated by the values in the specified columns.
      Specified by:
      distinctBy in interface DataSet
      Parameters:
      columnNames -
      Returns:
    • distinctBy

      public <E extends Exception> DataSet distinctBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper) throws E
      Description copied from interface: DataSet
      Returns a new DataSet with the rows de-duplicated by the values in the specified columns from the specified fromRowIndex to toRowIndex.
      Specified by:
      distinctBy in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      keyMapper -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Tuple.Tuple2<String,String> columnNames, Throwables.BiPredicate<?,?,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Tuple.Tuple2<String,String> columnNames, Throwables.BiPredicate<?,?,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Tuple.Tuple2<String,String> columnNames, Throwables.BiPredicate<?,?,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Tuple.Tuple2<String,String> columnNames, Throwables.BiPredicate<?,?,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Tuple.Tuple3<String,String,String> columnNames, Throwables.TriPredicate<?,?,?,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Tuple.Tuple3<String,String,String> columnNames, Throwables.TriPredicate<?,?,?,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Tuple.Tuple3<String,String,String> columnNames, Throwables.TriPredicate<?,?,?,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Tuple.Tuple3<String,String,String> columnNames, Throwables.TriPredicate<?,?,?,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(String columnName, Throwables.Predicate<?,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(String columnName, Throwables.Predicate<?,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnName -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, String columnName, Throwables.Predicate<?,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnName -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, String columnName, Throwables.Predicate<?,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnName -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      columnNames -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      filter -
      Returns:
      Throws:
      E - the e
    • filter

      public <E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E
      Specified by:
      filter in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      filter -
      max -
      Returns:
      Throws:
      E - the e
    • map

      public <E extends Exception> DataSet map(String fromColumnName, String newColumnName, String copyingColumnName, Throwables.Function<?,?,E> mapper) throws E
      Specified by:
      map in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnName -
      newColumnName -
      copyingColumnName -
      mapper -
      Returns:
      Throws:
      E - the e
    • map

      public <E extends Exception> DataSet map(String fromColumnName, String newColumnName, Collection<String> copyingColumnNames, Throwables.Function<?,?,E> mapper) throws E
      Specified by:
      map in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnName -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • map

      public <E extends Exception> DataSet map(Tuple.Tuple2<String,String> fromColumnNames, String newColumnName, Collection<String> copyingColumnNames, Throwables.BiFunction<?,?,?,E> mapper) throws E
      Specified by:
      map in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnNames -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • map

      public <E extends Exception> DataSet map(Tuple.Tuple3<String,String,String> fromColumnNames, String newColumnName, Collection<String> copyingColumnNames, Throwables.TriFunction<?,?,?,?,E> mapper) throws E
      Specified by:
      map in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnNames -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • map

      public <E extends Exception> DataSet map(Collection<String> fromColumnNames, String newColumnName, Collection<String> copyingColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> mapper) throws E
      Specified by:
      map in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnNames -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • flatMap

      public <E extends Exception> DataSet flatMap(String fromColumnName, String newColumnName, String copyingColumnName, Throwables.Function<?,? extends Collection<?>,E> mapper) throws E
      Specified by:
      flatMap in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnName -
      newColumnName -
      copyingColumnName -
      mapper -
      Returns:
      Throws:
      E - the e
    • flatMap

      public <E extends Exception> DataSet flatMap(String fromColumnName, String newColumnName, Collection<String> copyingColumnNames, Throwables.Function<?,? extends Collection<?>,E> mapper) throws E
      Specified by:
      flatMap in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnName -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • flatMap

      public <E extends Exception> DataSet flatMap(Tuple.Tuple2<String,String> fromColumnNames, String newColumnName, Collection<String> copyingColumnNames, Throwables.BiFunction<?,?,? extends Collection<?>,E> mapper) throws E
      Specified by:
      flatMap in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnNames -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • flatMap

      public <E extends Exception> DataSet flatMap(Tuple.Tuple3<String,String,String> fromColumnNames, String newColumnName, Collection<String> copyingColumnNames, Throwables.TriFunction<?,?,?,? extends Collection<?>,E> mapper) throws E
      Specified by:
      flatMap in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnNames -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • flatMap

      public <E extends Exception> DataSet flatMap(Collection<String> fromColumnNames, String newColumnName, Collection<String> copyingColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Collection<?>,E> mapper) throws E
      Specified by:
      flatMap in interface DataSet
      Type Parameters:
      E -
      Parameters:
      fromColumnNames -
      newColumnName -
      copyingColumnNames -
      mapper -
      Returns:
      Throws:
      E - the e
    • copy

      public DataSet copy()
      Description copied from interface: DataSet
      Returns the copy of this DataSet. The frozen status of the copy will always be false, even the original DataSet is frozen.
      Specified by:
      copy in interface DataSet
      Returns:
    • copy

      public DataSet copy(Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns the copy of this DataSet with specified column name list. The frozen status of the copy will always be false, even the original DataSet is frozen.
      Specified by:
      copy in interface DataSet
      Parameters:
      columnNames -
      Returns:
    • copy

      public DataSet copy(int fromRowIndex, int toRowIndex)
      Description copied from interface: DataSet
      Returns the copy of this DataSet from the specified fromRowIndex to toRowIndex. The frozen status of the copy will always be false, even the original DataSet is frozen.
      Specified by:
      copy in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      Returns:
    • copy

      public DataSet copy(int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns the copy of this DataSet with specified column name list from the specified fromRowIndex to toRowIndex. The frozen status of the copy will always be false, even the original DataSet is frozen.
      Specified by:
      copy in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • clone

      public DataSet clone()
      Description copied from interface: DataSet
      Deeply copy each element in this DataSet by Serialization/Deserialization.
      Specified by:
      clone in interface DataSet
      Returns:
    • clone

      public DataSet clone(boolean freeze)
      Description copied from interface: DataSet
      Deeply copy each element in this DataSet by Serialization/Deserialization.
      Specified by:
      clone in interface DataSet
      Parameters:
      freeze -
      Returns:
    • innerJoin

      public DataSet innerJoin(DataSet right, String columnName, String joinColumnNameOnRight)
      Description copied from interface: DataSet
      Returns a new DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.
      Specified by:
      innerJoin in interface DataSet
      Parameters:
      right -
      columnName -
      joinColumnNameOnRight -
      Returns:
    • innerJoin

      public DataSet innerJoin(DataSet right, Map<String,String> onColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.
      Specified by:
      innerJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      Returns:
    • innerJoin

      public DataSet innerJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
      Description copied from interface: DataSet
      Returns a new DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.
      Specified by:
      innerJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      Returns:
    • innerJoin

      public DataSet innerJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
      Description copied from interface: DataSet
      Returns a new DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.
      Specified by:
      innerJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      collSupplier -
      Returns:
    • leftJoin

      public DataSet leftJoin(DataSet right, String columnName, String joinColumnNameOnRight)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the rows from the specified right DataSet if they have a match with the rows from the this DataSet.
      Specified by:
      leftJoin in interface DataSet
      Parameters:
      right -
      columnName -
      joinColumnNameOnRight -
      Returns:
    • leftJoin

      public DataSet leftJoin(DataSet right, Map<String,String> onColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the rows from the specified right DataSet if they have a match with the rows from the this DataSet.
      Specified by:
      leftJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      Returns:
    • leftJoin

      public DataSet leftJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the rows from the specified right DataSet if they have a match with the rows from the this DataSet.
      Specified by:
      leftJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      Returns:
    • leftJoin

      public DataSet leftJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the rows from the specified right DataSet if they have a match with the rows from the this DataSet.
      Specified by:
      leftJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      collSupplier -
      Returns:
    • rightJoin

      public DataSet rightJoin(DataSet right, String columnName, String joinColumnNameOnRight)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from the specified right DataSet and the rows from this DataSet if they have a match with the rows from the right DataSet.
      Specified by:
      rightJoin in interface DataSet
      Parameters:
      right -
      columnName -
      joinColumnNameOnRight -
      Returns:
    • rightJoin

      public DataSet rightJoin(DataSet right, Map<String,String> onColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from the specified right DataSet and the rows from this DataSet if they have a match with the rows from the right DataSet.
      Specified by:
      rightJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      Returns:
    • rightJoin

      public DataSet rightJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from the specified right DataSet and the rows from this DataSet if they have a match with the rows from the right DataSet.
      Specified by:
      rightJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      Returns:
    • rightJoin

      public DataSet rightJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from the specified right DataSet and the rows from this DataSet if they have a match with the rows from the right DataSet.
      Specified by:
      rightJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      collSupplier -
      Returns:
    • fullJoin

      public DataSet fullJoin(DataSet right, String columnName, String joinColumnNameOnRight)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.
      Specified by:
      fullJoin in interface DataSet
      Parameters:
      right -
      columnName -
      joinColumnNameOnRight -
      Returns:
    • fullJoin

      public DataSet fullJoin(DataSet right, Map<String,String> onColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.
      Specified by:
      fullJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      Returns:
    • fullJoin

      public DataSet fullJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.
      Specified by:
      fullJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      Returns:
    • fullJoin

      public DataSet fullJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
      Description copied from interface: DataSet
      Returns a new DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.
      Specified by:
      fullJoin in interface DataSet
      Parameters:
      right -
      onColumnNames -
      newColumnName -
      newColumnClass -
      collSupplier -
      Returns:
    • union

      public DataSet union(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      union in interface DataSet
      Returns:
      a new DataSet
    • union

      public DataSet union(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      union in interface DataSet
      Returns:
      a new DataSet
    • union

      public DataSet union(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      union in interface DataSet
      Returns:
      a new DataSet
    • union

      public DataSet union(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      union in interface DataSet
      Returns:
      a new DataSet
    • unionAll

      public DataSet unionAll(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      unionAll in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • unionAll

      public DataSet unionAll(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      unionAll in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • unionAll

      public DataSet unionAll(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      unionAll in interface DataSet
      keyColumnNames - this parameter won't be used. adding it here to be consistent with union(DataSet, Collection)
      Returns:
      a new DataSet
    • unionAll

      public DataSet unionAll(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      unionAll in interface DataSet
      keyColumnNames - this parameter won't be used. adding it here to be consistent with union(DataSet, Collection, boolean)
      Returns:
      a new DataSet
    • intersect

      public DataSet intersect(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      intersect in interface DataSet
      Returns:
    • intersect

      public DataSet intersect(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      intersect in interface DataSet
      Returns:
    • intersect

      public DataSet intersect(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      intersect in interface DataSet
      Returns:
    • intersect

      public DataSet intersect(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      intersect in interface DataSet
      Returns:
    • intersectAll

      public DataSet intersectAll(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns.. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersectAll in interface DataSet
      Returns:
    • intersectAll

      public DataSet intersectAll(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersectAll in interface DataSet
      Returns:
    • intersectAll

      public DataSet intersectAll(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns.. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersectAll in interface DataSet
      Returns:
    • intersectAll

      public DataSet intersectAll(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersectAll in interface DataSet
      Returns:
    • except

      public DataSet except(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      except in interface DataSet
      Returns:
    • except

      public DataSet except(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      except in interface DataSet
      Returns:
    • except

      public DataSet except(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      except in interface DataSet
      Returns:
    • except

      public DataSet except(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will be eliminated.
      Specified by:
      except in interface DataSet
      Returns:
    • exceptAll

      public DataSet exceptAll(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      exceptAll in interface DataSet
      Returns:
    • exceptAll

      public DataSet exceptAll(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      exceptAll in interface DataSet
      Returns:
    • exceptAll

      public DataSet exceptAll(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      exceptAll in interface DataSet
      Returns:
    • exceptAll

      public DataSet exceptAll(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      exceptAll in interface DataSet
      Returns:
    • intersection

      public DataSet intersection(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersection in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • intersection

      public DataSet intersection(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersection in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • intersection

      public DataSet intersection(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersection in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • intersection

      public DataSet intersection(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      intersection in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • difference

      public DataSet difference(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      difference in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • difference

      public DataSet difference(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      difference in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • difference

      public DataSet difference(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      difference in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • difference

      public DataSet difference(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which not appear in the specified other in common columns. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      difference in interface DataSet
      Returns:
      a new DataSet
      See Also:
    • symmetricDifference

      public DataSet symmetricDifference(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns or vice versa. Occurrences are considered.
      Specified by:
      symmetricDifference in interface DataSet
      Returns:
      See Also:
    • symmetricDifference

      public DataSet symmetricDifference(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns or vice versa. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      symmetricDifference in interface DataSet
      Returns:
      See Also:
    • symmetricDifference

      public DataSet symmetricDifference(DataSet other, Collection<String> keyColumnNames)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns or vice versa. Occurrences are considered.
      Specified by:
      symmetricDifference in interface DataSet
      Returns:
      See Also:
    • symmetricDifference

      public DataSet symmetricDifference(DataSet other, Collection<String> keyColumnNames, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet with all rows from this DataSet and which also appear in the specified other in common columns or vice versa. Occurrences are considered. Duplicated rows in the returned DataSet will not be eliminated.
      Specified by:
      symmetricDifference in interface DataSet
      Returns:
      See Also:
    • merge

      public DataSet merge(DataSet other)
      Description copied from interface: DataSet
      Returns a new DataSet by appending the specified other into this DataSet.
      Specified by:
      merge in interface DataSet
      Returns:
    • merge

      public DataSet merge(DataSet other, boolean requiresSameColumns)
      Description copied from interface: DataSet
      Returns a new DataSet by appending the specified other into this DataSet.
      Specified by:
      merge in interface DataSet
      Returns:
    • merge

      public DataSet merge(DataSet other, Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns a new DataSet by appending the specified other into this DataSet.
      Specified by:
      merge in interface DataSet
      Parameters:
      other -
      columnNames -
      Returns:
    • merge

      public DataSet merge(DataSet other, int fromRowIndex, int toRowIndex)
      Description copied from interface: DataSet
      Returns a new DataSet by appending the specified other from fromRowIndex to toRowIndex into this DataSet.
      Specified by:
      merge in interface DataSet
      Parameters:
      other -
      fromRowIndex -
      toRowIndex -
      Returns:
    • merge

      public DataSet merge(DataSet other, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns a new DataSet by appending the specified columnNames in other from fromRowIndex to toRowIndex into this DataSet.
      Specified by:
      merge in interface DataSet
      Parameters:
      other -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • merge

      public DataSet merge(Collection<? extends DataSet> others)
      Specified by:
      merge in interface DataSet
      Parameters:
      others -
      Returns:
    • merge

      public DataSet merge(Collection<? extends DataSet> others, boolean requiresSameColumns)
      Specified by:
      merge in interface DataSet
      Parameters:
      others -
      requiresSameColumns -
      Returns:
    • cartesianProduct

      public DataSet cartesianProduct(DataSet other)
      Specified by:
      cartesianProduct in interface DataSet
      Parameters:
      other -
      Returns:
    • split

      public Stream<DataSet> split(int chunkSize)
      Description copied from interface: DataSet
      Returns consecutive sub lists of this DataSet, each of the same chunkSize (the list may be smaller), or an empty List if this DataSet is empty.
      Specified by:
      split in interface DataSet
      Parameters:
      chunkSize -
      Returns:
    • split

      public Stream<DataSet> split(Collection<String> columnNames, int chunkSize)
      Description copied from interface: DataSet
      Returns consecutive sub lists of this DataSet, each of the same chunkSize (the list may be smaller), or an empty List if this DataSet is empty.
      Specified by:
      split in interface DataSet
      Parameters:
      columnNames -
      chunkSize -
      Returns:
    • splitToList

      public List<DataSet> splitToList(int chunkSize)
      Description copied from interface: DataSet
      Returns consecutive sub lists of this DataSet, each of the same chunkSize (the list may be smaller), or an empty List if this DataSet is empty.
      Specified by:
      splitToList in interface DataSet
      Parameters:
      chunkSize -
      Returns:
    • splitToList

      public List<DataSet> splitToList(Collection<String> columnNames, int chunkSize)
      Description copied from interface: DataSet
      Returns consecutive sub lists of this DataSet, each of the same chunkSize (the list may be smaller), or an empty List if this DataSet is empty.
      Specified by:
      splitToList in interface DataSet
      Parameters:
      columnNames -
      chunkSize -
      Returns:
    • slice

      public DataSet slice(Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns a frozen slice view on this DataSet.
      Specified by:
      slice in interface DataSet
      Parameters:
      columnNames -
      Returns:
    • slice

      public DataSet slice(int fromRowIndex, int toRowIndex)
      Description copied from interface: DataSet
      Returns a frozen slice view on this DataSet.
      Specified by:
      slice in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      Returns:
    • slice

      public DataSet slice(int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Description copied from interface: DataSet
      Returns a frozen slice view on this DataSet.
      Specified by:
      slice in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • paginate

      public Paginated<DataSet> paginate(int pageSize)
      Specified by:
      paginate in interface DataSet
      Parameters:
      pageSize -
      Returns:
    • paginate

      public Paginated<DataSet> paginate(Collection<String> columnNames, int pageSize)
      Specified by:
      paginate in interface DataSet
      Parameters:
      columnNames -
      pageSize -
      Returns:
    • stream

      public <T> Stream<T> stream(String columnName)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnName -
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, String columnName)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnName -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> rowClass)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> rowClass, Collection<String> columnNames)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      columnNames -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowClass -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
    • stream

      public <T> Stream<T> stream(IntFunction<? extends T> rowSupplier)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      rowSupplier -
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, IntFunction<? extends T> rowSupplier)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      fromRowIndex -
      toRowIndex -
      rowSupplier -
      Returns:
    • stream

      public <T> Stream<T> stream(Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      columnNames -
      rowSupplier -
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, Collection<String> columnNames, IntFunction<? extends T> rowSupplier)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
      rowSupplier -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> beanClass, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      prefixAndFieldNameMap -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> beanClass, int fromRowIndex, int toRowIndex, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      fromRowIndex -
      toRowIndex -
      prefixAndFieldNameMap -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> beanClass, Collection<String> columnNames, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      columnNames -
      prefixAndFieldNameMap -
      Returns:
    • stream

      public <T> Stream<T> stream(Class<? extends T> beanClass, int fromRowIndex, int toRowIndex, Collection<String> columnNames, Map<String,String> prefixAndFieldNameMap)
      Specified by:
      stream in interface DataSet
      Type Parameters:
      T -
      Parameters:
      beanClass -
      fromRowIndex -
      toRowIndex -
      columnNames -
      prefixAndFieldNameMap -
      Returns:
    • stream

      public <T> Stream<T> stream(IntObjFunction<? super NoCachingNoUpdating.DisposableObjArray,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, IntObjFunction<? super NoCachingNoUpdating.DisposableObjArray,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(Collection<String> columnNames, IntObjFunction<? super NoCachingNoUpdating.DisposableObjArray,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, Collection<String> inputColumnNames, IntObjFunction<? super NoCachingNoUpdating.DisposableObjArray,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(Tuple.Tuple2<String,String> columnNames, BiFunction<?,?,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, Tuple.Tuple2<String,String> columnNames, BiFunction<?,?,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(Tuple.Tuple3<String,String,String> columnNames, TriFunction<?,?,?,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • stream

      public <T> Stream<T> stream(int fromRowIndex, int toRowIndex, Tuple.Tuple3<String,String,String> columnNames, TriFunction<?,?,?,? extends T> rowMapper)
      Specified by:
      stream in interface DataSet
      Returns:
    • apply

      public <R, E extends Exception> R apply(Throwables.Function<? super DataSet,? extends R,E> func) throws E
      Specified by:
      apply in interface DataSet
      Type Parameters:
      R -
      E -
      Parameters:
      func -
      Returns:
      Throws:
      E - the e
    • applyIfNotEmpty

      public <R, E extends Exception> u.Optional<R> applyIfNotEmpty(Throwables.Function<? super DataSet,? extends R,E> func) throws E
      Specified by:
      applyIfNotEmpty in interface DataSet
      Type Parameters:
      R -
      E -
      Parameters:
      func -
      Returns:
      Throws:
      E - the e
    • accept

      public <E extends Exception> void accept(Throwables.Consumer<? super DataSet,E> action) throws E
      Specified by:
      accept in interface DataSet
      Type Parameters:
      E -
      Parameters:
      action -
      Throws:
      E - the e
    • acceptIfNotEmpty

      public <E extends Exception> void acceptIfNotEmpty(Throwables.Consumer<? super DataSet,E> action) throws E
      Specified by:
      acceptIfNotEmpty in interface DataSet
      Type Parameters:
      E -
      Parameters:
      action -
      Throws:
      E - the e
    • freeze

      public void freeze()
      Freeze.
      Specified by:
      freeze in interface DataSet
    • isFrozen

      public boolean isFrozen()
      Specified by:
      isFrozen in interface DataSet
      Returns:
      true, if successful
    • isEmpty

      public boolean isEmpty()
      Checks if is empty.
      Specified by:
      isEmpty in interface DataSet
      Returns:
      true, if is empty
    • trimToSize

      public void trimToSize()
      Trim to size.
      Specified by:
      trimToSize in interface DataSet
    • size

      public int size()
      Description copied from interface: DataSet
      Returns the size of this DataSet.
      Specified by:
      size in interface DataSet
      Returns:
    • clear

      public void clear()
      Clear.
      Specified by:
      clear in interface DataSet
    • properties

      public Properties<String,Object> properties()
      Specified by:
      properties in interface DataSet
      Returns:
    • columnNames

      public Stream<String> columnNames()
      Specified by:
      columnNames in interface DataSet
      Returns:
    • columns

      public Stream<ImmutableList<Object>> columns()
      Specified by:
      columns in interface DataSet
      Returns:
    • columnMap

      public Map<String,ImmutableList<Object>> columnMap()
      Specified by:
      columnMap in interface DataSet
      Returns:
    • println

      public void println()
      Specified by:
      println in interface DataSet
    • println

      public void println(int fromRowIndex, int toRowIndex)
      Specified by:
      println in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
    • println

      public void println(int fromRowIndex, int toRowIndex, Collection<String> columnNames)
      Specified by:
      println in interface DataSet
      Parameters:
      fromRowIndex -
      toRowIndex -
      columnNames -
    • println

      public <W extends Writer> W println(W outputWriter) throws UncheckedIOException
      Specified by:
      println in interface DataSet
      Type Parameters:
      W -
      Parameters:
      outputWriter -
      Returns:
      Throws:
      UncheckedIOException - the unchecked IO exception
    • println

      public <W extends Writer> W println(W outputWriter, int fromRowIndex, int toRowIndex, Collection<String> columnNames) throws UncheckedIOException
      Specified by:
      println in interface DataSet
      Type Parameters:
      W -
      Parameters:
      outputWriter -
      fromRowIndex -
      toRowIndex -
      columnNames -
      Returns:
      Throws:
      UncheckedIOException - the unchecked IO exception
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Returns:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Parameters:
      obj -
      Returns:
      true, if successful
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns: