@Internal public class TruncateTableOperation extends Object implements ExecutableOperation
TRUNCATE TABLE
statement.ExecutableOperation.Context
Constructor and Description |
---|
TruncateTableOperation(ObjectIdentifier tableIdentifier) |
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.
|
ObjectIdentifier |
getTableIdentifier() |
public TruncateTableOperation(ObjectIdentifier tableIdentifier)
public TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperation
execute
in interface ExecutableOperation
ctx
- the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)
@VisibleForTesting public ObjectIdentifier getTableIdentifier()
public String asSummaryString()
Operation
asSummaryString
in interface Operation
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.