public abstract class AbstractArrayExtractor extends AbstractBaseExtractor
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractArrayExtractor.FieldMapping |
static class |
AbstractArrayExtractor.FieldType |
| Constructor and Description |
|---|
AbstractArrayExtractor(String id,
List<AbstractArrayExtractor.FieldMapping> fields) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(ExecutionResult result)
Process the execution result as input.
|
protected abstract String[] |
getFields(ExecutionResult result) |
protected DataItemInputChained |
getItemForGroup(int group) |
void |
register(Hive hive,
FolderItemFactory folderItemFactory) |
protected void |
updateData(String value,
int group) |
createInput, fillNoError, process, setError, unregisterpublic AbstractArrayExtractor(String id, List<AbstractArrayExtractor.FieldMapping> fields)
protected void doProcess(ExecutionResult result) throws Exception
AbstractBaseExtractorThis method will only be called if no execution error occurred. Otherwise the error flags of all data items are automatically set.
This method must apply the attributes from AbstractBaseExtractor.fillNoError(Map) when
updating items. This is needed since applying them afterwards would cause
two updates on the dataitem and the state would by async to the value
itself.
doProcess in class AbstractBaseExtractorresult - the execution result that has to be processesException - if anything goes wrongprotected abstract String[] getFields(ExecutionResult result)
public void register(Hive hive, FolderItemFactory folderItemFactory)
register in interface Extractorregister in class AbstractBaseExtractorprotected void updateData(String value, int group)
protected DataItemInputChained getItemForGroup(int group)