public static final class FlightSql.CommandGetPrimaryKeys extends com.google.protobuf.GeneratedMessageV3 implements FlightSql.CommandGetPrimaryKeysOrBuilder
Represents a request to retrieve the primary keys of a table on a Flight SQL enabled backend. Used in the command member of FlightDescriptor for the following RPC calls: - GetSchema: return the Arrow schema of the query. - GetFlightInfo: execute the catalog metadata request. The returned Arrow schema will be: < catalog_name: utf8, db_schema_name: utf8, table_name: utf8 not null, column_name: utf8 not null, key_name: utf8, key_sequence: int32 not null > The returned data should be ordered by catalog_name, db_schema_name, table_name, key_name, then key_sequence.Protobuf type
arrow.flight.protocol.sql.CommandGetPrimaryKeys| Modifier and Type | Class and Description |
|---|---|
static class |
FlightSql.CommandGetPrimaryKeys.Builder
Represents a request to retrieve the primary keys of a table on a Flight SQL enabled backend.
|
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 |
CATALOG_FIELD_NUMBER |
static int |
DB_SCHEMA_FIELD_NUMBER |
static int |
TABLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCatalog()
Specifies the catalog to search for the table.
|
com.google.protobuf.ByteString |
getCatalogBytes()
Specifies the catalog to search for the table.
|
String |
getDbSchema()
Specifies the schema to search for the table.
|
com.google.protobuf.ByteString |
getDbSchemaBytes()
Specifies the schema to search for the table.
|
static FlightSql.CommandGetPrimaryKeys |
getDefaultInstance() |
FlightSql.CommandGetPrimaryKeys |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<FlightSql.CommandGetPrimaryKeys> |
getParserForType() |
int |
getSerializedSize() |
String |
getTable()
Specifies the table to get the primary keys for.
|
com.google.protobuf.ByteString |
getTableBytes()
Specifies the table to get the primary keys for.
|
boolean |
hasCatalog()
Specifies the catalog to search for the table.
|
boolean |
hasDbSchema()
Specifies the schema to search for the table.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlightSql.CommandGetPrimaryKeys.Builder |
newBuilder() |
static FlightSql.CommandGetPrimaryKeys.Builder |
newBuilder(FlightSql.CommandGetPrimaryKeys prototype) |
FlightSql.CommandGetPrimaryKeys.Builder |
newBuilderForType() |
protected FlightSql.CommandGetPrimaryKeys.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FlightSql.CommandGetPrimaryKeys |
parseDelimitedFrom(InputStream input) |
static FlightSql.CommandGetPrimaryKeys |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(byte[] data) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(ByteBuffer data) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(com.google.protobuf.ByteString data) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(InputStream input) |
static FlightSql.CommandGetPrimaryKeys |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlightSql.CommandGetPrimaryKeys> |
parser() |
FlightSql.CommandGetPrimaryKeys.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 CATALOG_FIELD_NUMBER
public static final int DB_SCHEMA_FIELD_NUMBER
public static final int TABLE_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 boolean hasCatalog()
Specifies the catalog to search for the table. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;hasCatalog in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic String getCatalog()
Specifies the catalog to search for the table. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;getCatalog in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic com.google.protobuf.ByteString getCatalogBytes()
Specifies the catalog to search for the table. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;getCatalogBytes in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic boolean hasDbSchema()
Specifies the schema to search for the table. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string db_schema = 2;hasDbSchema in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic String getDbSchema()
Specifies the schema to search for the table. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string db_schema = 2;getDbSchema in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic com.google.protobuf.ByteString getDbSchemaBytes()
Specifies the schema to search for the table. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string db_schema = 2;getDbSchemaBytes in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic String getTable()
Specifies the table to get the primary keys for.
string table = 3;getTable in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic com.google.protobuf.ByteString getTableBytes()
Specifies the table to get the primary keys for.
string table = 3;getTableBytes in interface FlightSql.CommandGetPrimaryKeysOrBuilderpublic 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.CommandGetPrimaryKeys parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(InputStream input) throws IOException
IOExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlightSql.CommandGetPrimaryKeys parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FlightSql.CommandGetPrimaryKeys parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FlightSql.CommandGetPrimaryKeys parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FlightSql.CommandGetPrimaryKeys.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FlightSql.CommandGetPrimaryKeys.Builder newBuilder()
public static FlightSql.CommandGetPrimaryKeys.Builder newBuilder(FlightSql.CommandGetPrimaryKeys prototype)
public FlightSql.CommandGetPrimaryKeys.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FlightSql.CommandGetPrimaryKeys.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FlightSql.CommandGetPrimaryKeys getDefaultInstance()
public static com.google.protobuf.Parser<FlightSql.CommandGetPrimaryKeys> parser()
public com.google.protobuf.Parser<FlightSql.CommandGetPrimaryKeys> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FlightSql.CommandGetPrimaryKeys getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 The Apache Software Foundation. All rights reserved.