Package org.apache.arrow.flight.sql.impl
Interface FlightSql.ActionCreatePreparedStatementRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FlightSql.ActionCreatePreparedStatementRequest
,FlightSql.ActionCreatePreparedStatementRequest.Builder
- Enclosing class:
- FlightSql
public static interface FlightSql.ActionCreatePreparedStatementRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery()
The valid SQL string to create a prepared statement for.com.google.protobuf.ByteString
The valid SQL string to create a prepared statement for.com.google.protobuf.ByteString
Create/execute the prepared statement as part of this transaction (if unset, executions of the prepared statement will be auto-committed).boolean
Create/execute the prepared statement as part of this transaction (if unset, executions of the prepared statement will be auto-committed).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getQuery
String getQuery()The valid SQL string to create a prepared statement for.
string query = 1;
- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()The valid SQL string to create a prepared statement for.
string query = 1;
- Returns:
- The bytes for query.
-
hasTransactionId
boolean hasTransactionId()Create/execute the prepared statement as part of this transaction (if unset, executions of the prepared statement will be auto-committed).
optional bytes transaction_id = 2;
- Returns:
- Whether the transactionId field is set.
-
getTransactionId
com.google.protobuf.ByteString getTransactionId()Create/execute the prepared statement as part of this transaction (if unset, executions of the prepared statement will be auto-committed).
optional bytes transaction_id = 2;
- Returns:
- The transactionId.
-