| Package | Description |
|---|---|
| de.unknownreality.dataframe | |
| de.unknownreality.dataframe.index | |
| de.unknownreality.dataframe.join | |
| de.unknownreality.dataframe.sort |
| Modifier and Type | Method and Description |
|---|---|
DataRow |
DataFrame.findByPrimaryKey(Comparable... keyValues)
Finds a data row using the primary key
|
DataRow |
DataFrame.findFirst(FilterPredicate predicate)
Deprecated.
use
DataFrame.selectFirst(FilterPredicate) instead. |
DataRow |
DataFrame.findFirst(String colName,
Comparable value)
Deprecated.
use
DataFrame.selectFirst(String,Comparable) instead. |
DataRow |
DataFrame.findFirstByIndex(String name,
Comparable... values)
Finds the first data row matching an index and the corresponding index values
|
DataRow |
DataFrame.getRow(int i)
Returns the data row at a specified index
|
DataRow |
DataFrame.selectFirst(FilterPredicate predicate)
Returns the first found data row from this data frame matching an input predicate.
|
DataRow |
DataFrame.selectFirst(String predicateString)
Returns the first found data row from this data frame matching an input predicate.
|
DataRow |
DataFrame.selectFirst(String colName,
Comparable value)
Returns the first found data row from this data frame where a specified column value equals
an input value.
|
| Modifier and Type | Method and Description |
|---|---|
List<DataRow> |
DataFrame.findByIndex(String name,
Comparable... values)
Finds matching data rows using an index and the corresponding index values
|
List<DataRow> |
DataFrame.findRows(FilterPredicate predicate)
Deprecated.
use
DataFrame.selectRows(FilterPredicate) instead. |
List<DataRow> |
DataFrame.getRows()
Returns all rows in this data frame
|
List<DataRow> |
DataFrame.getRows(int from,
int to)
Returns a list the list of rows between from and to.
|
Iterator<DataRow> |
DataFrame.iterator()
Returns an iterator over the rows in this data frame.
|
List<DataRow> |
DataFrame.selectRows(FilterPredicate predicate)
Finds data rows using a
FilterPredicate. |
List<DataRow> |
DataFrame.selectRows(String predicateString)
Finds data rows using a
FilterPredicate. |
| Modifier and Type | Method and Description |
|---|---|
DataFrame |
DataFrame.append(DataRow row)
Appends a new data row.
|
T |
ColumnAppender.createRowValue(DataRow row)
Creates the value for a new column in a row
|
DataFrame |
DataFrame.update(DataRow dataRow)
Persists the updated values of a data row.
|
| Modifier and Type | Method and Description |
|---|---|
DataFrame |
DataFrame.set(Collection<DataRow> rows)
Clears all rows in this data frame and sets new rows using the provided
DataRow collection. |
DataFrame |
DataFrame.set(DataFrameHeader header,
Collection<DataRow> rows)
Removes all columns and rows from this data frame.
|
DataFrame |
DataFrame.sort(Comparator<DataRow> comp)
Sorts the rows in this data frame using a custom
Comparator |
| Constructor and Description |
|---|
DataFrame(DataFrameHeader header,
Collection<DataRow> rows)
Creates a new data frame using a data frame header and a collections of data rows
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeIndex.remove(DataRow dataRow) |
void |
Indices.remove(DataRow dataRow)
Removes a row from all indices
|
void |
Index.remove(DataRow dataRow)
removes a
DataRow from this index |
void |
TreeIndex.update(DataRow dataRow) |
void |
Indices.update(DataRow dataRow)
Updates a data row in all available indices
|
void |
Index.update(DataRow dataRow)
updates a
DataRow in this index |
void |
Indices.updateValue(DataFrameColumn column,
DataRow dataRow)
Updates the specified in each index that contains the specified column
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractJoin.appendGroupJoinedRows(DataGroup group,
DataFrame dfA,
DataFrame dfB,
DataRow rowA,
JoinInfo joinInfo,
DataFrameHeader joinHeader,
List<DataRow> joinedRows)
Appends the joined rows resulting from a row from one data frame and a data group from the other data frame
|
void |
AbstractJoin.fillValues(DataFrame dataFrame,
DataRow row,
JoinInfo joinInfo,
Comparable[] joinedRowValues)
Fills the values of a row into the corresponding values in a joined row value
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractJoin.appendGroupJoinedRows(DataGroup group,
DataFrame dfA,
DataFrame dfB,
DataRow rowA,
JoinInfo joinInfo,
DataFrameHeader joinHeader,
List<DataRow> joinedRows)
Appends the joined rows resulting from a row from one data frame and a data group from the other data frame
|
| Modifier and Type | Method and Description |
|---|---|
int |
RowColumnComparator.compare(DataRow r1,
DataRow r2)
Compares two rows using the sort columns
|
Copyright © 2017. All rights reserved.