public static final class FlightSql.DoPutPreparedStatementResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder> implements FlightSql.DoPutPreparedStatementResultOrBuilder
An *optional* response returned when `DoPut` is called with `CommandPreparedStatementQuery`. *Note on legacy behavior*: previous versions of the protocol did not return any result for this command, and that behavior should still be supported by clients. In that case, the client can continue as though the fields in this message were not provided or set to sensible default values.Protobuf type
arrow.flight.protocol.sql.DoPutPreparedStatementResult| Modifier and Type | Method and Description |
|---|---|
FlightSql.DoPutPreparedStatementResult |
build() |
FlightSql.DoPutPreparedStatementResult |
buildPartial() |
FlightSql.DoPutPreparedStatementResult.Builder |
clear() |
FlightSql.DoPutPreparedStatementResult.Builder |
clearPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
FlightSql.DoPutPreparedStatementResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
boolean |
hasPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeFrom(FlightSql.DoPutPreparedStatementResult other) |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.DoPutPreparedStatementResult.Builder |
setPreparedStatementHandle(com.google.protobuf.ByteString value)
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
FlightSql.DoPutPreparedStatementResult.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>public FlightSql.DoPutPreparedStatementResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>public FlightSql.DoPutPreparedStatementResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FlightSql.DoPutPreparedStatementResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.DoPutPreparedStatementResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.DoPutPreparedStatementResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.DoPutPreparedStatementResult.Builder>public FlightSql.DoPutPreparedStatementResult.Builder mergeFrom(FlightSql.DoPutPreparedStatementResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>public FlightSql.DoPutPreparedStatementResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.DoPutPreparedStatementResult.Builder>IOExceptionpublic boolean hasPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;hasPreparedStatementHandle in interface FlightSql.DoPutPreparedStatementResultOrBuilderpublic com.google.protobuf.ByteString getPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;getPreparedStatementHandle in interface FlightSql.DoPutPreparedStatementResultOrBuilderpublic FlightSql.DoPutPreparedStatementResult.Builder setPreparedStatementHandle(com.google.protobuf.ByteString value)
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;value - The preparedStatementHandle to set.public FlightSql.DoPutPreparedStatementResult.Builder clearPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;public final FlightSql.DoPutPreparedStatementResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>public final FlightSql.DoPutPreparedStatementResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.