@InterfaceStability.Unstable public interface TableProvider
Modifier and Type | Method and Description |
---|---|
void |
close()
Shutdown the underlying table
|
java.util.Map<java.lang.String,java.lang.String> |
generateConfig(Config jobConfig,
java.util.Map<java.lang.String,java.lang.String> generatedConfig)
Generate any configuration for this table, the generated configuration
is used by Samza container to construct this table and any components
necessary.
|
Table |
getTable()
Get an instance of the table for read/write operations
|
void |
init(Context context)
Initialize TableProvider with container and task context
|
void init(Context context)
context
- context for the taskTable getTable()
java.util.Map<java.lang.String,java.lang.String> generateConfig(Config jobConfig, java.util.Map<java.lang.String,java.lang.String> generatedConfig)
jobConfig
- the job configgeneratedConfig
- config generated by earlier processing, but has
not yet been merged to job configvoid close()