public static final class FlightSql.CommandStatementUpdate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder> implements FlightSql.CommandStatementUpdateOrBuilder
Represents a SQL update query. Used in the command member of FlightDescriptor for the the RPC call DoPut to cause the server to execute the included SQL update.Protobuf type
arrow.flight.protocol.sql.CommandStatementUpdate
Modifier and Type | Method and Description |
---|---|
FlightSql.CommandStatementUpdate |
build() |
FlightSql.CommandStatementUpdate |
buildPartial() |
FlightSql.CommandStatementUpdate.Builder |
clear() |
FlightSql.CommandStatementUpdate.Builder |
clearQuery()
The SQL syntax.
|
FlightSql.CommandStatementUpdate.Builder |
clearTransactionId()
Include the query as part of this transaction (if unset, the query is auto-committed).
|
FlightSql.CommandStatementUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getQuery()
The SQL syntax.
|
com.google.protobuf.ByteString |
getQueryBytes()
The SQL syntax.
|
com.google.protobuf.ByteString |
getTransactionId()
Include the query as part of this transaction (if unset, the query is auto-committed).
|
boolean |
hasTransactionId()
Include the query as part of this transaction (if unset, the query is auto-committed).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.CommandStatementUpdate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.CommandStatementUpdate.Builder |
mergeFrom(FlightSql.CommandStatementUpdate other) |
FlightSql.CommandStatementUpdate.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.CommandStatementUpdate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.CommandStatementUpdate.Builder |
setQuery(String value)
The SQL syntax.
|
FlightSql.CommandStatementUpdate.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
The SQL syntax.
|
FlightSql.CommandStatementUpdate.Builder |
setTransactionId(com.google.protobuf.ByteString value)
Include the query as part of this transaction (if unset, the query is auto-committed).
|
FlightSql.CommandStatementUpdate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder>
public FlightSql.CommandStatementUpdate.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder>
public FlightSql.CommandStatementUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlightSql.CommandStatementUpdate build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.CommandStatementUpdate buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.CommandStatementUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandStatementUpdate.Builder>
public FlightSql.CommandStatementUpdate.Builder mergeFrom(FlightSql.CommandStatementUpdate other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder>
public FlightSql.CommandStatementUpdate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandStatementUpdate.Builder>
IOException
public String getQuery()
The SQL syntax.
string query = 1;
getQuery
in interface FlightSql.CommandStatementUpdateOrBuilder
public com.google.protobuf.ByteString getQueryBytes()
The SQL syntax.
string query = 1;
getQueryBytes
in interface FlightSql.CommandStatementUpdateOrBuilder
public FlightSql.CommandStatementUpdate.Builder setQuery(String value)
The SQL syntax.
string query = 1;
value
- The query to set.public FlightSql.CommandStatementUpdate.Builder clearQuery()
The SQL syntax.
string query = 1;
public FlightSql.CommandStatementUpdate.Builder setQueryBytes(com.google.protobuf.ByteString value)
The SQL syntax.
string query = 1;
value
- The bytes for query to set.public boolean hasTransactionId()
Include the query as part of this transaction (if unset, the query is auto-committed).
optional bytes transaction_id = 2;
hasTransactionId
in interface FlightSql.CommandStatementUpdateOrBuilder
public 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;
getTransactionId
in interface FlightSql.CommandStatementUpdateOrBuilder
public FlightSql.CommandStatementUpdate.Builder setTransactionId(com.google.protobuf.ByteString value)
Include the query as part of this transaction (if unset, the query is auto-committed).
optional bytes transaction_id = 2;
value
- The transactionId to set.public FlightSql.CommandStatementUpdate.Builder clearTransactionId()
Include the query as part of this transaction (if unset, the query is auto-committed).
optional bytes transaction_id = 2;
public final FlightSql.CommandStatementUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder>
public final FlightSql.CommandStatementUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandStatementUpdate.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.