public static final class FlightSql.ActionCreatePreparedStatementResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionCreatePreparedStatementResult.Builder> implements FlightSql.ActionCreatePreparedStatementResultOrBuilder
Wrap the result of a "CreatePreparedStatement" or "CreatePreparedSubstraitPlan" action. The resultant PreparedStatement can be closed either: - Manually, through the "ClosePreparedStatement" action; - Automatically, by a server timeout. The result should be wrapped in a google.protobuf.Any message.Protobuf type
arrow.flight.protocol.sql.ActionCreatePreparedStatementResult| Modifier and Type | Method and Description |
|---|---|
FlightSql.ActionCreatePreparedStatementResult |
build() |
FlightSql.ActionCreatePreparedStatementResult |
buildPartial() |
FlightSql.ActionCreatePreparedStatementResult.Builder |
clear() |
FlightSql.ActionCreatePreparedStatementResult.Builder |
clearDatasetSchema()
If a result set generating query was provided, dataset_schema contains the
schema of the result set.
|
FlightSql.ActionCreatePreparedStatementResult.Builder |
clearParameterSchema()
If the query provided contained parameters, parameter_schema contains the
schema of the expected parameters.
|
FlightSql.ActionCreatePreparedStatementResult.Builder |
clearPreparedStatementHandle()
Opaque handle for the prepared statement on the server.
|
com.google.protobuf.ByteString |
getDatasetSchema()
If a result set generating query was provided, dataset_schema contains the
schema of the result set.
|
FlightSql.ActionCreatePreparedStatementResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getParameterSchema()
If the query provided contained parameters, parameter_schema contains the
schema of the expected parameters.
|
com.google.protobuf.ByteString |
getPreparedStatementHandle()
Opaque handle for the prepared statement on the server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.ActionCreatePreparedStatementResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.ActionCreatePreparedStatementResult.Builder |
mergeFrom(FlightSql.ActionCreatePreparedStatementResult other) |
FlightSql.ActionCreatePreparedStatementResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.ActionCreatePreparedStatementResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.ActionCreatePreparedStatementResult.Builder |
setDatasetSchema(com.google.protobuf.ByteString value)
If a result set generating query was provided, dataset_schema contains the
schema of the result set.
|
FlightSql.ActionCreatePreparedStatementResult.Builder |
setParameterSchema(com.google.protobuf.ByteString value)
If the query provided contained parameters, parameter_schema contains the
schema of the expected parameters.
|
FlightSql.ActionCreatePreparedStatementResult.Builder |
setPreparedStatementHandle(com.google.protobuf.ByteString value)
Opaque handle for the prepared statement on the server.
|
FlightSql.ActionCreatePreparedStatementResult.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.ActionCreatePreparedStatementResult.Builder>public FlightSql.ActionCreatePreparedStatementResult.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.ActionCreatePreparedStatementResult.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.ActionCreatePreparedStatementResult.Builder>public FlightSql.ActionCreatePreparedStatementResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FlightSql.ActionCreatePreparedStatementResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.ActionCreatePreparedStatementResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.ActionCreatePreparedStatementResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.ActionCreatePreparedStatementResult.Builder>public FlightSql.ActionCreatePreparedStatementResult.Builder mergeFrom(FlightSql.ActionCreatePreparedStatementResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionCreatePreparedStatementResult.Builder>public FlightSql.ActionCreatePreparedStatementResult.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.ActionCreatePreparedStatementResult.Builder>IOExceptionpublic com.google.protobuf.ByteString getPreparedStatementHandle()
Opaque handle for the prepared statement on the server.
bytes prepared_statement_handle = 1;getPreparedStatementHandle in interface FlightSql.ActionCreatePreparedStatementResultOrBuilderpublic FlightSql.ActionCreatePreparedStatementResult.Builder setPreparedStatementHandle(com.google.protobuf.ByteString value)
Opaque handle for the prepared statement on the server.
bytes prepared_statement_handle = 1;value - The preparedStatementHandle to set.public FlightSql.ActionCreatePreparedStatementResult.Builder clearPreparedStatementHandle()
Opaque handle for the prepared statement on the server.
bytes prepared_statement_handle = 1;public com.google.protobuf.ByteString getDatasetSchema()
If a result set generating query was provided, dataset_schema contains the schema of the result set. It should be an IPC-encapsulated Schema, as described in Schema.fbs. For some queries, the schema of the results may depend on the schema of the parameters. The server should provide its best guess as to the schema at this point. Clients must not assume that this schema, if provided, will be accurate.
bytes dataset_schema = 2;getDatasetSchema in interface FlightSql.ActionCreatePreparedStatementResultOrBuilderpublic FlightSql.ActionCreatePreparedStatementResult.Builder setDatasetSchema(com.google.protobuf.ByteString value)
If a result set generating query was provided, dataset_schema contains the schema of the result set. It should be an IPC-encapsulated Schema, as described in Schema.fbs. For some queries, the schema of the results may depend on the schema of the parameters. The server should provide its best guess as to the schema at this point. Clients must not assume that this schema, if provided, will be accurate.
bytes dataset_schema = 2;value - The datasetSchema to set.public FlightSql.ActionCreatePreparedStatementResult.Builder clearDatasetSchema()
If a result set generating query was provided, dataset_schema contains the schema of the result set. It should be an IPC-encapsulated Schema, as described in Schema.fbs. For some queries, the schema of the results may depend on the schema of the parameters. The server should provide its best guess as to the schema at this point. Clients must not assume that this schema, if provided, will be accurate.
bytes dataset_schema = 2;public com.google.protobuf.ByteString getParameterSchema()
If the query provided contained parameters, parameter_schema contains the schema of the expected parameters. It should be an IPC-encapsulated Schema, as described in Schema.fbs.
bytes parameter_schema = 3;getParameterSchema in interface FlightSql.ActionCreatePreparedStatementResultOrBuilderpublic FlightSql.ActionCreatePreparedStatementResult.Builder setParameterSchema(com.google.protobuf.ByteString value)
If the query provided contained parameters, parameter_schema contains the schema of the expected parameters. It should be an IPC-encapsulated Schema, as described in Schema.fbs.
bytes parameter_schema = 3;value - The parameterSchema to set.public FlightSql.ActionCreatePreparedStatementResult.Builder clearParameterSchema()
If the query provided contained parameters, parameter_schema contains the schema of the expected parameters. It should be an IPC-encapsulated Schema, as described in Schema.fbs.
bytes parameter_schema = 3;public final FlightSql.ActionCreatePreparedStatementResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionCreatePreparedStatementResult.Builder>public final FlightSql.ActionCreatePreparedStatementResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionCreatePreparedStatementResult.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.