Package org.apache.arrow.flight.sql.impl
Interface FlightSql.CommandStatementQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FlightSql.CommandStatementQuery
,FlightSql.CommandStatementQuery.Builder
- Enclosing class:
- FlightSql
public static interface FlightSql.CommandStatementQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery()
The SQL syntax.com.google.protobuf.ByteString
The SQL syntax.com.google.protobuf.ByteString
Include the query as part of this transaction (if unset, the query is auto-committed).boolean
Include the query as part of this transaction (if unset, the query is 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 SQL syntax.
string query = 1;
- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()The SQL syntax.
string query = 1;
- Returns:
- The bytes for query.
-
hasTransactionId
boolean hasTransactionId()Include the query as part of this transaction (if unset, the query is auto-committed).
optional bytes transaction_id = 2;
- Returns:
- Whether the transactionId field is set.
-
getTransactionId
com.google.protobuf.ByteString getTransactionId()Include the query as part of this transaction (if unset, the query is auto-committed).
optional bytes transaction_id = 2;
- Returns:
- The transactionId.
-