@InterfaceStability.Unstable public interface TableFunction extends TablePart, ClosableFunction, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
init(Context context,
AsyncReadWriteUpdateTable table)
Initializes the function before any operation.
|
boolean |
isRetriable(java.lang.Throwable exception)
Determine whether the current operation can be retried with the last thrown exception.
|
close
void init(Context context, AsyncReadWriteUpdateTable table)
context
- the Context
for this tasktable
- the TableFunction
which this table function belongs toboolean isRetriable(java.lang.Throwable exception)
exception
- exception thrown by a table operation