@Internal public interface ExecutableOperation extends Operation
ExecutableOperation
represents an operation that is executed for its side effects.
This internal interface is proposed to reduce the maintenance of bloated TableEnvironmentImpl.executeInternal(Operation)
and improve code readability as execution logic
is co-located with the operation definition. Besides, this interface can be used to extend
user-defined operation with customized execution logic once this interface is stable and public
in the future.
Modifier and Type | Interface and Description |
---|---|
static interface |
ExecutableOperation.Context
The context to execute the operation.
|
Modifier and Type | Method and Description |
---|---|
TableResultInternal |
execute(ExecutableOperation.Context ctx)
Executes the given operation and return the execution result.
|
asSummaryString
TableResultInternal execute(ExecutableOperation.Context ctx)
ctx
- the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.