public interface DataSet
com.landawn.abacus.util.Build.DataSetBuilder,
com.landawn.abacus.util.JdbcUtil,
CSVUtil,
IntFunction,
Fn.Factory,
Clazz,
CommonUtil.newDataSet(Map),
CommonUtil.newDataSet(Collection),
CommonUtil.newDataSet(Collection, Collection)| Modifier and Type | Method and Description |
|---|---|
DataSet |
absolute(int rowNum)
Move the cursor to the specified row.
|
<E extends Exception> |
accept(Throwables.Consumer<? super DataSet,E> action) |
<E extends Exception> |
addColumn(int columnIndex,
String newColumnName,
Collection<String> fromColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> func)
Generate the new column values from the specified columns by the specified
Function. |
void |
addColumn(int columnIndex,
String columnName,
List<?> column) |
<T,E extends Exception> |
addColumn(int columnIndex,
String newColumnName,
String fromColumnName,
Throwables.Function<T,?,E> func)
Generate the new column values from the specified column by the specified
Function. |
<E extends Exception> |
addColumn(int columnIndex,
String newColumnName,
Tuple.Tuple2<String,String> fromColumnNames,
Throwables.BiFunction<?,?,?,E> func)
Generate the new column values from the specified columns by the specified
Function. |
<E extends Exception> |
addColumn(int columnIndex,
String newColumnName,
Tuple.Tuple3<String,String,String> fromColumnNames,
Throwables.TriFunction<?,?,?,?,E> func)
Generate the new column values from the specified columns by the specified
Function. |
<E extends Exception> |
addColumn(String newColumnName,
Collection<String> fromColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> func)
Generate the new column values from the specified columns by the specified
Function. |
void |
addColumn(String columnName,
List<?> column) |
<T,E extends Exception> |
addColumn(String newColumnName,
String fromColumnName,
Throwables.Function<T,?,E> func)
Generate the new column values from the specified column by the specified
Function. |
<E extends Exception> |
addColumn(String newColumnName,
Tuple.Tuple2<String,String> fromColumnNames,
Throwables.BiFunction<?,?,?,E> func)
Generate the new column values from the specified columns by the specified
Function. |
<E extends Exception> |
addColumn(String newColumnName,
Tuple.Tuple3<String,String,String> fromColumnNames,
Throwables.TriFunction<?,?,?,?,E> func)
Generate the new column values from the specified columns by the specified
Function. |
void |
addRow(int rowIndex,
Object row)
Adds the row.
|
void |
addRow(Object row)
Adds the row.
|
<R,E extends Exception> |
apply(Throwables.Function<? super DataSet,R,E> func) |
DataSet |
cartesianProduct(DataSet b) |
void |
clear()
Method clear.
|
DataSet |
clone()
Deeply copy each element in this
DataSet by Serialization/Deserialization. |
DataSet |
clone(boolean freeze)
Deeply copy each element in this
DataSet by Serialization/Deserialization. |
Map<String,ImmutableList<Object>> |
columnMap() |
ImmutableList<String> |
columnNameList()
Return the column name list in this DataSet.
|
void |
combineColumns(Collection<String> columnNames,
String newColumnName,
Class<?> newColumnClass) |
<E extends Exception> |
combineColumns(Collection<String> columnNames,
String newColumnName,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> combineFunc) |
<E extends Exception> |
combineColumns(Throwables.Predicate<String,E> columnNameFilter,
String newColumnName,
Class<?> newColumnClass) |
<E extends Exception,E2 extends Exception> |
combineColumns(Throwables.Predicate<String,E> columnNameFilter,
String newColumnName,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E2> combineFunc) |
<E extends Exception> |
combineColumns(Tuple.Tuple2<String,String> columnNames,
String newColumnName,
Throwables.BiFunction<?,?,?,E> combineFunc) |
<E extends Exception> |
combineColumns(Tuple.Tuple3<String,String,String> columnNames,
String newColumnName,
Throwables.TriFunction<?,?,?,?,E> combineFunc) |
boolean |
containsAllColumns(Collection<String> columnNames)
Check if this
DataSet contains all the specified columns. |
boolean |
containsColumn(String columnName) |
void |
convertColumn(String columnName,
Class<?> targetType)
Convert the specified column to target type.
|
void |
convertColumns(Map<String,Class<?>> columnTargetTypes)
Convert the specified columns to target types.
|
DataSet |
copy()
Returns the copy of this
DataSet. |
DataSet |
copy(Collection<String> columnNames)
Returns the copy of this
DataSet with specified column name list. |
DataSet |
copy(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex)
Returns the copy of this
DataSet with specified column name list from the specified fromRowIndex to toRowIndex. |
DataSet |
copy(int fromRowIndex,
int toRowIndex)
Returns the copy of this
DataSet from the specified fromRowIndex to toRowIndex. |
int |
currentRowNum()
Returns the current row number.
|
DataSet |
difference(DataSet dataSet)
Returns a new
DataSet. |
DataSet |
distinct()
Returns a new
DataSet with the rows de-duplicated by the values in all columns. |
DataSet |
distinctBy(Collection<String> columnNames)
Returns a new
DataSet with the rows de-duplicated by the values in the specified columns. |
<E extends Exception> |
distinctBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper)
Returns a new
DataSet with the rows de-duplicated by the values in the specified columns from the specified fromRowIndex to toRowIndex. |
DataSet |
distinctBy(String columnName)
Returns a new
DataSet with the rows de-duplicated by the value in the specified column. |
<K,E extends Exception> |
distinctBy(String columnName,
Throwables.Function<K,?,E> keyMapper)
Returns a new
DataSet with the rows de-duplicated by the value in the specified column from the specified fromRowIndex to toRowIndex. |
<T,E extends Exception> |
divideColumn(String columnName,
Collection<String> newColumnNames,
Throwables.BiConsumer<T,Object[],E> output) |
<T,E extends Exception> |
divideColumn(String columnName,
Collection<String> newColumnNames,
Throwables.Function<T,? extends List<?>,E> divideFunc) |
<T,E extends Exception> |
divideColumn(String columnName,
Tuple.Tuple2<String,String> newColumnNames,
Throwables.BiConsumer<T,Pair<Object,Object>,E> output) |
<T,E extends Exception> |
divideColumn(String columnName,
Tuple.Tuple3<String,String,String> newColumnNames,
Throwables.BiConsumer<T,Triple<Object,Object,Object>,E> output) |
DataSet |
except(DataSet other)
Returns a new
DataSet with all rows from this DataSet and which not appear in the specified other in common columns. |
<E extends Exception> |
filter(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
filter(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<E extends Exception> |
filter(Collection<String> columnNames,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
filter(Collection<String> columnNames,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<E extends Exception> |
filter(int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
filter(int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<T,E extends Exception> |
filter(String columnName,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<T,E> filter) |
<T,E extends Exception> |
filter(String columnName,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<T,E> filter,
int max) |
<T,E extends Exception> |
filter(String columnName,
Throwables.Predicate<T,E> filter) |
<T,E extends Exception> |
filter(String columnName,
Throwables.Predicate<T,E> filter,
int max) |
<E extends Exception> |
filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<E extends Exception> |
filter(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiPredicate<?,?,E> filter) |
<E extends Exception> |
filter(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiPredicate<?,?,E> filter,
int max) |
<E extends Exception> |
filter(Tuple.Tuple2<String,String> columnNames,
Throwables.BiPredicate<?,?,E> filter) |
<E extends Exception> |
filter(Tuple.Tuple2<String,String> columnNames,
Throwables.BiPredicate<?,?,E> filter,
int max) |
<E extends Exception> |
filter(Tuple.Tuple3<String,String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.TriPredicate<?,?,?,E> filter) |
<E extends Exception> |
filter(Tuple.Tuple3<String,String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.TriPredicate<?,?,?,E> filter,
int max) |
<E extends Exception> |
filter(Tuple.Tuple3<String,String,String> columnNames,
Throwables.TriPredicate<?,?,?,E> filter) |
<E extends Exception> |
filter(Tuple.Tuple3<String,String,String> columnNames,
Throwables.TriPredicate<?,?,?,E> filter,
int max) |
u.Optional<Object[]> |
firstRow() |
<T> u.Optional<T> |
firstRow(Class<? extends T> rowClass) |
<T> u.Optional<T> |
firstRow(Class<? extends T> rowClass,
Collection<String> columnNames) |
<T> u.Optional<T> |
firstRow(IntFunction<? extends T> rowSupplier) |
<T> u.Optional<T> |
firstRow(IntFunction<? extends T> rowSupplier,
Collection<String> columnNames) |
<E extends Exception> |
flatMap(Collection<String> fromColumnNames,
Throwables.Function<NoCachingNoUpdating.DisposableObjArray,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
flatMap(String fromColumnName,
Throwables.Function<?,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
flatMap(String fromColumnName,
Throwables.Function<?,? extends Collection<?>,E> func,
String newColumnName,
String copyingColumnName) |
<E extends Exception> |
flatMap(Tuple.Tuple2<String,String> fromColumnNames,
Throwables.BiFunction<?,?,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
flatMap(Tuple.Tuple3<String,String,String> fromColumnNames,
Throwables.TriFunction<?,?,?,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
forEach(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action)
Performs the given action for each row of the
DataSet
until all rows have been processed or the action throws an
exception. |
<E extends Exception> |
forEach(Collection<String> columnNames,
Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action)
Performs the given action for each row of the
DataSet
until all rows have been processed or the action throws an
exception. |
<E extends Exception> |
forEach(int fromRowIndex,
int toRowIndex,
Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action)
Performs the given action for each row of the
DataSet
until all rows have been processed or the action throws an
exception. |
<E extends Exception> |
forEach(Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action)
Performs the given action for each row of the
DataSet
until all rows have been processed or the action throws an
exception. |
<E extends Exception> |
forEach(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiConsumer<?,?,E> action) |
<E extends Exception> |
forEach(Tuple.Tuple2<String,String> columnNames,
Throwables.BiConsumer<?,?,E> action) |
<E extends Exception> |
forEach(Tuple.Tuple3<String,String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.TriConsumer<?,?,?,E> action) |
<E extends Exception> |
forEach(Tuple.Tuple3<String,String,String> columnNames,
Throwables.TriConsumer<?,?,?,E> action) |
void |
freeze()
Method freeze.
|
boolean |
frozen() |
DataSet |
fullJoin(DataSet right,
Map<String,String> onColumnNames)
Returns a new
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches. |
DataSet |
fullJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass)
Returns a new
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches. |
DataSet |
fullJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass,
IntFunction<? extends Collection> collSupplier)
Returns a new
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches. |
DataSet |
fullJoin(DataSet right,
String columnName,
String refColumnName)
Returns a new
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches. |
<T> T |
get(Class<T> targetType,
int columnIndex)
Deprecated.
may be misused because it implies there is an underline auto-conversion from column values to target return type but actually there is not.
|
<T> T |
get(Class<T> targetType,
int rowIndex,
int columnIndex)
Deprecated.
may be misused because it implies there is an underline auto-conversion from column values to target return type but actually there is not.
|
<T> T |
get(Class<T> targetType,
String columnName)
Deprecated.
may be misused because it implies there is an underline auto-conversion from column values to target return type but actually there is not.
|
<T> T |
get(int columnIndex)
There is NO underline auto-conversion from column value to target type:
T. |
<T> T |
get(int rowIndex,
int columnIndex)
There is NO underline auto-conversion from column value to target type:
T. |
<T> T |
get(String columnName)
There is NO underline auto-conversion from column value to target type:
T. |
boolean |
getBoolean(int columnIndex)
Return default value (false) if the property is null.
|
boolean |
getBoolean(String columnName)
Return default value (false) if the property is null.
|
byte |
getByte(int columnIndex)
Return default value (0) if the property is null.
|
byte |
getByte(String columnName)
Return default value (0) if the property is null.
|
char |
getChar(int columnIndex)
Return default value (0) if the property is null.
|
char |
getChar(String columnName)
Return default value (0) if the property is null.
|
<T> ImmutableList<T> |
getColumn(int columnIndex)
Must NOT modify the returned list.
|
<T> ImmutableList<T> |
getColumn(String columnName)
Must NOT modify the returned list.
|
int |
getColumnIndex(String columnName) |
int[] |
getColumnIndexes(Collection<String> columnNames)
-1 is set to the element in the returned array if the mapping column name is not included in this
DataSet. |
String |
getColumnName(int columnIndex) |
double |
getDouble(int columnIndex)
Return default value (0d) if the property is null.
|
double |
getDouble(String columnName)
Return default value (0d) if the property is null.
|
float |
getFloat(int columnIndex)
Return default value (0f) if the property is null.
|
float |
getFloat(String columnName)
Return default value (0f) if the property is null.
|
int |
getInt(int columnIndex)
Return default value (0) if the property is null.
|
int |
getInt(String columnName)
Return default value (0) if the property is null.
|
long |
getLong(int columnIndex)
Return default value (0) if the property is null.
|
long |
getLong(String columnName)
Return default value (0) if the property is null.
|
<T> T |
getOrDefault(int columnIndex,
T defaultValue)
Deprecated.
|
<T> T |
getOrDefault(String columnName,
T defaultValue)
Deprecated.
|
<T> T |
getRow(Class<? extends T> rowClass,
Collection<String> columnNames,
int rowNum)
Gets the row.
|
<T> T |
getRow(Class<? extends T> rowClass,
int rowNum)
Gets the row.
|
Object[] |
getRow(int rowNum)
Gets the row.
|
<T> T |
getRow(IntFunction<? extends T> rowSupplier,
Collection<String> columnNames,
int rowNum)
Gets the row.
|
<T> T |
getRow(IntFunction<? extends T> rowSupplier,
int rowNum)
Gets the row.
|
short |
getShort(int columnIndex)
Return default value (0) if the property is null.
|
short |
getShort(String columnName)
Return default value (0) if the property is null.
|
DataSet |
groupBy(Collection<String> columnNames) |
DataSet |
groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
DataSet |
groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<U,E extends Exception> |
groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E> rowMapper,
Collector<? super U,?,?> collector) |
<T> DataSet |
groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
<E extends Exception> |
groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper) |
<E extends Exception> |
groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
<E extends Exception> |
groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<U,E extends Exception,E2 extends Exception> |
groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E2> rowMapper,
Collector<? super U,?,?> collector) |
<T,E extends Exception> |
groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
DataSet |
groupBy(String columnName)
Deprecated.
|
DataSet |
groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
DataSet |
groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<U,E extends Exception> |
groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E> rowMapper,
Collector<? super U,?,?> collector) |
<T> DataSet |
groupBy(String columnName,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
<K,E extends Exception> |
groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper)
Deprecated.
|
<K,E extends Exception> |
groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
<K,E extends Exception> |
groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<K,U,E extends Exception,E2 extends Exception> |
groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E2> rowMapper,
Collector<? super U,?,?> collector) |
<K,T,E extends Exception> |
groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
DataSet |
innerJoin(DataSet right,
Map<String,String> onColumnNames)
Returns a new
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet. |
DataSet |
innerJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass)
Returns a new
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet. |
DataSet |
innerJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass,
IntFunction<? extends Collection> collSupplier)
Returns a new
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet. |
DataSet |
innerJoin(DataSet right,
String columnName,
String refColumnName)
Returns a new
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet. |
DataSet |
intersect(DataSet other)
Returns a new
DataSet with all rows from this DataSet and which also appear in the specified other in common columns. |
DataSet |
intersectAll(DataSet other)
Returns a new
DataSet with all rows from this DataSet and which also appear in the specified other in common columns. |
DataSet |
intersection(DataSet dataSet)
Returns a new
DataSet with all rows from this DataSet and which also appear in the specified other in common columns by occurrences. |
boolean |
isEmpty()
Checks if is empty.
|
boolean |
isNull(int columnIndex)
Checks if is null.
|
boolean |
isNull(int rowIndex,
int columnIndex)
Checks if is null.
|
boolean |
isNull(String columnName)
Checks if is null.
|
<A,B> BiIterator<A,B> |
iterator(String columnNameA,
String columnNameB) |
<A,B> BiIterator<A,B> |
iterator(String columnNameA,
String columnNameB,
int fromRowIndex,
int toRowIndex) |
u.Optional<Object[]> |
lastRow() |
<T> u.Optional<T> |
lastRow(Class<? extends T> rowClass) |
<T> u.Optional<T> |
lastRow(Class<? extends T> rowClass,
Collection<String> columnNames) |
<T> u.Optional<T> |
lastRow(IntFunction<? extends T> rowSupplier) |
<T> u.Optional<T> |
lastRow(IntFunction<? extends T> rowSupplier,
Collection<String> columnNames) |
DataSet |
leftJoin(DataSet right,
Map<String,String> onColumnNames)
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. |
DataSet |
leftJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass)
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. |
DataSet |
leftJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass,
IntFunction<? extends Collection> collSupplier)
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. |
DataSet |
leftJoin(DataSet right,
String columnName,
String refColumnName)
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. |
<E extends Exception> |
map(Collection<String> fromColumnNames,
Throwables.Function<NoCachingNoUpdating.DisposableObjArray,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
map(String fromColumnName,
Throwables.Function<?,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
map(String fromColumnName,
Throwables.Function<?,?,E> func,
String newColumnName,
String copyingColumnName) |
<E extends Exception> |
map(Tuple.Tuple2<String,String> fromColumnNames,
Throwables.BiFunction<?,?,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
map(Tuple.Tuple3<String,String,String> fromColumnNames,
Throwables.TriFunction<?,?,?,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
DataSet |
merge(Collection<? extends DataSet> dss) |
DataSet |
merge(DataSet from)
Returns a new
DataSet by appending the specified from DataSet into this DataSet. |
DataSet |
merge(DataSet from,
Collection<String> columnNames)
Returns a new
DataSet by appending the specified from DataSet into this DataSet. |
DataSet |
merge(DataSet from,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex)
Returns a new
DataSet by appending the specified columnNames in from DataSet from fromRowIndex to toRowIndex into this DataSet. |
DataSet |
merge(DataSet a,
DataSet b) |
DataSet |
merge(DataSet from,
int fromRowIndex,
int toRowIndex)
Returns a new
DataSet by appending the specified from DataSet from fromRowIndex to toRowIndex into this DataSet. |
void |
moveColumn(String columnName,
int newPosition) |
void |
moveColumns(Map<String,Integer> columnNameNewPositionMap) |
void |
moveRow(int rowIndex,
int newRowIndex)
Move the specified row to the new position.
|
PaginatedDataSet |
paginate(Collection<String> columnNames,
int pageSize) |
PaginatedDataSet |
paginate(int pageSize) |
void |
println() |
void |
println(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
<W extends Writer> |
println(W outputWriter) |
<W extends Writer> |
println(W outputWriter,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
Properties<String,Object> |
properties() |
<T> List<T> |
removeColumn(String columnName)
Remove the column with the specified columnName from this DataSet.
|
void |
removeColumns(Collection<String> columnNames)
Remove the column(s) with the specified columnNames from this DataSet.
|
<E extends Exception> |
removeColumns(Throwables.Predicate<String,E> filter)
Removes the columns.
|
<E extends Exception> |
removeColumnsIf(Throwables.Predicate<String,E> filter)
Deprecated.
|
void |
removeRow(int rowIndex)
Removes the row.
|
void |
removeRowRange(int inclusiveFromRowIndex,
int exclusiveToRowIndex)
Removes the row range.
|
void |
removeRows(int... indices)
Removes the rows.
|
void |
renameColumn(String columnName,
String newColumnName) |
<E extends Exception> |
renameColumn(String columnName,
Throwables.Function<String,String,E> func) |
<E extends Exception> |
renameColumns(Collection<String> columnNames,
Throwables.Function<String,String,E> func) |
void |
renameColumns(Map<String,String> oldNewNames) |
<E extends Exception> |
renameColumns(Throwables.Function<String,String,E> func) |
<E extends Exception> |
replaceIf(Throwables.Predicate<?,E> func,
Object newValue)
Replace all the values in this DataSet with the specified new value if it matches the specified condition.
|
DataSet |
rightJoin(DataSet right,
Map<String,String> onColumnNames)
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. |
DataSet |
rightJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass)
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. |
DataSet |
rightJoin(DataSet right,
Map<String,String> onColumnNames,
String newColumnName,
Class<?> newColumnClass,
IntFunction<? extends Collection> collSupplier)
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. |
DataSet |
rightJoin(DataSet right,
String columnName,
String refColumnName)
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. |
void |
set(int rowIndex,
int columnIndex,
Object element) |
void |
set(int columnIndex,
Object value) |
void |
set(String columnName,
Object value) |
int |
size()
Returns the size of this
DataSet. |
DataSet |
slice(Collection<String> columnNames)
Returns a frozen
DataSet. |
DataSet |
slice(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex)
Returns a frozen
DataSet. |
DataSet |
slice(int fromRowIndex,
int toRowIndex)
Returns a frozen
DataSet. |
void |
sortBy(Collection<String> columnNames) |
void |
sortBy(Collection<String> columnNames,
Comparator<? super Object[]> cmp) |
void |
sortBy(Collection<String> columnNames,
Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper) |
void |
sortBy(String columnName) |
<T> void |
sortBy(String columnName,
Comparator<T> cmp) |
List<DataSet> |
splitt(Collection<String> columnNames,
int chunkSize)
Deprecated.
replaced by
splitToList(Collection, int) |
List<DataSet> |
splitt(int chunkSize)
Deprecated.
replaced by
splitToList(int) |
List<DataSet> |
splitToList(Collection<String> columnNames,
int chunkSize)
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.
|
List<DataSet> |
splitToList(int chunkSize)
Returns consecutive sub lists of this DataSet, each of the same size (the list may be smaller), or an empty List if this DataSet is empty.
|
void |
swapColumns(String columnNameA,
String columnNameB)
Swap the positions of the two specified columns.
|
void |
swapRows(int rowIndexA,
int rowIndexB)
Swap the positions of the two specified rows.
|
DataSet |
symmetricDifference(DataSet dataSet) |
String |
toCSV() |
String |
toCSV(boolean writeTitle,
boolean quoteValue) |
String |
toCSV(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
String |
toCSV(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
void |
toCSV(File output) |
void |
toCSV(File output,
boolean writeTitle,
boolean quoteValue) |
void |
toCSV(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toCSV(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
void |
toCSV(OutputStream output) |
void |
toCSV(OutputStream output,
boolean writeTitle,
boolean quoteValue) |
void |
toCSV(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toCSV(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
void |
toCSV(Writer output) |
void |
toCSV(Writer output,
boolean writeTitle,
boolean quoteValue) |
void |
toCSV(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toCSV(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
String |
toJSON() |
String |
toJSON(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toJSON(File output) |
void |
toJSON(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toJSON(File output,
int fromRowIndex,
int toRowIndex) |
String |
toJSON(int fromRowIndex,
int toRowIndex) |
void |
toJSON(OutputStream output) |
void |
toJSON(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toJSON(OutputStream output,
int fromRowIndex,
int toRowIndex) |
void |
toJSON(Writer output) |
void |
toJSON(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toJSON(Writer output,
int fromRowIndex,
int toRowIndex) |
List<Object[]> |
toList() |
<T> List<T> |
toList(Class<? extends T> rowClass) |
<T> List<T> |
toList(Class<? extends T> rowClass,
Collection<String> columnNames) |
<T> List<T> |
toList(Class<? extends T> rowClass,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
<T> List<T> |
toList(Class<? extends T> rowClass,
int fromRowIndex,
int toRowIndex) |
<T,E extends Exception,E2 extends Exception> |
toList(Class<? extends T> rowClass,
Throwables.Predicate<? super String,E> columnFilter,
Throwables.Function<? super String,String,E2> columnConverter) |
<T,E extends Exception,E2 extends Exception> |
toList(Class<? extends T> rowClass,
Throwables.Predicate<? super String,E> columnFilter,
Throwables.Function<? super String,String,E2> columnConverter,
int fromRowIndex,
int toRowIndex) |
<T> List<T> |
toList(IntFunction<? extends T> rowSupplier) |
<T> List<T> |
toList(IntFunction<? extends T> rowSupplier,
Collection<String> columnNames) |
<T> List<T> |
toList(IntFunction<? extends T> rowSupplier,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
<T> List<T> |
toList(IntFunction<? extends T> rowSupplier,
int fromRowIndex,
int toRowIndex) |
List<Object[]> |
toList(int fromRowIndex,
int toRowIndex) |
<K,V> Map<K,V> |
toMap(Class<? extends V> rowClass,
String keyColumnName,
Collection<String> valueColumnNames) |
<K,V> Map<K,V> |
toMap(Class<? extends V> rowClass,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex) |
<K,V,M extends Map<K,V>> |
toMap(Class<? extends V> rowClass,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex,
IntFunction<? extends M> supplier) |
<K,V> Map<K,V> |
toMap(IntFunction<? extends V> rowSupplier,
String keyColumnName,
Collection<String> valueColumnNames) |
<K,V> Map<K,V> |
toMap(IntFunction<? extends V> rowSupplier,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex) |
<K,V,M extends Map<K,V>> |
toMap(IntFunction<? extends V> rowSupplier,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex,
IntFunction<? extends M> supplier) |
<K,V> Map<K,V> |
toMap(String keyColumnName,
String valueColumnName) |
<K,V> Map<K,V> |
toMap(String keyColumnName,
String valueColumnName,
int fromRowIndex,
int toRowIndex) |
<K,V,M extends Map<K,V>> |
toMap(String keyColumnName,
String valueColumnName,
int fromRowIndex,
int toRowIndex,
IntFunction<? extends M> supplier) |
<T> List<T> |
toMergedEntities(Class<T> entityClass) |
<T> List<T> |
toMergedEntities(Class<T> entityClass,
Collection<String> selectPropNames) |
<T> List<T> |
toMergedEntities(Class<T> entityClass,
List<String> idPropNames,
Collection<String> selectPropNames) |
<T> List<T> |
toMergedEntities(Class<T> entityClass,
String idPropName) |
<T> List<T> |
toMergedEntities(Class<T> entityClass,
String idPropName,
Collection<String> selectPropNames) |
<K,E> ListMultimap<K,E> |
toMultimap(Class<? extends E> rowClass,
String keyColumnName,
Collection<String> valueColumnNames) |
<K,E> ListMultimap<K,E> |
toMultimap(Class<? extends E> rowClass,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex) |
<K,E,V extends Collection<E>,M extends Multimap<K,E,V>> |
toMultimap(Class<? extends E> rowClass,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex,
IntFunction<? extends M> supplier) |
<K,E> ListMultimap<K,E> |
toMultimap(IntFunction<? extends E> rowSupplier,
String keyColumnName,
Collection<String> valueColumnNames) |
<K,E> ListMultimap<K,E> |
toMultimap(IntFunction<? extends E> rowSupplier,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex) |
<K,E,V extends Collection<E>,M extends Multimap<K,E,V>> |
toMultimap(IntFunction<? extends E> rowSupplier,
String keyColumnName,
Collection<String> valueColumnNames,
int fromRowIndex,
int toRowIndex,
IntFunction<? extends M> supplier) |
<K,E> ListMultimap<K,E> |
toMultimap(String keyColumnName,
String valueColumnName) |
<K,E> ListMultimap<K,E> |
toMultimap(String keyColumnName,
String valueColumnName,
int fromRowIndex,
int toRowIndex) |
<K,E,V extends Collection<E>,M extends Multimap<K,E,V>> |
toMultimap(String keyColumnName,
String valueColumnName,
int fromRowIndex,
int toRowIndex,
IntFunction<? extends M> supplier) |
DataSet |
topBy(Collection<String> columnNames,
int n) |
DataSet |
topBy(Collection<String> columnNames,
int n,
Comparator<? super Object[]> cmp) |
DataSet |
topBy(Collection<String> columnNames,
int n,
Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper) |
DataSet |
topBy(String columnName,
int n) |
<T> DataSet |
topBy(String columnName,
int n,
Comparator<T> cmp) |
String |
toXML() |
String |
toXML(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(File output) |
void |
toXML(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(File output,
int fromRowIndex,
int toRowIndex) |
void |
toXML(File output,
String rowElementName) |
void |
toXML(File output,
String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(File output,
String rowElementName,
int fromRowIndex,
int toRowIndex) |
String |
toXML(int fromRowIndex,
int toRowIndex) |
void |
toXML(OutputStream output) |
void |
toXML(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(OutputStream output,
int fromRowIndex,
int toRowIndex) |
void |
toXML(OutputStream output,
String rowElementName) |
void |
toXML(OutputStream output,
String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(OutputStream output,
String rowElementName,
int fromRowIndex,
int toRowIndex) |
String |
toXML(String rowElementName) |
String |
toXML(String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
String |
toXML(String rowElementName,
int fromRowIndex,
int toRowIndex) |
void |
toXML(Writer output) |
void |
toXML(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(Writer output,
int fromRowIndex,
int toRowIndex) |
void |
toXML(Writer output,
String rowElementName) |
void |
toXML(Writer output,
String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
toXML(Writer output,
String rowElementName,
int fromRowIndex,
int toRowIndex) |
void |
trimToSize()
Trim to size.
|
DataSet |
union(DataSet dataSet)
Returns a new
DataSet. |
DataSet |
unionAll(DataSet dataSet)
Returns a new
DataSet. |
<E extends Exception> |
updateAll(Throwables.Function<?,?,E> func)
Update all the values in this DataSet with the specified Try.Function.
|
<E extends Exception> |
updateColumn(String columnName,
Throwables.Function<?,?,E> func)
Update the values of the specified column by the specified Try.Function.
|
<E extends Exception> |
updateColumns(Collection<String> columnNames,
Throwables.Function<?,?,E> func)
Update the values of the specified columns one by one with the specified Try.Function.
|
<E extends Exception> |
updateRow(int rowIndex,
Throwables.Function<?,?,E> func)
Update the values in the specified row with the specified Try.Function.
|
<E extends Exception> |
updateRows(int[] indices,
Throwables.Function<?,?,E> func)
Update the values in the specified rows one by one with the specified Try.Function.
|
ImmutableList<String> columnNameList()
String getColumnName(int columnIndex)
columnIndex - int getColumnIndex(String columnName)
columnName - columnName is not foundint[] getColumnIndexes(Collection<String> columnNames)
DataSet.columnNames - boolean containsColumn(String columnName)
columnName - boolean containsAllColumns(Collection<String> columnNames)
DataSet contains all the specified columns.columnNames - true if all the specified columns are included in the this DataSetvoid renameColumn(String columnName, String newColumnName)
columnName - newColumnName - <E extends Exception> void renameColumn(String columnName, Throwables.Function<String,String,E> func) throws E extends Exception
E - columnName - func - E - the eE extends Exception<E extends Exception> void renameColumns(Collection<String> columnNames, Throwables.Function<String,String,E> func) throws E extends Exception
E - columnNames - func - E - the eE extends Exception<E extends Exception> void renameColumns(Throwables.Function<String,String,E> func) throws E extends Exception
E - func - E - the eE extends Exceptionvoid moveColumn(String columnName, int newPosition)
columnName - newPosition - void moveColumns(Map<String,Integer> columnNameNewPositionMap)
columnNameNewPositionMap - void swapColumns(String columnNameA, String columnNameB)
columnNameA - columnNameB - void moveRow(int rowIndex,
int newRowIndex)
rowIndex - newRowIndex - void swapRows(int rowIndexA,
int rowIndexB)
rowIndexA - rowIndexB - <T> T get(int rowIndex,
int columnIndex)
T.
So the column values must be the type which is assignable to target type.T - rowIndex - columnIndex - @Deprecated <T> T get(Class<T> targetType, int rowIndex, int columnIndex)
T.
So the column values must be the type which is assignable to target type.T - targetType - rowIndex - columnIndex - void set(int rowIndex,
int columnIndex,
Object element)
rowIndex - columnIndex - element - boolean isNull(int rowIndex,
int columnIndex)
rowIndex - columnIndex - <T> T get(int columnIndex)
T.
So the column values must be the type which is assignable to target type.T - columnIndex - <T> T get(String columnName)
T.
So the column values must be the type which is assignable to target type.T - columnName - @Deprecated <T> T get(Class<T> targetType, int columnIndex)
T.
So the column values must be the type which is assignable to target type.T - targetType - columnIndex - @Deprecated <T> T get(Class<T> targetType, String columnName)
T.
So the column values must be the type which is assignable to target type.T - targetType - columnName - @Deprecated <T> T getOrDefault(int columnIndex, T defaultValue)
columnIndex is equal or bigger than zero,
or the specified defaultValue otherwise.
T.
So the column values must be the type which is assignable to target type.T - columnIndex - defaultValue - @Deprecated <T> T getOrDefault(String columnName, T defaultValue)
columnName exists,
or the specified defaultValue otherwise.
T.
So the column values must be the type which is assignable to target type.T - columnName - defaultValue - boolean getBoolean(int columnIndex)
Boolean.
So the column values must be the type which is assignable to target type.columnIndex - boolean getBoolean(String columnName)
Boolean.
So the column values must be the type which is assignable to target type.columnName - char getChar(int columnIndex)
Character.
So the column values must be the type which is assignable to target type.columnIndex - char getChar(String columnName)
Character.
So the column values must be the type which is assignable to target type.columnName - byte getByte(int columnIndex)
Byte.
So the column values must be the type which is assignable to target type, or Number.columnIndex - byte getByte(String columnName)
Byte.
So the column values must be the type which is assignable to target type, or Number.columnName - short getShort(int columnIndex)
Short.
So the column values must be the type which is assignable to target type, or Number.columnIndex - short getShort(String columnName)
Short.
So the column values must be the type which is assignable to target type, or Number.columnName - int getInt(int columnIndex)
Integer.
So the column values must be the type which is assignable to target type, or Number.columnIndex - int getInt(String columnName)
Integer.
So the column values must be the type which is assignable to target type, or Number.columnName - long getLong(int columnIndex)
Long.
So the column values must be the type which is assignable to target type, or Number.columnIndex - long getLong(String columnName)
Long.
So the column values must be the type which is assignable to target type, or Number.columnName - float getFloat(int columnIndex)
Float.
So the column values must be the type which is assignable to target type, or Number.columnIndex - float getFloat(String columnName)
Float.
So the column values must be the type which is assignable to target type, or Number.columnName - double getDouble(int columnIndex)
Double.
So the column values must be the type which is assignable to target type, or Number.columnIndex - double getDouble(String columnName)
Double.
So the column values must be the type which is assignable to target type, or Number.columnName - boolean isNull(int columnIndex)
columnIndex - boolean isNull(String columnName)
columnName - void set(int columnIndex,
Object value)
columnIndex - value - <T> ImmutableList<T> getColumn(int columnIndex)
T - columnIndex - <T> ImmutableList<T> getColumn(String columnName)
T - columnName - void addColumn(int columnIndex,
String columnName,
List<?> column)
columnIndex - position to add.columnName - column - <T,E extends Exception> void addColumn(String newColumnName, String fromColumnName, Throwables.Function<T,?,E> func) throws E extends Exception
Function.T - E - newColumnName - fromColumnName - func - E - the eE extends Exception<T,E extends Exception> void addColumn(int columnIndex, String newColumnName, String fromColumnName, Throwables.Function<T,?,E> func) throws E extends Exception
Function.T - E - columnIndex - newColumnName - fromColumnName - func - E - the eE extends Exception<E extends Exception> void addColumn(String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> func) throws E extends Exception
Function.E - newColumnName - fromColumnNames - func - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void addColumn(int columnIndex, String newColumnName, Collection<String> fromColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> func) throws E extends Exception
Function.E - columnIndex - newColumnName - fromColumnNames - func - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void addColumn(String newColumnName, Tuple.Tuple2<String,String> fromColumnNames, Throwables.BiFunction<?,?,?,E> func) throws E extends Exception
Function.E - newColumnName - fromColumnNames - func - E - the eE extends Exception<E extends Exception> void addColumn(int columnIndex, String newColumnName, Tuple.Tuple2<String,String> fromColumnNames, Throwables.BiFunction<?,?,?,E> func) throws E extends Exception
Function.E - columnIndex - newColumnName - fromColumnNames - func - E - the eE extends Exception<E extends Exception> void addColumn(String newColumnName, Tuple.Tuple3<String,String,String> fromColumnNames, Throwables.TriFunction<?,?,?,?,E> func) throws E extends Exception
Function.E - newColumnName - fromColumnNames - func - E - the eE extends Exception<E extends Exception> void addColumn(int columnIndex, String newColumnName, Tuple.Tuple3<String,String,String> fromColumnNames, Throwables.TriFunction<?,?,?,?,E> func) throws E extends Exception
Function.E - columnIndex - newColumnName - fromColumnNames - func - E - the eE extends Exception<T> List<T> removeColumn(String columnName)
T - columnName - void removeColumns(Collection<String> columnNames)
columnNames - <E extends Exception> void removeColumns(Throwables.Predicate<String,E> filter) throws E extends Exception
E - filter - E - the eE extends Exception@Deprecated <E extends Exception> void removeColumnsIf(Throwables.Predicate<String,E> filter) throws E extends Exception
filter.E - filter - column name filterE - the eE extends Exception<E extends Exception> void updateColumn(String columnName, Throwables.Function<?,?,E> func) throws E extends Exception
T - E - columnName - func - E - the eE extends Exception<E extends Exception> void updateColumns(Collection<String> columnNames, Throwables.Function<?,?,E> func) throws E extends Exception
T - E - columnNames - func - E - the eE extends Exceptionvoid convertColumn(String columnName, Class<?> targetType)
columnName - targetType - void convertColumns(Map<String,Class<?>> columnTargetTypes)
columnTargetTypes - void combineColumns(Collection<String> columnNames, String newColumnName, Class<?> newColumnClass)
columnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/Entity<E extends Exception> void combineColumns(Collection<String> columnNames, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> combineFunc) throws E extends Exception
E - columnNames - newColumnName - combineFunc - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void combineColumns(Tuple.Tuple2<String,String> columnNames, String newColumnName, Throwables.BiFunction<?,?,?,E> combineFunc) throws E extends Exception
E - columnNames - newColumnName - combineFunc - E - the eE extends Exception<E extends Exception> void combineColumns(Tuple.Tuple3<String,String,String> columnNames, String newColumnName, Throwables.TriFunction<?,?,?,?,E> combineFunc) throws E extends Exception
E - columnNames - newColumnName - combineFunc - E - the eE extends Exception<E extends Exception> void combineColumns(Throwables.Predicate<String,E> columnNameFilter, String newColumnName, Class<?> newColumnClass) throws E extends Exception
E - columnNameFilter - newColumnName - newColumnClass - E - the eE extends Exception<E extends Exception,E2 extends Exception> void combineColumns(Throwables.Predicate<String,E> columnNameFilter, String newColumnName, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E2> combineFunc) throws E extends Exception, E2 extends Exception
E - E2 - columnNameFilter - newColumnName - combineFunc - DON't cache or update the input parameter DisposableObjArray.E - the eE2 - the e2E extends Exception<T,E extends Exception> void divideColumn(String columnName, Collection<String> newColumnNames, Throwables.Function<T,? extends List<?>,E> divideFunc) throws E extends Exception
T - E - columnName - newColumnNames - divideFunc - E - the eE extends Exception<T,E extends Exception> void divideColumn(String columnName, Collection<String> newColumnNames, Throwables.BiConsumer<T,Object[],E> output) throws E extends Exception
T - E - columnName - newColumnNames - output - E - the eE extends Exception<T,E extends Exception> void divideColumn(String columnName, Tuple.Tuple2<String,String> newColumnNames, Throwables.BiConsumer<T,Pair<Object,Object>,E> output) throws E extends Exception
T - E - columnName - newColumnNames - output - E - the eE extends Exception<T,E extends Exception> void divideColumn(String columnName, Tuple.Tuple3<String,String,String> newColumnNames, Throwables.BiConsumer<T,Triple<Object,Object,Object>,E> output) throws E extends Exception
T - E - columnName - newColumnNames - output - E - the eE extends Exceptionvoid addRow(Object row)
row - can be Object[]/List/Map/Entity with getter/setter methodsvoid addRow(int rowIndex,
Object row)
rowIndex - row - can be Object[]/List/Map/Entity with getter/setter methodsvoid removeRow(int rowIndex)
rowIndex - void removeRows(int... indices)
indices - void removeRowRange(int inclusiveFromRowIndex,
int exclusiveToRowIndex)
inclusiveFromRowIndex - exclusiveToRowIndex - <E extends Exception> void updateRow(int rowIndex, Throwables.Function<?,?,E> func) throws E extends Exception
E - rowIndex - func - E - the eE extends Exception<E extends Exception> void updateRows(int[] indices, Throwables.Function<?,?,E> func) throws E extends Exception
E - indices - func - E - the eE extends Exception<E extends Exception> void updateAll(Throwables.Function<?,?,E> func) throws E extends Exception
E - func - E - the eE extends Exception<E extends Exception> void replaceIf(Throwables.Predicate<?,E> func, Object newValue) throws E extends Exception
E - func - newValue - E - the eE extends Exceptionint currentRowNum()
DataSet absolute(int rowNum)
rowNum - Object[] getRow(int rowNum)
rowNum - <T> T getRow(Class<? extends T> rowClass, int rowNum)
T - rowClass - it can be Object[]/List/Set/Map/EntityrowNum - <T> T getRow(Class<? extends T> rowClass, Collection<String> columnNames, int rowNum)
T - rowClass - it can be Object[]/List/Set/Map/EntitycolumnNames - rowNum - <T> T getRow(IntFunction<? extends T> rowSupplier, int rowNum)
T - rowSupplier - it can be Object[]/List/Set/Map/EntityrowNum - <T> T getRow(IntFunction<? extends T> rowSupplier, Collection<String> columnNames, int rowNum)
T - rowSupplier - it can be Object[]/List/Set/Map/EntitycolumnNames - rowNum - u.Optional<Object[]> firstRow()
Optional<Object[]><T> u.Optional<T> firstRow(Class<? extends T> rowClass)
T - rowClass - it can be Object[]/List/Set/Map/EntityOptional<E><T> u.Optional<T> firstRow(Class<? extends T> rowClass, Collection<String> columnNames)
T - rowClass - it can be Object[]/List/Set/Map/EntitycolumnNames - Optional<E><T> u.Optional<T> firstRow(IntFunction<? extends T> rowSupplier)
T - rowSupplier - it can be Object[]/List/Set/Map/EntityOptional<T><T> u.Optional<T> firstRow(IntFunction<? extends T> rowSupplier, Collection<String> columnNames)
T - rowSupplier - it can be Object[]/List/Set/Map/EntitycolumnNames - Optional<T>u.Optional<Object[]> lastRow()
Optional<Object[]><T> u.Optional<T> lastRow(Class<? extends T> rowClass)
T - rowClass - it can be Object[]/List/Set/Map/EntityOptional<E><T> u.Optional<T> lastRow(Class<? extends T> rowClass, Collection<String> columnNames)
T - rowClass - it can be Object[]/List/Set/Map/Entity
which can be object array/list/set/map/entity.columnNames - Optional<E><T> u.Optional<T> lastRow(IntFunction<? extends T> rowSupplier)
T - rowSupplier - it can be Object[]/List/Set/Map/EntityOptional<T><T> u.Optional<T> lastRow(IntFunction<? extends T> rowSupplier, Collection<String> columnNames)
T - rowSupplier - it can be Object[]/List/Set/Map/EntitycolumnNames - Optional<T><E extends Exception> void forEach(Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E extends Exception
DataSet
until all rows have been processed or the action throws an
exception.E - action - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void forEach(Collection<String> columnNames, Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E extends Exception
DataSet
until all rows have been processed or the action throws an
exception.E - columnNames - action - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void forEach(int fromRowIndex, int toRowIndex, Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E extends Exception
DataSet
until all rows have been processed or the action throws an
exception.E - fromRowIndex - toRowIndex - action - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void forEach(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Consumer<? super NoCachingNoUpdating.DisposableObjArray,E> action) throws E extends Exception
DataSet
until all rows have been processed or the action throws an
exception.E - columnNames - fromRowIndex - toRowIndex - action - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> void forEach(Tuple.Tuple2<String,String> columnNames, Throwables.BiConsumer<?,?,E> action) throws E extends Exception
E - columnNames - action - E - the eE extends Exception<E extends Exception> void forEach(Tuple.Tuple2<String,String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiConsumer<?,?,E> action) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - action - E - the eE extends Exception<E extends Exception> void forEach(Tuple.Tuple3<String,String,String> columnNames, Throwables.TriConsumer<?,?,?,E> action) throws E extends Exception
E - columnNames - action - E - the eE extends Exception<E extends Exception> void forEach(Tuple.Tuple3<String,String,String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriConsumer<?,?,?,E> action) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - action - E - the eE extends ExceptionList<Object[]> toList(int fromRowIndex, int toRowIndex)
fromRowIndex - toRowIndex - <T> List<T> toList(Class<? extends T> rowClass)
T - rowClass - it can be Object[]/List/Set/Map/Entity<T> List<T> toList(Class<? extends T> rowClass, int fromRowIndex, int toRowIndex)
T - rowClass - it can be Object[]/List/Set/Map/EntityfromRowIndex - toRowIndex - <T> List<T> toList(Class<? extends T> rowClass, Collection<String> columnNames)
T - rowClass - it can be Object[]/List/Set/Map/EntitycolumnNames - <T> List<T> toList(Class<? extends T> rowClass, Collection<String> columnNames, int fromRowIndex, int toRowIndex)
T - rowClass - it can be Object[]/List/Set/Map/EntitycolumnNames - fromRowIndex - toRowIndex - <T,E extends Exception,E2 extends Exception> List<T> toList(Class<? extends T> rowClass, Throwables.Predicate<? super String,E> columnFilter, Throwables.Function<? super String,String,E2> columnConverter) throws E extends Exception, E2 extends Exception
T - rowClass - it can be Object[]/List/Set/Map/EntitycolumnFilter - columnConverter - E extends Exception<T,E extends Exception,E2 extends Exception> List<T> toList(Class<? extends T> rowClass, Throwables.Predicate<? super String,E> columnFilter, Throwables.Function<? super String,String,E2> columnConverter, int fromRowIndex, int toRowIndex) throws E extends Exception, E2 extends Exception
T - rowClass - it can be Object[]/List/Set/Map/EntitycolumnFilter - columnConverter - fromRowIndex - toRowIndex - E extends Exception<T> List<T> toList(IntFunction<? extends T> rowSupplier)
T - rowSupplier - it can be Object[]/List/Set/Map/Entity<T> List<T> toList(IntFunction<? extends T> rowSupplier, int fromRowIndex, int toRowIndex)
T - rowSupplier - it can be Object[]/List/Set/Map/EntityfromRowIndex - toRowIndex - <T> List<T> toList(IntFunction<? extends T> rowSupplier, Collection<String> columnNames)
T - rowSupplier - it can be Object[]/List/Set/Map/EntitycolumnNames - <T> List<T> toList(IntFunction<? extends T> rowSupplier, Collection<String> columnNames, int fromRowIndex, int toRowIndex)
T - rowSupplier - it can be Object[]/List/Set/Map/EntitycolumnNames - fromRowIndex - toRowIndex - <K,V> Map<K,V> toMap(String keyColumnName, String valueColumnName)
K - the key typeV - the value typekeyColumnName - valueColumnName - <K,V> Map<K,V> toMap(String keyColumnName, String valueColumnName, int fromRowIndex, int toRowIndex)
K - the key typeV - the value typekeyColumnName - valueColumnName - fromRowIndex - toRowIndex - <K,V,M extends Map<K,V>> M toMap(String keyColumnName, String valueColumnName, int fromRowIndex, int toRowIndex, IntFunction<? extends M> supplier)
K - the key typeV - the value typeM - keyColumnName - valueColumnName - fromRowIndex - toRowIndex - supplier - <K,V> Map<K,V> toMap(Class<? extends V> rowClass, String keyColumnName, Collection<String> valueColumnNames)
K - the key typeV - the value typerowClass - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - <K,V> Map<K,V> toMap(Class<? extends V> rowClass, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex)
K - the key typeV - the value typerowClass - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - <K,V,M extends Map<K,V>> M toMap(Class<? extends V> rowClass, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex, IntFunction<? extends M> supplier)
K - the key typeV - the value typeM - rowClass - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - supplier - <K,V> Map<K,V> toMap(IntFunction<? extends V> rowSupplier, String keyColumnName, Collection<String> valueColumnNames)
K - the key typeV - the value typerowSupplier - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - <K,V> Map<K,V> toMap(IntFunction<? extends V> rowSupplier, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex)
K - the key typeV - the value typerowSupplier - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - <K,V,M extends Map<K,V>> M toMap(IntFunction<? extends V> rowSupplier, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex, IntFunction<? extends M> supplier)
K - the key typeV - the value typeM - rowSupplier - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - supplier - <K,E> ListMultimap<K,E> toMultimap(String keyColumnName, String valueColumnName)
K - the key typeE - keyColumnName - valueColumnName - <K,E> ListMultimap<K,E> toMultimap(String keyColumnName, String valueColumnName, int fromRowIndex, int toRowIndex)
K - the key typeE - keyColumnName - valueColumnName - fromRowIndex - toRowIndex - <K,E,V extends Collection<E>,M extends Multimap<K,E,V>> M toMultimap(String keyColumnName, String valueColumnName, int fromRowIndex, int toRowIndex, IntFunction<? extends M> supplier)
K - the key typeE - V - the value typeM - keyColumnName - valueColumnName - fromRowIndex - toRowIndex - supplier - <K,E> ListMultimap<K,E> toMultimap(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames)
K - the key typeE - rowClass - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - <K,E> ListMultimap<K,E> toMultimap(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex)
K - the key typeE - rowClass - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - <K,E,V extends Collection<E>,M extends Multimap<K,E,V>> M toMultimap(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex, IntFunction<? extends M> supplier)
K - the key typeE - V - the value typeM - rowClass - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - supplier - <K,E> ListMultimap<K,E> toMultimap(IntFunction<? extends E> rowSupplier, String keyColumnName, Collection<String> valueColumnNames)
K - the key typeE - rowSupplier - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - <K,E> ListMultimap<K,E> toMultimap(IntFunction<? extends E> rowSupplier, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex)
K - the key typeE - rowSupplier - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - <K,E,V extends Collection<E>,M extends Multimap<K,E,V>> M toMultimap(IntFunction<? extends E> rowSupplier, String keyColumnName, Collection<String> valueColumnNames, int fromRowIndex, int toRowIndex, IntFunction<? extends M> supplier)
K - the key typeE - V - the value typeM - rowSupplier - it can be Object[]/List/Set/Map/EntitykeyColumnName - valueColumnNames - fromRowIndex - toRowIndex - supplier - <T> List<T> toMergedEntities(Class<T> entityClass)
T - entityClass - <T> List<T> toMergedEntities(Class<T> entityClass, Collection<String> selectPropNames)
T - entityClass - selectPropNames - <T> List<T> toMergedEntities(Class<T> entityClass, String idPropName)
T - entityClass - idPropName - <T> List<T> toMergedEntities(Class<T> entityClass, String idPropName, Collection<String> selectPropNames)
T - entityClass - idPropName - selectPropNames - <T> List<T> toMergedEntities(Class<T> entityClass, List<String> idPropNames, Collection<String> selectPropNames)
T - entityClass - idPropNames - selectPropNames - String toJSON()
String toJSON(int fromRowIndex, int toRowIndex)
fromRowIndex - toRowIndex - String toJSON(Collection<String> columnNames, int fromRowIndex, int toRowIndex)
columnNames - fromRowIndex - toRowIndex - void toJSON(File output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toJSON(File output, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toJSON(File output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toJSON(OutputStream output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toJSON(OutputStream output, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toJSON(OutputStream output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toJSON(Writer output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toJSON(Writer output, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toJSON(Writer output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionString toXML()
String toXML(int fromRowIndex, int toRowIndex)
fromRowIndex - toRowIndex - String toXML(String rowElementName, int fromRowIndex, int toRowIndex)
rowElementName - fromRowIndex - toRowIndex - String toXML(Collection<String> columnNames, int fromRowIndex, int toRowIndex)
columnNames - fromRowIndex - toRowIndex - String toXML(String rowElementName, Collection<String> columnNames, int fromRowIndex, int toRowIndex)
rowElementName - columnNames - fromRowIndex - toRowIndex - void toXML(File output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toXML(File output, String rowElementName) throws UncheckedIOException
output - rowElementName - UncheckedIOException - the unchecked IO exceptionvoid toXML(File output, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(File output, String rowElementName, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - rowElementName - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(File output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(File output, String rowElementName, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - rowElementName - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(OutputStream output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toXML(OutputStream output, String rowElementName) throws UncheckedIOException
output - rowElementName - UncheckedIOException - the unchecked IO exceptionvoid toXML(OutputStream output, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(OutputStream output, String rowElementName, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - rowElementName - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(OutputStream output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(OutputStream output, String rowElementName, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - rowElementName - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(Writer output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toXML(Writer output, String rowElementName) throws UncheckedIOException
output - rowElementName - UncheckedIOException - the unchecked IO exceptionvoid toXML(Writer output, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(Writer output, String rowElementName, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - rowElementName - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(Writer output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toXML(Writer output, String rowElementName, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - rowElementName - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionString toCSV()
String toCSV(Collection<String> columnNames, int fromRowIndex, int toRowIndex)
columnNames - fromRowIndex - toRowIndex - String toCSV(boolean writeTitle, boolean quoteValue)
writeTitle - quoteValue - String toCSV(Collection<String> columnNames, int fromRowIndex, int toRowIndex, boolean writeTitle, boolean quoteValue)
columnNames - fromRowIndex - toRowIndex - writeTitle - quoteValue - void toCSV(File output) throws UncheckedIOException
output - UncheckedIOException - the unchecked IO exceptionvoid toCSV(File output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toCSV(File output, boolean writeTitle, boolean quoteValue) throws UncheckedIOException
output - writeTitle - quoteValue - UncheckedIOException - the unchecked IO exceptionvoid toCSV(File output, Collection<String> columnNames, int fromRowIndex, int toRowIndex, boolean writeTitle, boolean quoteValue) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - writeTitle - quoteValue - UncheckedIOException - the unchecked IO exceptionvoid toCSV(OutputStream output)
output - UncheckedIOException - the unchecked IO exceptionvoid toCSV(OutputStream output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toCSV(OutputStream output, boolean writeTitle, boolean quoteValue) throws UncheckedIOException
output - writeTitle - quoteValue - UncheckedIOException - the unchecked IO exceptionvoid toCSV(OutputStream output, Collection<String> columnNames, int fromRowIndex, int toRowIndex, boolean writeTitle, boolean quoteValue) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - writeTitle - quoteValue - UncheckedIOException - the unchecked IO exceptionvoid toCSV(Writer output)
output - UncheckedIOException - the unchecked IO exceptionvoid toCSV(Writer output, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionvoid toCSV(Writer output, boolean writeTitle, boolean quoteValue) throws UncheckedIOException
output - writeTitle - quoteValue - UncheckedIOException - the unchecked IO exceptionvoid toCSV(Writer output, Collection<String> columnNames, int fromRowIndex, int toRowIndex, boolean writeTitle, boolean quoteValue) throws UncheckedIOException
output - columnNames - fromRowIndex - toRowIndex - writeTitle - quoteValue - UncheckedIOException - the unchecked IO exception@Deprecated DataSet groupBy(String columnName)
columnName - specifying the column to group by.<T> DataSet groupBy(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T,?,?> collector)
T - columnName - aggregateResultColumnName - aggregateOnColumnName - collector - DataSet groupBy(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
columnName - aggregateResultColumnName - aggregateOnColumnNames - rowClass - DataSet groupBy(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
columnName - aggregateResultColumnName - aggregateOnColumnNames - collector - <U,E extends Exception> DataSet groupBy(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E> rowMapper, Collector<? super U,?,?> collector) throws E extends Exception
U - E - columnName - aggregateResultColumnName - aggregateOnColumnNames - rowMapper - DON't cache or update the input parameter DisposableObjArray.collector - E - the eE extends Exception@Deprecated <K,E extends Exception> DataSet groupBy(String columnName, Throwables.Function<K,?,E> keyMapper) throws E extends Exception
K - the key typeE - columnName - keyMapper - E - the eE extends Exception<K,T,E extends Exception> DataSet groupBy(String columnName, Throwables.Function<K,?,E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T,?,?> collector) throws E extends Exception
K - the key typeT - E - columnName - keyMapper - aggregateResultColumnName - aggregateOnColumnName - collector - E - the eE extends Exception<K,E extends Exception> DataSet groupBy(String columnName, Throwables.Function<K,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) throws E extends Exception
K - the key typeE - columnName - keyMapper - aggregateResultColumnName - aggregateOnColumnNames - rowClass - E - the eE extends Exception<K,E extends Exception> DataSet groupBy(String columnName, Throwables.Function<K,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector) throws E extends Exception
K - the key typeE - columnName - keyMapper - aggregateResultColumnName - aggregateOnColumnNames - collector - E - the eE extends Exception<K,U,E extends Exception,E2 extends Exception> DataSet groupBy(String columnName, Throwables.Function<K,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E2> rowMapper, Collector<? super U,?,?> collector) throws E extends Exception, E2 extends Exception
K - the key typeU - E - E2 - columnName - keyMapper - DON't cache or update the input parameter DisposableObjArray.aggregateResultColumnName - aggregateOnColumnNames - rowMapper - DON't cache or update the input parameter DisposableObjArray.collector - E - the eE2 - the e2E extends ExceptionDataSet groupBy(Collection<String> columnNames)
columnNames - <T> DataSet groupBy(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T,?,?> collector)
T - columnNames - aggregateResultColumnName - aggregateOnColumnName - collector - DataSet groupBy(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass)
columnNames - aggregateResultColumnName - aggregateOnColumnNames - rowClass - DataSet groupBy(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector)
columnNames - aggregateResultColumnName - aggregateOnColumnNames - collector - <U,E extends Exception> DataSet groupBy(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E> rowMapper, Collector<? super U,?,?> collector) throws E extends Exception
U - E - columnNames - aggregateResultColumnName - aggregateOnColumnNames - rowMapper - DON't cache or update the input parameter DisposableObjArray.collector - E - the eE extends Exception<E extends Exception> DataSet groupBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper) throws E extends Exception
E - columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<T,E extends Exception> DataSet groupBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T,?,?> collector) throws E extends Exception
T - E - columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray.aggregateResultColumnName - aggregateOnColumnName - collector - E - the eE extends Exception<E extends Exception> DataSet groupBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) throws E extends Exception
E - columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray or its values(Array)aggregateResultColumnName - aggregateOnColumnNames - rowClass - E - the eE extends Exception<E extends Exception> DataSet groupBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[],?,?> collector) throws E extends Exception
E - columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray or its values(Array)aggregateResultColumnName - aggregateOnColumnNames - collector - E - the eE extends Exception<U,E extends Exception,E2 extends Exception> DataSet groupBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E2> rowMapper, Collector<? super U,?,?> collector) throws E extends Exception, E2 extends Exception
U - E - E2 - columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray.aggregateResultColumnName - aggregateOnColumnNames - rowMapper - DON't cache or update the input parameter DisposableObjArray.collector - E - the eE2 - the e2E extends Exceptionvoid sortBy(String columnName)
columnName - <T> void sortBy(String columnName, Comparator<T> cmp)
T - columnName - cmp - void sortBy(Collection<String> columnNames)
columnNames - void sortBy(Collection<String> columnNames, Comparator<? super Object[]> cmp)
columnNames - cmp - void sortBy(Collection<String> columnNames, Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper)
columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray.<T> DataSet topBy(String columnName, int n, Comparator<T> cmp)
T - columnName - n - cmp - DataSet topBy(Collection<String> columnNames, int n)
columnNames - n - DataSet topBy(Collection<String> columnNames, int n, Comparator<? super Object[]> cmp)
columnNames - n - cmp - DataSet topBy(Collection<String> columnNames, int n, Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper)
columnNames - n - keyMapper - DON't cache or update the input parameter DisposableObjArray.DataSet distinct()
DataSet with the rows de-duplicated by the values in all columns.DataSet distinctBy(String columnName)
DataSet with the rows de-duplicated by the value in the specified column.columnName - <K,E extends Exception> DataSet distinctBy(String columnName, Throwables.Function<K,?,E> keyMapper) throws E extends Exception
DataSet with the rows de-duplicated by the value in the specified column from the specified fromRowIndex to toRowIndex.K - the key typeE - columnName - keyMapper - don't change value of the input parameter.E - the eE extends ExceptionDataSet distinctBy(Collection<String> columnNames)
DataSet with the rows de-duplicated by the values in the specified columns.columnNames - <E extends Exception> DataSet distinctBy(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper) throws E extends Exception
DataSet with the rows de-duplicated by the values in the specified columns from the specified fromRowIndex to toRowIndex.E - columnNames - keyMapper - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> DataSet filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E extends Exception
E - filter - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> DataSet filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E extends Exception
E - filter - DON't cache or update the input parameter DisposableObjArray.max - E - the eE extends Exception<E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E extends Exception
E - fromRowIndex - toRowIndex - filter - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> DataSet filter(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E extends Exception
E - fromRowIndex - toRowIndex - filter - DON't cache or update the input parameter DisposableObjArray.max - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple2<String,String> columnNames, Throwables.BiPredicate<?,?,E> filter) throws E extends Exception
E - columnNames - filter - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple2<String,String> columnNames, Throwables.BiPredicate<?,?,E> filter, int max) throws E extends Exception
E - columnNames - filter - max - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple2<String,String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiPredicate<?,?,E> filter) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - filter - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple2<String,String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiPredicate<?,?,E> filter, int max) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - filter - max - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple3<String,String,String> columnNames, Throwables.TriPredicate<?,?,?,E> filter) throws E extends Exception
E - columnNames - filter - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple3<String,String,String> columnNames, Throwables.TriPredicate<?,?,?,E> filter, int max) throws E extends Exception
E - columnNames - filter - max - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple3<String,String,String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriPredicate<?,?,?,E> filter) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - filter - E - the eE extends Exception<E extends Exception> DataSet filter(Tuple.Tuple3<String,String,String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriPredicate<?,?,?,E> filter, int max) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - filter - max - E - the eE extends Exception<T,E extends Exception> DataSet filter(String columnName, Throwables.Predicate<T,E> filter) throws E extends Exception
T - E - columnName - filter - E - the eE extends Exception<T,E extends Exception> DataSet filter(String columnName, Throwables.Predicate<T,E> filter, int max) throws E extends Exception
T - E - columnName - filter - max - E - the eE extends Exception<T,E extends Exception> DataSet filter(String columnName, int fromRowIndex, int toRowIndex, Throwables.Predicate<T,E> filter) throws E extends Exception
T - E - columnName - fromRowIndex - toRowIndex - filter - E - the eE extends Exception<T,E extends Exception> DataSet filter(String columnName, int fromRowIndex, int toRowIndex, Throwables.Predicate<T,E> filter, int max) throws E extends Exception
T - E - columnName - fromRowIndex - toRowIndex - filter - max - E - the eE extends Exception<E extends Exception> DataSet filter(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E extends Exception
E - columnNames - filter - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> DataSet filter(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E extends Exception
E - columnNames - filter - DON't cache or update the input parameter DisposableObjArray.max - E - the eE extends Exception<E extends Exception> DataSet filter(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - filter - DON't cache or update the input parameter DisposableObjArray.E - the eE extends Exception<E extends Exception> DataSet filter(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter, int max) throws E extends Exception
E - columnNames - fromRowIndex - toRowIndex - filter - DON't cache or update the input parameter DisposableObjArray.max - E - the eE extends Exception<E extends Exception> DataSet map(String fromColumnName, Throwables.Function<?,?,E> func, String newColumnName, String copyingColumnName) throws E extends Exception
E - fromColumnName - func - newColumnName - copyingColumnName - E - the eE extends Exception<E extends Exception> DataSet map(String fromColumnName, Throwables.Function<?,?,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnName - func - newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet map(Tuple.Tuple2<String,String> fromColumnNames, Throwables.BiFunction<?,?,?,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnNames - func - newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet map(Tuple.Tuple3<String,String,String> fromColumnNames, Throwables.TriFunction<?,?,?,?,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnNames - func - newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet map(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray,?,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnNames - func - DON't cache or update the input parameter DisposableObjArray.newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet flatMap(String fromColumnName, Throwables.Function<?,? extends Collection<?>,E> func, String newColumnName, String copyingColumnName) throws E extends Exception
E - fromColumnName - func - newColumnName - copyingColumnName - E - the eE extends Exception<E extends Exception> DataSet flatMap(String fromColumnName, Throwables.Function<?,? extends Collection<?>,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnName - func - newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet flatMap(Tuple.Tuple2<String,String> fromColumnNames, Throwables.BiFunction<?,?,? extends Collection<?>,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnNames - func - newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet flatMap(Tuple.Tuple3<String,String,String> fromColumnNames, Throwables.TriFunction<?,?,?,? extends Collection<?>,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnNames - func - newColumnName - copyingColumnNames - E - the eE extends Exception<E extends Exception> DataSet flatMap(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray,? extends Collection<?>,E> func, String newColumnName, Collection<String> copyingColumnNames) throws E extends Exception
E - fromColumnNames - func - DON't cache or update the input parameter DisposableObjArray.newColumnName - copyingColumnNames - E - the eE extends ExceptionDataSet innerJoin(DataSet right, String columnName, String refColumnName)
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.right - columnName - refColumnName - DataSet innerJoin(DataSet right, Map<String,String> onColumnNames)
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.right - onColumnNames - DataSet innerJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntityDataSet innerJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
DataSet that is limited to the rows where there is a match in both this DataSet and right DataSet.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntitycollSupplier - it's for one-to-many joinDataSet leftJoin(DataSet right, String columnName, String refColumnName)
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.right - columnName - refColumnName - DataSet leftJoin(DataSet right, Map<String,String> onColumnNames)
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.right - onColumnNames - DataSet leftJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
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.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntityDataSet leftJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
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.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntitycollSupplier - it's for one-to-many joinDataSet rightJoin(DataSet right, String columnName, String refColumnName)
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.right - columnName - refColumnName - DataSet rightJoin(DataSet right, Map<String,String> onColumnNames)
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.right - onColumnNames - DataSet rightJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
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.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntityDataSet rightJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
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.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntitycollSupplier - it's for one-to-many joinDataSet fullJoin(DataSet right, String columnName, String refColumnName)
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.right - columnName - refColumnName - DataSet fullJoin(DataSet right, Map<String,String> onColumnNames)
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.right - onColumnNames - DataSet fullJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass)
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntityDataSet fullJoin(DataSet right, Map<String,String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier)
DataSet that has all the rows from this DataSet and the specified right DataSet, regardless of whether there are any matches.right - onColumnNames - newColumnName - newColumnClass - it can be Object[]/List/Set/Map/EntitycollSupplier - it's for one-to-many joinDataSet union(DataSet dataSet)
DataSet. Duplicated row in the specified DataSet will be eliminated.dataSet - DataSet unionAll(DataSet dataSet)
DataSet. Duplicated row in the specified DataSet will not be eliminated.dataSet - DataSet intersect(DataSet other)
DataSet with all rows from this DataSet and which also appear in the specified other in common columns.
This operation removes duplicate rows from the final result set.other - DataSet intersectAll(DataSet other)
DataSet with all rows from this DataSet and which also appear in the specified other in common columns.
This operation doesn't remove duplicate rows from the final result set.other - Collection.retainAll(Collection)DataSet intersection(DataSet dataSet)
DataSet with all rows from this DataSet and which also appear in the specified other in common columns by occurrences.
This operation only cares the occurrences of rows in both DataSet. it doesn't remove duplicate.dataSet - com.landawn.abacus.util.IntList#intersection(com.landawn.abacus.util.IntList)DataSet except(DataSet other)
DataSet with all rows from this DataSet and which not appear in the specified other in common columns.other - Collection.removeAll(Collection)DataSet difference(DataSet dataSet)
DataSet.dataSet - com.landawn.abacus.util.IntList#difference(com.landawn.abacus.util.IntList)DataSet symmetricDifference(DataSet dataSet)
dataSet - com.landawn.abacus.util.IntList#symmetricDifference(com.landawn.abacus.util.IntList)DataSet merge(DataSet from)
DataSet by appending the specified from DataSet into this DataSet.from - DataSet merge(DataSet from, Collection<String> columnNames)
DataSet by appending the specified from DataSet into this DataSet.from - columnNames - DataSet merge(DataSet from, int fromRowIndex, int toRowIndex)
DataSet by appending the specified from DataSet from fromRowIndex to toRowIndex into this DataSet.from - fromRowIndex - toRowIndex - DataSet merge(DataSet from, Collection<String> columnNames, int fromRowIndex, int toRowIndex)
DataSet by appending the specified columnNames in from DataSet from fromRowIndex to toRowIndex into this DataSet.from - columnNames - fromRowIndex - toRowIndex - DataSet merge(Collection<? extends DataSet> dss)
dss - List<DataSet> splitToList(int chunkSize)
chunkSize - List<DataSet> splitToList(Collection<String> columnNames, int chunkSize)
columnNames - chunkSize - @Deprecated List<DataSet> splitt(int chunkSize)
splitToList(int)chunkSize - @Deprecated List<DataSet> splitt(Collection<String> columnNames, int chunkSize)
splitToList(Collection, int)columnNames - chunkSize - DataSet slice(Collection<String> columnNames)
DataSet.columnNames - List.subList(int, int).DataSet slice(int fromRowIndex, int toRowIndex)
DataSet.fromRowIndex - toRowIndex - List.subList(int, int).DataSet slice(Collection<String> columnNames, int fromRowIndex, int toRowIndex)
DataSet.columnNames - fromRowIndex - toRowIndex - List.subList(int, int).DataSet copy()
DataSet.
The frozen status of the copy will always be false, even the original DataSet is frozen.DataSet copy(Collection<String> columnNames)
DataSet with specified column name list.
The frozen status of the copy will always be false, even the original DataSet is frozen.columnNames - DataSet copy(int fromRowIndex, int toRowIndex)
DataSet from the specified fromRowIndex to toRowIndex.
The frozen status of the copy will always be false, even the original DataSet is frozen.fromRowIndex - toRowIndex - DataSet copy(Collection<String> columnNames, int fromRowIndex, int toRowIndex)
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.columnNames - fromRowIndex - toRowIndex - DataSet clone()
DataSet by Serialization/Deserialization.DataSet clone(boolean freeze)
DataSet by Serialization/Deserialization.freeze - <A,B> BiIterator<A,B> iterator(String columnNameA, String columnNameB)
A - B - columnNameA - columnNameB - <A,B> BiIterator<A,B> iterator(String columnNameA, String columnNameB, int fromRowIndex, int toRowIndex)
A - B - columnNameA - columnNameB - fromRowIndex - toRowIndex - PaginatedDataSet paginate(int pageSize)
pageSize - PaginatedDataSet paginate(Collection<String> columnNames, int pageSize)
columnNames - pageSize - <R,E extends Exception> R apply(Throwables.Function<? super DataSet,R,E> func) throws E extends Exception
R - E - func - E - the eE extends Exception<E extends Exception> void accept(Throwables.Consumer<? super DataSet,E> action) throws E extends Exception
E - action - E - the eE extends Exceptionvoid freeze()
boolean frozen()
void clear()
boolean isEmpty()
void trimToSize()
int size()
DataSet.@Beta Properties<String,Object> properties()
Map<String,ImmutableList<Object>> columnMap()
DataSet.void println()
throws UncheckedIOException
UncheckedIOException - the unchecked IO exceptionvoid println(Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exception<W extends Writer> W println(W outputWriter) throws UncheckedIOException
W - outputWriter - UncheckedIOException - the unchecked IO exception<W extends Writer> W println(W outputWriter, Collection<String> columnNames, int fromRowIndex, int toRowIndex) throws UncheckedIOException
W - outputWriter - columnNames - fromRowIndex - toRowIndex - UncheckedIOException - the unchecked IO exceptionCopyright © 2021. All rights reserved.