public class PreparedStatement extends AbstractStatement
cancellationResourceActions, fullResourceActions, plannerContext, queryPlus, reporter, sqlToolbox| Constructor and Description |
|---|
PreparedStatement(SqlToolbox lifecycleToolbox,
SqlQueryPlus queryPlus) |
| Modifier and Type | Method and Description |
|---|---|
DirectStatement |
execute(List<org.apache.calcite.avatica.remote.TypedValue> parameters)
Execute a prepared JDBC query.
|
PrepareResult |
prepare()
Prepare the query lifecycle for execution, without completely planning into
something that is executable, but including some initial parsing and
validation, to support prepared statements via JDBC.
|
allResources, authorize, authorizer, close, closeQuietly, closeWithError, query, reporter, resources, sqlQueryId, validatepublic PreparedStatement(SqlToolbox lifecycleToolbox, SqlQueryPlus queryPlus)
public PrepareResult prepare()
Note that, per JDBC convention, the prepare step does not provide parameter values: those are provided later during execution and will generally vary from one execution to the next.
PrepareResult which describes the query.public DirectStatement execute(List<org.apache.calcite.avatica.remote.TypedValue> parameters)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.