Modifier and Type | Method and Description |
---|---|
DataSetRecord |
DataSet.addRecord()
Add the record to the data set.
|
DataSetRecord |
DataSetRecord.copy()
Copy.
|
DataSetRecord |
DataSetData.delete(int index)
Deletes record at the index.
|
DataSetRecord |
DataSet.deleteRecord(int row)
Deletes record at the row.
|
DataSetRecord |
DataSetData.get(int index)
Gets the record for the index.
|
DataSetRecord |
FunctionContext.getCurrentRecord()
Gets the current record of the data set.
|
DataSetRecord |
DataSet.getCurrentRecord()
Gets the current record.
|
DataSetRecord |
DataSet.getCursorRecord(Driver driver)
Gets the current record as a "cursor" using given driver.
|
DataSetRecord |
DataSet.getEmptyRecord()
Gets the empty record.
|
DataSetRecord |
DataSetRecord.getParentDataSetRecord()
Gets the parent data set record.
|
DataSetRecord |
DataSet.getParentDataSetRecord()
Gets the parent data set record.
|
DataSetRecord |
DataSet.getRecord(int row)
Gets the record using given index of the record.
|
DataSetRecord |
DataSet.getRecord(String key)
Get record by key.
|
static DataSetRecord |
CommonEtlUtils.getRecordAfterInlcudeExclude(DataSet dataSet,
DataSetRecord record,
int cols,
boolean isSelective,
Set<String> includeFields,
Set<String> excludeFields)
Gets the record after inlcude and exclude.
|
static DataSetRecord |
CommonEtlUtils.reorderFieldsInRecord(DataSetRecord record,
DataSetFields fields,
DataSetFields originalFields)
Reorder fields in record.
|
static DataSetRecord |
CommonEtlUtils.reorderFieldsInRecord(DataSetRecord newRecord,
DataSetRecord record,
DataSetFields fields,
Object keyFieldValue,
Object valueFieldValue,
String[] actualFields,
String combine)
Reorder fields in record.
|
DataSetRecord |
DataSet.setValue(Object value,
int index)
Sets the "column" value using the following algorithms: If value is
within boundaries of the current record it assumes that new record must
be added to the data set.
|
Modifier and Type | Method and Description |
---|---|
List<DataSetRecord> |
DataSetData.getData()
Gets the data.
|
Map<String,DataSetRecord> |
DataSet.getDataSetIndex()
Gets the index.
|
static List<DataSetRecord> |
CommonEtlUtils.splitRecord(DataSetRecord record,
int maxColsInRow,
DataSetFields fields)
Split record.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSetData.add(DataSetRecord value)
Adds the record.
|
void |
DataSetData.add(int index,
DataSetRecord value)
Adds the record at the index.
|
boolean |
DataSet.addRecord(DataSetRecord record)
Adds the record.
|
boolean |
DataSet.addRecord(DataSetRecord record,
int row)
Adds the record at the row.
|
boolean |
DataSet.filter(DataSetRecord record)
Filters record using expression.
|
void |
DataSet.fireDataSetChangeListeners(DataSetRecord record)
Fire data set change listeners.
|
Object |
DataSet.getFieldValue(DataSetRecord record,
FieldDef field)
Gets the value of the field from the record by the field.
|
Object |
DataSet.getFieldValue(DataSetRecord record,
int index)
Gets the value of the field from the record by the index of the field.
|
Object |
DataSet.getFieldValue(DataSetRecord record,
String name)
Gets the value of the field from the record by the name of the field.
|
Object |
DataSet.getFieldValue(DataSetRecord record,
String fieldName,
String separator,
Integer... row)
Gets the field value from the nested dataset.
|
TypedKeyValue<FieldDef,Object> |
DataSet.getFieldValueWithNested(DataSetRecord record,
String fieldName)
Gets the field value from the nested dataset.
|
static String |
CommonEtlUtils.getKey(DataSet dataSet,
DataSetRecord record,
Map<String,FieldDef> keys,
boolean ignoreCase,
boolean doTrim)
Gets the string representation of the key for the given record and map of
key fields.
|
Object |
DataSet.getNullableFieldValue(DataSetRecord record,
FieldDef field)
Gets the value of the field from the record by the field.
|
Object |
DataSet.getNullableFieldValue(DataSetRecord record,
int index)
Gets the value of the field from the record by the index of the
field.Returns empty data set if the field value is null
|
Object |
DataSet.getNullableFieldValue(DataSetRecord record,
String name)
Gets the value of the field from the record by the name of the field.
|
Object |
DataSet.getNullableFieldValue(DataSetRecord record,
String fieldName,
String separator,
Integer... row)
Gets the field value from the nested dataset.
|
TypedKeyValue<FieldDef,Object> |
DataSet.getNullableFieldValueWithNested(DataSetRecord record,
String fieldName)
Gets the field value from the nested dataset.
|
Object |
DataSet.getParentFieldValue(DataSetRecord record,
String name)
Gets the parent field value.
|
static DataSetRecord |
CommonEtlUtils.getRecordAfterInlcudeExclude(DataSet dataSet,
DataSetRecord record,
int cols,
boolean isSelective,
Set<String> includeFields,
Set<String> excludeFields)
Gets the record after inlcude and exclude.
|
static DataSetData |
CommonEtlUtils.mergeData(DataSetFields fields,
DataSetData to,
DataSetRecord driving,
DataSet... from)
Merge and normalize data.
|
static DataSetData |
CommonEtlUtils.normalizeDataSetData(DataSetFields fields,
DataSetData data,
DataSetRecord driving,
DataSet dataSet)
Normalize data set data using given common list of fields, update given
data.
|
void |
DataSetChangeListener.onAddRecord(DataSetFields fields,
DataSetRecord record)
This method called on add record event.
|
static DataSetRecord |
CommonEtlUtils.reorderFieldsInRecord(DataSetRecord record,
DataSetFields fields,
DataSetFields originalFields)
Reorder fields in record.
|
static DataSetRecord |
CommonEtlUtils.reorderFieldsInRecord(DataSetRecord newRecord,
DataSetRecord record,
DataSetFields fields,
Object keyFieldValue,
Object valueFieldValue,
String[] actualFields,
String combine)
Reorder fields in record.
|
void |
DataSetData.set(int index,
DataSetRecord value)
Sets the record at the index.
|
void |
FunctionContext.setCurrentRecord(DataSetRecord value)
Sets the current record of the data set.
|
void |
DataSet.setCurrentRecord(DataSetRecord currentRecord)
Sets the current record.
|
void |
DataSet.setFieldValue(DataSetRecord record,
int index,
Object value)
Sets the field value.
|
void |
DataSet.setFieldValue(DataSetRecord record,
String name,
Object value)
Sets the field value.
|
void |
DataSetRecord.setParentDataSetRecord(DataSetRecord parentDataSetRecord)
Sets the parent data set record.
|
void |
DataSet.setParentDataSetRecord(DataSetRecord parentDataSetRecord)
Sets the parent data set record.
|
void |
DataSet.setRecord(DataSetRecord record,
int row)
Sets the record.
|
void |
DataSet.setValue(DataSetRecord record,
String name,
Object value,
int... type)
Sets the field value.
|
static List<DataSetRecord> |
CommonEtlUtils.splitRecord(DataSetRecord record,
int maxColsInRow,
DataSetFields fields)
Split record.
|
void |
DataSet.updateIndexOnAdd(DataSetRecord currentRow)
Updates index on "add record" event.
|
void |
DataSet.updateIndexOnDelete(DataSetRecord currentRow)
Updates index on "delete record" event.
|
abstract boolean |
DataSetVisitor.visit(DataSet dataSet,
DataSetRecord record)
Visit data set record.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.setDataSetIndex(Map<String,DataSetRecord> value)
Sets the index..
|
Modifier and Type | Method and Description |
---|---|
void |
BaseDataSetConnector.addValue(Object colValue,
DataSetRecord record,
DataSet dataSet)
Adds value to the current field of the current record.
|
void |
DataSetConnector.inlinePersist(P params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records)
Persists data set row.
|
void |
SourceConnector.inlinePersist(SourceConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
AddFieldValueCallback.onAddFieldValue(DataSet dataSet,
Driver driver,
DataSetRecord record,
FieldDef fieldDef)
Called when value is set for the field.
|
void |
AddRecordCallback.onAddRecord(DataSet dataSet,
Driver driver,
DataSetRecord record,
int index,
String crudAction,
String target)
Called when record is added to the data set.
|
Modifier and Type | Method and Description |
---|---|
void |
ExcelXlsxConnector.inlinePersist(ExcelConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
ExcelConnector.inlinePersist(ExcelConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
Modifier and Type | Method and Description |
---|---|
void |
HtmlConnector.inlinePersist(HtmlConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
Modifier and Type | Method and Description |
---|---|
void |
JsonConnector.inlinePersist(JsonConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
JsonDatasetConnector.inlinePersist(JsonDatasetConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
Modifier and Type | Method and Description |
---|---|
void |
PdfConnector.inlinePersist(PdfConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
Modifier and Type | Method and Description |
---|---|
void |
SqlConnector.inlinePersist(SqlConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
Modifier and Type | Method and Description |
---|---|
void |
ClobConnector.inlinePersist(ClobConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
KeyValueConnector.inlinePersist(KeyValueConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
TextConnector.inlinePersist(TextConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
Modifier and Type | Method and Description |
---|---|
DataSetRecord |
XmlObjectConnector.parseXml(XmlUtils xml,
org.w3c.dom.Node root,
XmlObjectConnectorParams params,
Driver driver,
Map<Integer,Boolean> types,
DataSet dataSet,
DataSetRecord record,
XmlUtils.NodeType rootNodeType,
org.w3c.dom.NodeList nodeList,
XmlUtils.NodeType thisNodeType)
Parses the xml and creates a hierarchy of the data sets.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlConnector.inlinePersist(XmlConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
XmlObjectStreamingConnector.inlinePersist(XmlObjectConnectorParams params,
DataSet dataSet,
Driver driver,
DataSetRecord record,
int row,
int records) |
void |
XmlObjectConnector.parseNode(XmlUtils xml,
org.w3c.dom.Node node,
XmlObjectConnectorParams params,
Driver driver,
Map<Integer,Boolean> types,
DataSet dataSet,
DataSetRecord record,
XmlUtils.NodeType rootNodeType,
DataSet newDataSet) |
DataSetRecord |
XmlObjectConnector.parseXml(XmlUtils xml,
org.w3c.dom.Node root,
XmlObjectConnectorParams params,
Driver driver,
Map<Integer,Boolean> types,
DataSet dataSet,
DataSetRecord record,
XmlUtils.NodeType rootNodeType,
org.w3c.dom.NodeList nodeList,
XmlUtils.NodeType thisNodeType)
Parses the xml and creates a hierarchy of the data sets.
|
Modifier and Type | Method and Description |
---|---|
void |
Destination.fireDataSetChangeListeners(DataSetFields fields,
DataSetRecord record)
Fire data set change listeners.
|
void |
OnAddDataSetChangeListener.onAddRecord(DataSetFields fields,
DataSetRecord record) |
Copyright © 2010-2020 Toolsverse. All Rights Reserved.