Interface ArrowFlightSqlClientHandler.PreparedStatement
- All Superinterfaces:
AutoCloseable
- Enclosing class:
- ArrowFlightSqlClientHandler
A prepared statement handler.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Executes thisArrowFlightSqlClientHandler.PreparedStatement
.long
Executes aMeta.StatementType.UPDATE
query.Gets theSchema
of thisArrowFlightSqlClientHandler.PreparedStatement
.Gets theSchema
of the parameters for thisArrowFlightSqlClientHandler.PreparedStatement
.org.apache.calcite.avatica.Meta.StatementType
getType()
Gets theMeta.StatementType
of thisArrowFlightSqlClientHandler.PreparedStatement
.void
setParameters
(VectorSchemaRoot parameters)
-
Method Details
-
executeQuery
Executes thisArrowFlightSqlClientHandler.PreparedStatement
.- Returns:
- the
FlightInfo
representing the outcome of this query execution. - Throws:
SQLException
- on error.
-
executeUpdate
long executeUpdate()Executes aMeta.StatementType.UPDATE
query.- Returns:
- the number of rows affected.
-
getType
org.apache.calcite.avatica.Meta.StatementType getType()Gets theMeta.StatementType
of thisArrowFlightSqlClientHandler.PreparedStatement
.- Returns:
- the Statement Type.
-
getDataSetSchema
Schema getDataSetSchema()Gets theSchema
of thisArrowFlightSqlClientHandler.PreparedStatement
.- Returns:
Schema
.
-
getParameterSchema
Schema getParameterSchema()Gets theSchema
of the parameters for thisArrowFlightSqlClientHandler.PreparedStatement
.- Returns:
Schema
.
-
setParameters
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-