| Package | Description |
|---|---|
| com.landawn.abacus | |
| com.landawn.abacus.util | |
| com.landawn.abacus.util.stream |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSet.absolute(int rowNum)
Move the cursor to the specified row.
|
DataSet |
DataSet.cartesianProduct(DataSet b) |
DataSet |
DataSet.clone()
Deeply copy each element in this
DataSet by Serialization/Deserialization. |
DataSet |
DataSet.clone(boolean freeze)
Deeply copy each element in this
DataSet by Serialization/Deserialization. |
DataSet |
DataSet.copy()
Returns the copy of this
DataSet. |
DataSet |
DataSet.copy(Collection<String> columnNames)
Returns the copy of this
DataSet with specified column name list. |
DataSet |
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 |
DataSet.copy(int fromRowIndex,
int toRowIndex)
Returns the copy of this
DataSet from the specified fromRowIndex to toRowIndex. |
DataSet |
PaginatedDataSet.currentPage()
Returns a frozen
DataSet. |
DataSet |
DataSet.difference(DataSet dataSet)
Returns a new
DataSet. |
DataSet |
DataSet.distinct()
Returns a new
DataSet with the rows de-duplicated by the values in all columns. |
DataSet |
DataSet.distinctBy(Collection<String> columnNames)
Returns a new
DataSet with the rows de-duplicated by the values in the specified columns. |
<E extends Exception> |
DataSet.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 |
DataSet.distinctBy(String columnName)
Returns a new
DataSet with the rows de-duplicated by the value in the specified column. |
<K,E extends Exception> |
DataSet.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. |
DataSet |
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> |
DataSet.filter(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
DataSet.filter(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Collection<String> columnNames,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
DataSet.filter(Collection<String> columnNames,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
DataSet.filter(int fromRowIndex,
int toRowIndex,
Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<T,E extends Exception> |
DataSet.filter(String columnName,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<T,E> filter) |
<T,E extends Exception> |
DataSet.filter(String columnName,
int fromRowIndex,
int toRowIndex,
Throwables.Predicate<T,E> filter,
int max) |
<T,E extends Exception> |
DataSet.filter(String columnName,
Throwables.Predicate<T,E> filter) |
<T,E extends Exception> |
DataSet.filter(String columnName,
Throwables.Predicate<T,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter) |
<E extends Exception> |
DataSet.filter(Throwables.Predicate<? super NoCachingNoUpdating.DisposableObjArray,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiPredicate<?,?,E> filter) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.BiPredicate<?,?,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
Throwables.BiPredicate<?,?,E> filter) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple2<String,String> columnNames,
Throwables.BiPredicate<?,?,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple3<String,String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.TriPredicate<?,?,?,E> filter) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple3<String,String,String> columnNames,
int fromRowIndex,
int toRowIndex,
Throwables.TriPredicate<?,?,?,E> filter,
int max) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple3<String,String,String> columnNames,
Throwables.TriPredicate<?,?,?,E> filter) |
<E extends Exception> |
DataSet.filter(Tuple.Tuple3<String,String,String> columnNames,
Throwables.TriPredicate<?,?,?,E> filter,
int max) |
<E extends Exception> |
DataSet.flatMap(Collection<String> fromColumnNames,
Throwables.Function<NoCachingNoUpdating.DisposableObjArray,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
DataSet.flatMap(String fromColumnName,
Throwables.Function<?,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
DataSet.flatMap(String fromColumnName,
Throwables.Function<?,? extends Collection<?>,E> func,
String newColumnName,
String copyingColumnName) |
<E extends Exception> |
DataSet.flatMap(Tuple.Tuple2<String,String> fromColumnNames,
Throwables.BiFunction<?,?,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
DataSet.flatMap(Tuple.Tuple3<String,String,String> fromColumnNames,
Throwables.TriFunction<?,?,?,? extends Collection<?>,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
DataSet |
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 |
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 |
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 |
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. |
DataSet |
PaginatedDataSet.getPage(int pageNum) |
DataSet |
DataSet.groupBy(Collection<String> columnNames) |
DataSet |
DataSet.groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
DataSet |
DataSet.groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> 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) |
<T> DataSet |
DataSet.groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
<E extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper) |
<E extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
<E extends Exception> |
DataSet.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> |
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) |
<T,E extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
DataSet |
DataSet.groupBy(String columnName)
Deprecated.
|
DataSet |
DataSet.groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
DataSet |
DataSet.groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> 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) |
<T> DataSet |
DataSet.groupBy(String columnName,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
<K,E extends Exception> |
DataSet.groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper)
Deprecated.
|
<K,E extends Exception> |
DataSet.groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Class<?> rowClass) |
<K,E extends Exception> |
DataSet.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> |
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) |
<K,T,E extends Exception> |
DataSet.groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
DataSet |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
DataSet |
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 |
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 |
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 |
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> |
DataSet.map(Collection<String> fromColumnNames,
Throwables.Function<NoCachingNoUpdating.DisposableObjArray,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
DataSet.map(String fromColumnName,
Throwables.Function<?,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
DataSet.map(String fromColumnName,
Throwables.Function<?,?,E> func,
String newColumnName,
String copyingColumnName) |
<E extends Exception> |
DataSet.map(Tuple.Tuple2<String,String> fromColumnNames,
Throwables.BiFunction<?,?,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
<E extends Exception> |
DataSet.map(Tuple.Tuple3<String,String,String> fromColumnNames,
Throwables.TriFunction<?,?,?,?,E> func,
String newColumnName,
Collection<String> copyingColumnNames) |
DataSet |
DataSet.merge(Collection<? extends DataSet> dss) |
DataSet |
DataSet.merge(DataSet from)
Returns a new
DataSet by appending the specified from DataSet into this DataSet. |
DataSet |
DataSet.merge(DataSet from,
Collection<String> columnNames)
Returns a new
DataSet by appending the specified from DataSet into this DataSet. |
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 |
DataSet.merge(DataSet a,
DataSet b) |
DataSet |
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. |
DataSet |
PaginatedDataSet.nextPage() |
DataSet |
PaginatedDataSet.previousPage() |
DataSet |
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 |
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 |
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 |
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. |
DataSet |
DataSet.slice(Collection<String> columnNames)
Returns a frozen
DataSet. |
DataSet |
DataSet.slice(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex)
Returns a frozen
DataSet. |
DataSet |
DataSet.slice(int fromRowIndex,
int toRowIndex)
Returns a frozen
DataSet. |
DataSet |
DataSet.symmetricDifference(DataSet dataSet) |
DataSet |
DataSet.topBy(Collection<String> columnNames,
int n) |
DataSet |
DataSet.topBy(Collection<String> columnNames,
int n,
Comparator<? super Object[]> cmp) |
DataSet |
DataSet.topBy(Collection<String> columnNames,
int n,
Function<? super NoCachingNoUpdating.DisposableObjArray,? extends Comparable> keyMapper) |
DataSet |
DataSet.topBy(String columnName,
int n) |
<T> DataSet |
DataSet.topBy(String columnName,
int n,
Comparator<T> cmp) |
DataSet |
DataSet.union(DataSet dataSet)
Returns a new
DataSet. |
DataSet |
DataSet.unionAll(DataSet dataSet)
Returns a new
DataSet. |
| Modifier and Type | Method and Description |
|---|---|
u.Optional<DataSet> |
PaginatedDataSet.firstPage()
Returns the first page.
|
u.Optional<DataSet> |
PaginatedDataSet.lastPage()
Returns the last page.
|
List<DataSet> |
DataSet.splitt(Collection<String> columnNames,
int chunkSize)
Deprecated.
replaced by
splitToList(Collection, int) |
List<DataSet> |
DataSet.splitt(int chunkSize)
Deprecated.
replaced by
splitToList(int) |
List<DataSet> |
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> |
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.
|
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSet.cartesianProduct(DataSet b) |
DataSet |
DataSet.difference(DataSet dataSet)
Returns a new
DataSet. |
DataSet |
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. |
DataSet |
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 |
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 |
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 |
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. |
DataSet |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
DataSet |
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 |
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 |
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 |
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. |
DataSet |
DataSet.merge(DataSet from)
Returns a new
DataSet by appending the specified from DataSet into this DataSet. |
DataSet |
DataSet.merge(DataSet from,
Collection<String> columnNames)
Returns a new
DataSet by appending the specified from DataSet into this DataSet. |
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 |
DataSet.merge(DataSet a,
DataSet b) |
DataSet |
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. |
DataSet |
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 |
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 |
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 |
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. |
DataSet |
DataSet.symmetricDifference(DataSet dataSet) |
DataSet |
DataSet.union(DataSet dataSet)
Returns a new
DataSet. |
DataSet |
DataSet.unionAll(DataSet dataSet)
Returns a new
DataSet. |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
DataSet.accept(Throwables.Consumer<? super DataSet,E> action) |
<R,E extends Exception> |
DataSet.apply(Throwables.Function<? super DataSet,R,E> func) |
DataSet |
DataSet.merge(Collection<? extends DataSet> dss) |
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(File csvFile) |
static DataSet |
CSVUtil.loadCSV(File csvFile,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(File csvFile,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(File csvFile,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(File csvFile,
List<? extends com.landawn.abacus.type.Type> columnTypeList) |
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 <E extends Exception> |
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.
|
static <E extends Exception> |
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,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
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,
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 <E extends Exception> |
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.
|
static <E extends Exception> |
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,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static DataSet |
CSVUtil.loadCSV(Reader csvReader) |
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
List<? extends com.landawn.abacus.type.Type> columnTypeList) |
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 <E extends Exception> |
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.
|
static <E extends Exception> |
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,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
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 entity or map.
|
DataSet |
ExceptionalStream.toDataSet(List<String> columnNames)
If the specified
columnNames 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 entity or map. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,?,DataSet> |
Collectors.toDataSet() |
static <T> Collector<T,?,DataSet> |
Collectors.toDataSet(List<String> columnNames) |
Copyright © 2021. All rights reserved.