public class HiveExecutableOperation extends Object implements ExecutableOperation
ExecutableOperation
for Hive dialect. It'll wrap the actual Operation
, and
delegate the execution logic of the wrapped operation to HiveOperationExecutor
.
Todo: It's just a temporary way just for simplify, should refactor it to make each of the
extra Operation
s customized for Hive execute it's own logic in it's own inner `execute`
method in FLINK-31607
ExecutableOperation.Context
Constructor and Description |
---|
HiveExecutableOperation(Operation innerOperation) |
Modifier and Type | Method and Description |
---|---|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
TableResultInternal |
execute(ExecutableOperation.Context ctx)
Executes the given operation and return the execution result.
|
Operation |
getInnerOperation() |
public HiveExecutableOperation(Operation innerOperation)
public TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperation
execute
in interface ExecutableOperation
ctx
- the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)
public Operation getInnerOperation()
public String asSummaryString()
Operation
asSummaryString
in interface Operation
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.