public static final class FlightSql.CommandGetImportedKeys extends com.google.protobuf.GeneratedMessageV3 implements FlightSql.CommandGetImportedKeysOrBuilder
Represents a request to retrieve the foreign 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: < 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 pk_catalog_name, pk_db_schema_name, pk_table_name, pk_key_name, then key_sequence. update_rule and delete_rule returns a byte that is equivalent to actions: - 0 = CASCADE - 1 = RESTRICT - 2 = SET NULL - 3 = NO ACTION - 4 = SET DEFAULTProtobuf type
arrow.flight.protocol.sql.CommandGetImportedKeys
Modifier and Type | Class and Description |
---|---|
static class |
FlightSql.CommandGetImportedKeys.Builder
Represents a request to retrieve the foreign 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 primary key table.
|
com.google.protobuf.ByteString |
getCatalogBytes()
Specifies the catalog to search for the primary key table.
|
String |
getDbSchema()
Specifies the schema to search for the primary key table.
|
com.google.protobuf.ByteString |
getDbSchemaBytes()
Specifies the schema to search for the primary key table.
|
static FlightSql.CommandGetImportedKeys |
getDefaultInstance() |
FlightSql.CommandGetImportedKeys |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<FlightSql.CommandGetImportedKeys> |
getParserForType() |
int |
getSerializedSize() |
String |
getTable()
Specifies the primary key table to get the foreign keys for.
|
com.google.protobuf.ByteString |
getTableBytes()
Specifies the primary key table to get the foreign keys for.
|
boolean |
hasCatalog()
Specifies the catalog to search for the primary key table.
|
boolean |
hasDbSchema()
Specifies the schema to search for the primary key table.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlightSql.CommandGetImportedKeys.Builder |
newBuilder() |
static FlightSql.CommandGetImportedKeys.Builder |
newBuilder(FlightSql.CommandGetImportedKeys prototype) |
FlightSql.CommandGetImportedKeys.Builder |
newBuilderForType() |
protected FlightSql.CommandGetImportedKeys.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FlightSql.CommandGetImportedKeys |
parseDelimitedFrom(InputStream input) |
static FlightSql.CommandGetImportedKeys |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetImportedKeys |
parseFrom(byte[] data) |
static FlightSql.CommandGetImportedKeys |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetImportedKeys |
parseFrom(ByteBuffer data) |
static FlightSql.CommandGetImportedKeys |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetImportedKeys |
parseFrom(com.google.protobuf.ByteString data) |
static FlightSql.CommandGetImportedKeys |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetImportedKeys |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlightSql.CommandGetImportedKeys |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetImportedKeys |
parseFrom(InputStream input) |
static FlightSql.CommandGetImportedKeys |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlightSql.CommandGetImportedKeys> |
parser() |
FlightSql.CommandGetImportedKeys.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasCatalog()
Specifies the catalog to search for the primary 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.CommandGetImportedKeysOrBuilder
public String getCatalog()
Specifies the catalog to search for the primary 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.CommandGetImportedKeysOrBuilder
public com.google.protobuf.ByteString getCatalogBytes()
Specifies the catalog to search for the primary 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.CommandGetImportedKeysOrBuilder
public boolean hasDbSchema()
Specifies the schema to search for the primary 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.CommandGetImportedKeysOrBuilder
public String getDbSchema()
Specifies the schema to search for the primary 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.CommandGetImportedKeysOrBuilder
public com.google.protobuf.ByteString getDbSchemaBytes()
Specifies the schema to search for the primary 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.CommandGetImportedKeysOrBuilder
public String getTable()
Specifies the primary key table to get the foreign keys for.
string table = 3;
getTable
in interface FlightSql.CommandGetImportedKeysOrBuilder
public com.google.protobuf.ByteString getTableBytes()
Specifies the primary key table to get the foreign keys for.
string table = 3;
getTableBytes
in interface FlightSql.CommandGetImportedKeysOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static FlightSql.CommandGetImportedKeys parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetImportedKeys parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetImportedKeys parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetImportedKeys parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetImportedKeys parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetImportedKeys parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetImportedKeys parseFrom(InputStream input) throws IOException
IOException
public static FlightSql.CommandGetImportedKeys parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FlightSql.CommandGetImportedKeys parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FlightSql.CommandGetImportedKeys parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FlightSql.CommandGetImportedKeys parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FlightSql.CommandGetImportedKeys parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FlightSql.CommandGetImportedKeys.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FlightSql.CommandGetImportedKeys.Builder newBuilder()
public static FlightSql.CommandGetImportedKeys.Builder newBuilder(FlightSql.CommandGetImportedKeys prototype)
public FlightSql.CommandGetImportedKeys.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FlightSql.CommandGetImportedKeys.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static FlightSql.CommandGetImportedKeys getDefaultInstance()
public static com.google.protobuf.Parser<FlightSql.CommandGetImportedKeys> parser()
public com.google.protobuf.Parser<FlightSql.CommandGetImportedKeys> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FlightSql.CommandGetImportedKeys getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 The Apache Software Foundation. All rights reserved.