Uses of Interface
com.landawn.abacus.util.DataSet
-
Uses of DataSet in com.landawn.abacus.util
Modifier and TypeMethodDescriptionDataSet.absolute
(int rowIndex) Move the cursor to the specified row.RowDataSet.absolute
(int rowNum) DataSet.cartesianProduct
(DataSet b) RowDataSet.cartesianProduct
(DataSet b) DataSet.clone()
Deeply copy each element in thisDataSet
by Serialization/Deserialization.DataSet.clone
(boolean freeze) Deeply copy each element in thisDataSet
by Serialization/Deserialization.RowDataSet.clone()
RowDataSet.clone
(boolean freeze) DataSet.copy()
Returns the copy of thisDataSet
.DataSet.copy
(int fromRowIndex, int toRowIndex) Returns the copy of thisDataSet
from the specifiedfromRowIndex
totoRowIndex
.DataSet.copy
(Collection<String> columnNames) Returns the copy of thisDataSet
with specified column name list.DataSet.copy
(Collection<String> columnNames, int fromRowIndex, int toRowIndex) Returns the copy of thisDataSet
with specified column name list from the specifiedfromRowIndex
totoRowIndex
.RowDataSet.copy()
RowDataSet.copy
(int fromRowIndex, int toRowIndex) RowDataSet.copy
(Collection<String> columnNames) RowDataSet.copy
(Collection<String> columnNames, int fromRowIndex, int toRowIndex) PaginatedDataSet.currentPage()
Returns a frozenDataSet
.DataSet.difference
(DataSet dataSet) Returns a newDataSet
with different rows in common columns from the specifiedDataSet
, occurrences matter.RowDataSet.difference
(DataSet other) DataSet.distinct()
Returns a newDataSet
with the rows de-duplicated by the values in all columns.RowDataSet.distinct()
DataSet.distinctBy
(String columnName) Returns a newDataSet
with the rows de-duplicated by the value in the specified column.DataSet.distinctBy
(String columnName, Throwables.Function<K, ?, E> keyMapper) Returns a newDataSet
with the rows de-duplicated by the value in the specified column from the specifiedfromRowIndex
totoRowIndex
.DataSet.distinctBy
(Collection<String> columnNames) Returns a newDataSet
with the rows de-duplicated by the values in the specified columns.DataSet.distinctBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) Returns a newDataSet
with the rows de-duplicated by the values in the specified columns from the specifiedfromRowIndex
totoRowIndex
.RowDataSet.distinctBy
(String columnName) RowDataSet.distinctBy
(String columnName, Throwables.Function<K, ?, E> keyMapper) RowDataSet.distinctBy
(Collection<String> columnNames) RowDataSet.distinctBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) Returns a newDataSet
with all rows from this DataSet and which not appear in the specifiedother
in common columns.DataSet.filter
(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) DataSet.filter
(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) DataSet.filter
(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) DataSet.filter
(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) DataSet.filter
(Tuple.Tuple2<String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiPredicate<?, ?, E> filter) DataSet.filter
(Tuple.Tuple2<String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiPredicate<?, ?, E> filter, int max) DataSet.filter
(Tuple.Tuple2<String, String> columnNames, Throwables.BiPredicate<?, ?, E> filter) DataSet.filter
(Tuple.Tuple2<String, String> columnNames, Throwables.BiPredicate<?, ?, E> filter, int max) DataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriPredicate<?, ?, ?, E> filter) DataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriPredicate<?, ?, ?, E> filter, int max) DataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, Throwables.TriPredicate<?, ?, ?, E> filter) DataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, Throwables.TriPredicate<?, ?, ?, E> filter, int max) DataSet.filter
(String columnName, int fromRowIndex, int toRowIndex, Throwables.Predicate<T, E> filter) DataSet.filter
(String columnName, int fromRowIndex, int toRowIndex, Throwables.Predicate<T, E> filter, int max) DataSet.filter
(String columnName, Throwables.Predicate<T, E> filter) DataSet.filter
(String columnName, Throwables.Predicate<T, E> filter, int max) DataSet.filter
(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) DataSet.filter
(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) DataSet.filter
(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) DataSet.filter
(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) RowDataSet.filter
(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) RowDataSet.filter
(int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) RowDataSet.filter
(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) RowDataSet.filter
(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) RowDataSet.filter
(Tuple.Tuple2<String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiPredicate<?, ?, E> filter) RowDataSet.filter
(Tuple.Tuple2<String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.BiPredicate<?, ?, E> filter, int max) RowDataSet.filter
(Tuple.Tuple2<String, String> columnNames, Throwables.BiPredicate<?, ?, E> filter) RowDataSet.filter
(Tuple.Tuple2<String, String> columnNames, Throwables.BiPredicate<?, ?, E> filter, int max) RowDataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriPredicate<?, ?, ?, E> filter) RowDataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, int fromRowIndex, int toRowIndex, Throwables.TriPredicate<?, ?, ?, E> filter, int max) RowDataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, Throwables.TriPredicate<?, ?, ?, E> filter) RowDataSet.filter
(Tuple.Tuple3<String, String, String> columnNames, Throwables.TriPredicate<?, ?, ?, E> filter, int max) RowDataSet.filter
(String columnName, int fromRowIndex, int toRowIndex, Throwables.Predicate<T, E> filter) RowDataSet.filter
(String columnName, int fromRowIndex, int toRowIndex, Throwables.Predicate<T, E> filter, int max) RowDataSet.filter
(String columnName, Throwables.Predicate<T, E> filter) RowDataSet.filter
(String columnName, Throwables.Predicate<T, E> filter, int max) RowDataSet.filter
(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) RowDataSet.filter
(Collection<String> columnNames, int fromRowIndex, int toRowIndex, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) RowDataSet.filter
(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter) RowDataSet.filter
(Collection<String> columnNames, Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray, E> filter, int max) DataSet.flatMap
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.flatMap
(Tuple.Tuple3<String, String, String> fromColumnNames, Throwables.TriFunction<?, ?, ?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, String copyingColumnName) DataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.flatMap
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.flatMap
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.flatMap
(Tuple.Tuple3<String, String, String> fromColumnNames, Throwables.TriFunction<?, ?, ?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, String copyingColumnName) RowDataSet.flatMap
(String fromColumnName, Throwables.Function<?, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.flatMap
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ? extends Collection<?>, E> mapper, String newColumnName, Collection<String> copyingColumnNames) Returns a newDataSet
that has all the rows from thisDataSet
and the specifiedright DataSet
, regardless of whether there are any matches.Returns a newDataSet
that has all the rows from thisDataSet
and the specifiedright DataSet
, regardless of whether there are any matches.DataSet.fullJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that has all the rows from thisDataSet
and the specifiedright 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 newDataSet
that has all the rows from thisDataSet
and the specifiedright DataSet
, regardless of whether there are any matches.RowDataSet.fullJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.fullJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) PaginatedDataSet.getPage
(int pageNum) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.groupBy
(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) <T> DataSet
DataSet.groupBy
(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) DataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) <T> DataSet
DataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) 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) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.groupBy
(String columnName, Throwables.Function<K, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) <T> DataSet
RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.groupBy
(String columnName, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E2> func) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E2> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.groupBy
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, E> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, E> func) <T> DataSet
RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, E> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.groupBy
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.DataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.DataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.RowDataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
with all rows from this DataSet and which also appear in the specifiedother
in common columns.DataSet.intersectAll
(DataSet other) Returns a newDataSet
with all rows from this DataSet and which also appear in the specifiedother
in common columns.RowDataSet.intersectAll
(DataSet other) DataSet.intersection
(DataSet dataSet) Returns a newDataSet
with all rows from this DataSet and which also appear in the specifiedother
in common columns by occurrences.RowDataSet.intersection
(DataSet other) Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.DataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.DataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.RowDataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) static DataSet
CSVUtil.loadCSV
(File csvFile, long offset, long count, Throwables.Predicate<String[], E> filter, List<? extends com.landawn.abacus.type.Type> columnTypeList) Load the data from CSV.CSVUtil.loadCSV
(File csvFile, long offset, long count, Throwables.Predicate<String[], E> filter, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) Load the data from CSV.static DataSet
CSVUtil.loadCSV
(File csvFile, long offset, long count, List<? extends com.landawn.abacus.type.Type> columnTypeList) static DataSet
CSVUtil.loadCSV
(File csvFile, long offset, long count, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) static DataSet
CSVUtil.loadCSV
(File csvFile, Collection<String> selectColumnNames) static DataSet
CSVUtil.loadCSV
(File csvFile, Collection<String> selectColumnNames, long offset, long count) CSVUtil.loadCSV
(File csvFile, Collection<String> selectColumnNames, long offset, long count, Throwables.Predicate<String[], E> filter) Load the data from CSV.static DataSet
static DataSet
static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream) CSVUtil.loadCSV
(InputStream csvInputStream, long offset, long count, Throwables.Predicate<String[], E> filter, List<? extends com.landawn.abacus.type.Type> columnTypeList) Load the data from CSV.CSVUtil.loadCSV
(InputStream csvInputStream, long offset, long count, Throwables.Predicate<String[], E> filter, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) Load the data from CSV.static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream, long offset, long count, List<? extends com.landawn.abacus.type.Type> columnTypeList) static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream, long offset, long count, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream, Collection<String> selectColumnNames) static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream, Collection<String> selectColumnNames, long offset, long count) CSVUtil.loadCSV
(InputStream csvInputStream, Collection<String> selectColumnNames, long offset, long count, Throwables.Predicate<String[], E> filter) Load the data from CSV.static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream, List<? extends com.landawn.abacus.type.Type> columnTypeList) static DataSet
CSVUtil.loadCSV
(InputStream csvInputStream, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) static DataSet
CSVUtil.loadCSV
(Reader csvReader, long offset, long count, Throwables.Predicate<String[], E> filter, List<? extends com.landawn.abacus.type.Type> columnTypeList) Load the data from CSV.CSVUtil.loadCSV
(Reader csvReader, long offset, long count, Throwables.Predicate<String[], E> filter, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) Load the data from CSV.static DataSet
CSVUtil.loadCSV
(Reader csvReader, long offset, long count, List<? extends com.landawn.abacus.type.Type> columnTypeList) static DataSet
CSVUtil.loadCSV
(Reader csvReader, long offset, long count, Map<String, ? extends com.landawn.abacus.type.Type> columnTypeMap) static DataSet
CSVUtil.loadCSV
(Reader csvReader, Collection<String> selectColumnNames) static DataSet
CSVUtil.loadCSV
(Reader csvReader, Collection<String> selectColumnNames, long offset, long count) CSVUtil.loadCSV
(Reader csvReader, Collection<String> selectColumnNames, long offset, long count, Throwables.Predicate<String[], E> filter) Load the data from CSV.static DataSet
static DataSet
static DataSet
static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, File csvFile, Collection<String> selectColumnNames) static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, File csvFile, Collection<String> selectColumnNames, long offset, long count) CSVUtil.loadCSV
(Class<?> beanClass, File csvFile, Collection<String> selectColumnNames, long offset, long count, Throwables.Predicate<String[], E> filter) Load the data from CSV.static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, InputStream csvInputStream) static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, InputStream csvInputStream, Collection<String> selectColumnNames) static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, InputStream csvInputStream, Collection<String> selectColumnNames, long offset, long count) CSVUtil.loadCSV
(Class<?> beanClass, InputStream csvInputStream, Collection<String> selectColumnNames, long offset, long count, Throwables.Predicate<String[], E> filter) Load the data from CSV.static DataSet
static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, Reader csvReader, Collection<String> selectColumnNames) static DataSet
CSVUtil.loadCSV
(Class<?> beanClass, Reader csvReader, Collection<String> selectColumnNames, long offset, long count) CSVUtil.loadCSV
(Class<?> beanClass, Reader csvReader, Collection<String> selectColumnNames, long offset, long count, Throwables.Predicate<String[], E> filter) Load the data from CSV.DataSet.map
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.map
(Tuple.Tuple3<String, String, String> fromColumnNames, Throwables.TriFunction<?, ?, ?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, String copyingColumnName) DataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) DataSet.map
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.map
(Tuple.Tuple2<String, String> fromColumnNames, Throwables.BiFunction<?, ?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.map
(Tuple.Tuple3<String, String, String> fromColumnNames, Throwables.TriFunction<?, ?, ?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, String copyingColumnName) RowDataSet.map
(String fromColumnName, Throwables.Function<?, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) RowDataSet.map
(Collection<String> fromColumnNames, Throwables.Function<NoCachingNoUpdating.DisposableObjArray, ?, E> mapper, String newColumnName, Collection<String> copyingColumnNames) Returns a newDataSet
by appending the specifiedfrom
DataSet
into thisDataSet
.Returns a newDataSet
by appending the specifiedfrom
DataSet
fromfromRowIndex
totoRowIndex
into thisDataSet
.DataSet.merge
(DataSet from, Collection<String> columnNames) Returns a newDataSet
by appending the specifiedfrom
DataSet
into thisDataSet
.DataSet.merge
(DataSet from, Collection<String> columnNames, int fromRowIndex, int toRowIndex) Returns a newDataSet
by appending the specifiedcolumnNames
infrom
DataSet
fromfromRowIndex
totoRowIndex
into thisDataSet
.DataSet.merge
(Collection<? extends DataSet> dss) RowDataSet.merge
(DataSet from, Collection<String> columnNames) RowDataSet.merge
(DataSet from, Collection<String> columnNames, int fromRowIndex, int toRowIndex) RowDataSet.merge
(Collection<? extends DataSet> dss) PaginatedDataSet.nextPage()
PaginatedDataSet.previousPage()
Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.DataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.DataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.RowDataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) DataSet.slice
(int fromRowIndex, int toRowIndex) Returns a frozenDataSet
.DataSet.slice
(Collection<String> columnNames) Returns a frozenDataSet
.DataSet.slice
(Collection<String> columnNames, int fromRowIndex, int toRowIndex) Returns a frozenDataSet
.RowDataSet.slice
(int fromRowIndex, int toRowIndex) RowDataSet.slice
(Collection<String> columnNames) RowDataSet.slice
(Collection<String> columnNames, int fromRowIndex, int toRowIndex) DataSet.symmetricDifference
(DataSet dataSet) RowDataSet.symmetricDifference
(DataSet dataSet) ExceptionalStream.toDataSet()
The first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.If the specifiedcolumnNames
is null or empty, the first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.Sheet.toDataSetH()
To data set H.Sheet.toDataSetV()
To data set V.<T> DataSet
DataSet.topBy
(String columnName, int n, Comparator<T> cmp) 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) <T> DataSet
RowDataSet.topBy
(String columnName, int n, Comparator<T> cmp) RowDataSet.topBy
(Collection<String> columnNames, int n) RowDataSet.topBy
(Collection<String> columnNames, int n, Comparator<? super Object[]> cmp) RowDataSet.topBy
(Collection<String> columnNames, int n, Function<? super NoCachingNoUpdating.DisposableObjArray, ? extends Comparable> keyMapper) Returns a newDataSet
.Returns a newDataSet
.Modifier and TypeMethodDescriptionDataSet.cube
(Collection<String> columnNames) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.cube
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.cube
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) PaginatedDataSet.firstPage()
Returns the first page.PaginatedDataSet.lastPage()
Returns the last page.DataSet.rollup
(Collection<String> columnNames) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) DataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.rollup
(Collection<String> columnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, ?, ? extends Exception> keyMapper, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Throwables.Function<Stream<T>, ?, ? extends Exception> func) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, String aggregateOnColumnName, Collector<T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray, T, ? extends Exception> rowMapper, Collector<? super T, ?, ?> collector) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Class<?> rowClass) RowDataSet.rollup
(Collection<String> columnNames, String aggregateResultColumnName, Collection<String> aggregateOnColumnNames, Collector<? super Object[], ?, ?> collector) DataSet.split
(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.DataSet.split
(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.RowDataSet.split
(int chunkSize) RowDataSet.split
(Collection<String> columnNames, int chunkSize) DataSet.splitToList
(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.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.RowDataSet.splitToList
(int chunkSize) RowDataSet.splitToList
(Collection<String> columnNames, int chunkSize) PaginatedDataSet.stream()
Modifier and TypeMethodDescriptionDataSet.cartesianProduct
(DataSet b) RowDataSet.cartesianProduct
(DataSet b) DataSet.difference
(DataSet dataSet) Returns a newDataSet
with different rows in common columns from the specifiedDataSet
, occurrences matter.RowDataSet.difference
(DataSet other) Returns a newDataSet
with all rows from this DataSet and which not appear in the specifiedother
in common columns.Returns a newDataSet
that has all the rows from thisDataSet
and the specifiedright DataSet
, regardless of whether there are any matches.Returns a newDataSet
that has all the rows from thisDataSet
and the specifiedright DataSet
, regardless of whether there are any matches.DataSet.fullJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that has all the rows from thisDataSet
and the specifiedright 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 newDataSet
that has all the rows from thisDataSet
and the specifiedright DataSet
, regardless of whether there are any matches.RowDataSet.fullJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.fullJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.DataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.DataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that is limited to the rows where there is a match in boththis DataSet
andright DataSet
.RowDataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.innerJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
with all rows from this DataSet and which also appear in the specifiedother
in common columns.DataSet.intersectAll
(DataSet other) Returns a newDataSet
with all rows from this DataSet and which also appear in the specifiedother
in common columns.RowDataSet.intersectAll
(DataSet other) DataSet.intersection
(DataSet dataSet) Returns a newDataSet
with all rows from this DataSet and which also appear in the specifiedother
in common columns by occurrences.RowDataSet.intersection
(DataSet other) Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.DataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.DataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that has all the rows from thisDataSet
and the rows from the specifiedright DataSet
if they have a match with the rows from the thisDataSet
.RowDataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.leftJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
by appending the specifiedfrom
DataSet
into thisDataSet
.Returns a newDataSet
by appending the specifiedfrom
DataSet
fromfromRowIndex
totoRowIndex
into thisDataSet
.DataSet.merge
(DataSet from, Collection<String> columnNames) Returns a newDataSet
by appending the specifiedfrom
DataSet
into thisDataSet
.DataSet.merge
(DataSet from, Collection<String> columnNames, int fromRowIndex, int toRowIndex) Returns a newDataSet
by appending the specifiedcolumnNames
infrom
DataSet
fromfromRowIndex
totoRowIndex
into thisDataSet
.RowDataSet.merge
(DataSet from, Collection<String> columnNames) RowDataSet.merge
(DataSet from, Collection<String> columnNames, int fromRowIndex, int toRowIndex) static final Builder.DataSetBuilder
Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.DataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.DataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) Returns a newDataSet
that has all the rows from the specified rightDataSet
and the rows fromthis DataSet
if they have a match with the rows from the rightDataSet
.RowDataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass) RowDataSet.rightJoin
(DataSet right, Map<String, String> onColumnNames, String newColumnName, Class<?> newColumnClass, IntFunction<? extends Collection> collSupplier) DataSet.symmetricDifference
(DataSet dataSet) RowDataSet.symmetricDifference
(DataSet dataSet) Returns a newDataSet
.Returns a newDataSet
.Modifier and TypeMethodDescription<E extends Exception>
voidDataSet.accept
(Throwables.Consumer<? super DataSet, E> action) <E extends Exception>
voidRowDataSet.accept
(Throwables.Consumer<? super DataSet, E> action) <E extends Exception>
voidDataSet.acceptIfNotEmpty
(Throwables.Consumer<? super DataSet, E> action) <E extends Exception>
voidRowDataSet.acceptIfNotEmpty
(Throwables.Consumer<? super DataSet, E> action) <R,
E extends Exception>
RDataSet.apply
(Throwables.Function<? super DataSet, ? extends R, E> func) <R,
E extends Exception>
RRowDataSet.apply
(Throwables.Function<? super DataSet, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>DataSet.applyIfNotEmpty
(Throwables.Function<? super DataSet, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>RowDataSet.applyIfNotEmpty
(Throwables.Function<? super DataSet, ? extends R, E> func) DataSet.merge
(Collection<? extends DataSet> dss) RowDataSet.merge
(Collection<? extends DataSet> dss) -
Uses of DataSet in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract DataSet
Stream.toDataSet()
The first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.abstract DataSet
If the specifiedcolumnNames
is null or empty, the first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.