public static final class FlightSql.ActionCreatePreparedStatementResult extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
FlightSql.ActionCreatePreparedStatementResult.Builder
Wrap the result of a "CreatePreparedStatement" or "CreatePreparedSubstraitPlan" action.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATASET_SCHEMA_FIELD_NUMBER |
static int |
PARAMETER_SCHEMA_FIELD_NUMBER |
static int |
PREPARED_STATEMENT_HANDLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getDatasetSchema()
If a result set generating query was provided, dataset_schema contains the
schema of the result set.
|
static FlightSql.ActionCreatePreparedStatementResult |
getDefaultInstance() |
FlightSql.ActionCreatePreparedStatementResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getParameterSchema()
If the query provided contained parameters, parameter_schema contains the
schema of the expected parameters.
|
com.google.protobuf.Parser<FlightSql.ActionCreatePreparedStatementResult> |
getParserForType() |
com.google.protobuf.ByteString |
getPreparedStatementHandle()
Opaque handle for the prepared statement on the server.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlightSql.ActionCreatePreparedStatementResult.Builder |
newBuilder() |
static FlightSql.ActionCreatePreparedStatementResult.Builder |
newBuilder(FlightSql.ActionCreatePreparedStatementResult prototype) |
FlightSql.ActionCreatePreparedStatementResult.Builder |
newBuilderForType() |
protected FlightSql.ActionCreatePreparedStatementResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FlightSql.ActionCreatePreparedStatementResult |
parseDelimitedFrom(InputStream input) |
static FlightSql.ActionCreatePreparedStatementResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(byte[] data) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(ByteBuffer data) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(com.google.protobuf.ByteString data) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(InputStream input) |
static FlightSql.ActionCreatePreparedStatementResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlightSql.ActionCreatePreparedStatementResult> |
parser() |
FlightSql.ActionCreatePreparedStatementResult.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PREPARED_STATEMENT_HANDLE_FIELD_NUMBER
public static final int DATASET_SCHEMA_FIELD_NUMBER
public static final int PARAMETER_SCHEMA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getPreparedStatementHandle()
Opaque handle for the prepared statement on the server.
bytes prepared_statement_handle = 1;getPreparedStatementHandle in interface FlightSql.ActionCreatePreparedStatementResultOrBuilderpublic 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FlightSql.ActionCreatePreparedStatementResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FlightSql.ActionCreatePreparedStatementResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FlightSql.ActionCreatePreparedStatementResult.Builder newBuilder()
public static FlightSql.ActionCreatePreparedStatementResult.Builder newBuilder(FlightSql.ActionCreatePreparedStatementResult prototype)
public FlightSql.ActionCreatePreparedStatementResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FlightSql.ActionCreatePreparedStatementResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FlightSql.ActionCreatePreparedStatementResult getDefaultInstance()
public static com.google.protobuf.Parser<FlightSql.ActionCreatePreparedStatementResult> parser()
public com.google.protobuf.Parser<FlightSql.ActionCreatePreparedStatementResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FlightSql.ActionCreatePreparedStatementResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 The Apache Software Foundation. All rights reserved.