Interface FunctionTableCollector
-
public interface FunctionTableCollector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidack(Row row)You must acknowledge each row.voidfail(Row row)You can fail a row This will trigger the notification to the concerned source.voidinsert(Out out, Row anchor, List<Object> columnValues)voidinsert(List<Out> outs, Row anchor, List<Object> columnValues)Insert new columns in several output destination tables.
-
-
-
Method Detail
-
insert
void insert(Out out, Row anchor, List<Object> columnValues)
- Parameters:
out- the table identifieranchor- the anchored row.columnValues- the list of column values
-
insert
void insert(List<Out> outs, Row anchor, List<Object> columnValues)
Insert new columns in several output destination tables.- Parameters:
outs- the list of outputsanchor- the anchored rowcolumnValues- the values of the new row columns
-
ack
void ack(Row row)
You must acknowledge each row. You must do that after using it as an anchor.- Parameters:
row- the incoming row
-
fail
void fail(Row row)
You can fail a row This will trigger the notification to the concerned source. Note that you cannot fail a tuple after using it as anchor.- Parameters:
row- the incoming row
-
-