public static final class FlightSql.CommandGetExportedKeys extends com.google.protobuf.GeneratedMessageV3 implements FlightSql.CommandGetExportedKeysOrBuilder
Represents a request to retrieve a description of the foreign key columns that reference the given table's primary key columns (the foreign keys exported by a table) 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: < pk_catalog_name: utf8, pk_db_schema_name: utf8, pk_table_name: utf8 not null, pk_column_name: utf8 not null, fk_catalog_name: utf8, fk_db_schema_name: utf8, fk_table_name: utf8 not null, fk_column_name: utf8 not null, key_sequence: int32 not null, fk_key_name: utf8, pk_key_name: utf8, update_rule: uint8 not null, delete_rule: uint8 not null > The returned data should be ordered by fk_catalog_name, fk_db_schema_name, fk_table_name, fk_key_name, then key_sequence. update_rule and delete_rule returns a byte that is equivalent to actions declared on UpdateDeleteRules enum.Protobuf type
arrow.flight.protocol.sql.CommandGetExportedKeys| Modifier and Type | Class and Description |
|---|---|
static class |
FlightSql.CommandGetExportedKeys.Builder
Represents a request to retrieve a description of the foreign key columns that reference the given table's
primary key columns (the foreign keys exported by a table) 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 foreign key table.
|
com.google.protobuf.ByteString |
getCatalogBytes()
Specifies the catalog to search for the foreign key table.
|
String |
getDbSchema()
Specifies the schema to search for the foreign key table.
|
com.google.protobuf.ByteString |
getDbSchemaBytes()
Specifies the schema to search for the foreign key table.
|
static FlightSql.CommandGetExportedKeys |
getDefaultInstance() |
FlightSql.CommandGetExportedKeys |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<FlightSql.CommandGetExportedKeys> |
getParserForType() |
int |
getSerializedSize() |
String |
getTable()
Specifies the foreign key table to get the foreign keys for.
|
com.google.protobuf.ByteString |
getTableBytes()
Specifies the foreign key table to get the foreign keys for.
|
boolean |
hasCatalog()
Specifies the catalog to search for the foreign key table.
|
boolean |
hasDbSchema()
Specifies the schema to search for the foreign key table.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlightSql.CommandGetExportedKeys.Builder |
newBuilder() |
static FlightSql.CommandGetExportedKeys.Builder |
newBuilder(FlightSql.CommandGetExportedKeys prototype) |
FlightSql.CommandGetExportedKeys.Builder |
newBuilderForType() |
protected FlightSql.CommandGetExportedKeys.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FlightSql.CommandGetExportedKeys |
parseDelimitedFrom(InputStream input) |
static FlightSql.CommandGetExportedKeys |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetExportedKeys |
parseFrom(byte[] data) |
static FlightSql.CommandGetExportedKeys |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetExportedKeys |
parseFrom(ByteBuffer data) |
static FlightSql.CommandGetExportedKeys |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetExportedKeys |
parseFrom(com.google.protobuf.ByteString data) |
static FlightSql.CommandGetExportedKeys |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetExportedKeys |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlightSql.CommandGetExportedKeys |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetExportedKeys |
parseFrom(InputStream input) |
static FlightSql.CommandGetExportedKeys |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlightSql.CommandGetExportedKeys> |
parser() |
FlightSql.CommandGetExportedKeys.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 foreign key 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.CommandGetExportedKeysOrBuilderpublic String getCatalog()
Specifies the catalog to search for the foreign key 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.CommandGetExportedKeysOrBuilderpublic com.google.protobuf.ByteString getCatalogBytes()
Specifies the catalog to search for the foreign key 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.CommandGetExportedKeysOrBuilderpublic boolean hasDbSchema()
Specifies the schema to search for the foreign key 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.CommandGetExportedKeysOrBuilderpublic String getDbSchema()
Specifies the schema to search for the foreign key 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.CommandGetExportedKeysOrBuilderpublic com.google.protobuf.ByteString getDbSchemaBytes()
Specifies the schema to search for the foreign key 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.CommandGetExportedKeysOrBuilderpublic String getTable()
Specifies the foreign key table to get the foreign keys for.
string table = 3;getTable in interface FlightSql.CommandGetExportedKeysOrBuilderpublic com.google.protobuf.ByteString getTableBytes()
Specifies the foreign key table to get the foreign keys for.
string table = 3;getTableBytes in interface FlightSql.CommandGetExportedKeysOrBuilderpublic 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.CommandGetExportedKeys parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(InputStream input) throws IOException
IOExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlightSql.CommandGetExportedKeys parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FlightSql.CommandGetExportedKeys parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FlightSql.CommandGetExportedKeys parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FlightSql.CommandGetExportedKeys.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FlightSql.CommandGetExportedKeys.Builder newBuilder()
public static FlightSql.CommandGetExportedKeys.Builder newBuilder(FlightSql.CommandGetExportedKeys prototype)
public FlightSql.CommandGetExportedKeys.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FlightSql.CommandGetExportedKeys.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FlightSql.CommandGetExportedKeys getDefaultInstance()
public static com.google.protobuf.Parser<FlightSql.CommandGetExportedKeys> parser()
public com.google.protobuf.Parser<FlightSql.CommandGetExportedKeys> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FlightSql.CommandGetExportedKeys getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 The Apache Software Foundation. All rights reserved.