| Package | Description |
|---|---|
| org.dashbuilder.dataprovider | |
| org.dashbuilder.dataset | |
| org.dashbuilder.dataset.def | |
| org.dashbuilder.dataset.impl | |
| org.dashbuilder.dataset.json |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSetProvider.lookupDataSet(DataSetDef def,
DataSetLookup lookup)
Fetch a data set and optionally apply several operations (filter, sort, group, ...) on top of it.
|
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSet.addColumn(DataColumn column)
Add a brand new column.
|
DataSet |
DataSet.addColumn(String id,
ColumnType type)
Add a brand new column.
|
DataSet |
DataSet.addColumn(String id,
ColumnType type,
List values)
Add a brand new column populated with the given values.
|
DataSet |
DataSet.addEmptyRowAt(int row)
Add an empty row at the given position.
|
DataSet |
DataSet.addValues(Object... values)
Add a row at the end of the data set.
|
DataSet |
DataSet.addValuesAt(int row,
Object... values)
Add a row at the given position.
|
DataSet |
DataSetBuilder.buildDataSet()
Build and get the resulting DataSet instance.
|
DataSet |
DataSetGenerator.buildDataSet(Map<String,String> params)
Build and get a DataSet instance.
|
DataSet |
DataSet.cloneEmpty()
Build a data set with the same structure as this but containing no data.
|
DataSet |
DataSet.cloneInstance()
Build a data set with the same structure and content.
|
DataSet |
DataSetManager.createDataSet(String uuid)
Create a brand new data set instance.
|
DataSet |
DataSetOpEngine.execute(DataSet dataSet,
List<DataSetOp> opList)
Apply a sequence of operations on the specified data set.
|
DataSet |
DataSetOpEngine.execute(String uuid,
List<DataSetOp> opList)
Apply a sequence of operations on the specified data set.
|
DataSet |
DataColumn.getDataSet() |
DataSet |
DataSetManager.getDataSet(String uuid)
Retrieve (load if required) a data set.
|
DataSet |
DataSetManager.lookupDataSet(DataSetLookup lookup)
Load a data set and apply several operations (filter, sort, group, ...) on top of it.
|
DataSet[] |
DataSetManager.lookupDataSets(DataSetLookup[] lookup)
Process multiple data set lookup request in a single shot.
|
static DataSet |
DataSetFactory.newEmptyDataSet() |
DataSet |
DataSet.removeColumn(String id)
Removes an existing column.
|
DataSet |
DataSetManager.removeDataSet(String uuid)
Removes the specified data set instance.
|
DataSet |
DataSet.setValueAt(int row,
int column,
Object value)
Set the value at a given cell.
|
DataSet |
DataSet.setValuesAt(int row,
Object... values)
Set all the values for a given row.
|
DataSet |
DataSet.trim(int offset,
int rows)
Returns a data set containing only the specified row sub set.
|
DataSet |
DataSet.trim(List<Integer> rows)
Returns a data set containing only the specified row sub set.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationError |
DataSetConstraints.check(DataSet dataSet) |
DataSet |
DataSetOpEngine.execute(DataSet dataSet,
List<DataSetOp> opList)
Apply a sequence of operations on the specified data set.
|
void |
DataSetManager.registerDataSet(DataSet dataSet)
Registers the specified data set instance.
|
void |
DataSetManager.registerDataSet(DataSet dataSet,
List<DataSetPreprocessor> preprocessors)
Registers the specified data set instance with a list of preprocessors
|
| Modifier and Type | Field and Description |
|---|---|
protected DataSet |
StaticDataSetDef.dataSet |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
StaticDataSetDef.getDataSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
DataSetPostProcessor.postProcess(DataSetLookup lookup,
DataSet dataSet) |
void |
StaticDataSetDef.setDataSet(DataSet dataSet) |
| Modifier and Type | Class and Description |
|---|---|
class |
DataSetImpl |
| Modifier and Type | Field and Description |
|---|---|
protected DataSet |
DataSetBuilderImpl.dataSet |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSetImpl.addColumn(DataColumn column) |
DataSet |
DataSetImpl.addColumn(String id,
ColumnType type) |
DataSet |
DataSetImpl.addColumn(String id,
ColumnType type,
List values) |
DataSet |
DataSetImpl.addEmptyRowAt(int row) |
DataSet |
DataSetImpl.addValueAt(int row,
int column,
Object value) |
DataSet |
DataSetImpl.addValueAt(int column,
Object value) |
DataSet |
DataSetImpl.addValues(Object... values) |
DataSet |
DataSetImpl.addValuesAt(int row,
Object... values) |
DataSet |
DataSetBuilderImpl.buildDataSet() |
DataSet |
DataSetImpl.removeColumn(String id) |
DataSet |
DataSetImpl.setValueAt(int row,
int column,
Object value) |
DataSet |
DataSetImpl.setValuesAt(int row,
Object... values) |
DataSet |
DataSetImpl.trim(int offset,
int rows) |
DataSet |
DataSetImpl.trim(List<Integer> rows) |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSetJSONMarshaller.fromJson(JsonObject dataSetJson) |
DataSet |
DataSetJSONMarshaller.fromJson(String jsonString) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
DataSetJSONMarshaller.toJson(DataSet dataSet) |
Copyright © 2017–2020 JBoss by Red Hat. All rights reserved.