public static final class FlightSql.CommandGetExportedKeys.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder> 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 | Method and Description |
|---|---|
FlightSql.CommandGetExportedKeys |
build() |
FlightSql.CommandGetExportedKeys |
buildPartial() |
FlightSql.CommandGetExportedKeys.Builder |
clear() |
FlightSql.CommandGetExportedKeys.Builder |
clearCatalog()
Specifies the catalog to search for the foreign key table.
|
FlightSql.CommandGetExportedKeys.Builder |
clearDbSchema()
Specifies the schema to search for the foreign key table.
|
FlightSql.CommandGetExportedKeys.Builder |
clearTable()
Specifies the foreign key table to get the foreign keys for.
|
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.
|
FlightSql.CommandGetExportedKeys |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.CommandGetExportedKeys.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.CommandGetExportedKeys.Builder |
mergeFrom(FlightSql.CommandGetExportedKeys other) |
FlightSql.CommandGetExportedKeys.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.CommandGetExportedKeys.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.CommandGetExportedKeys.Builder |
setCatalog(String value)
Specifies the catalog to search for the foreign key table.
|
FlightSql.CommandGetExportedKeys.Builder |
setCatalogBytes(com.google.protobuf.ByteString value)
Specifies the catalog to search for the foreign key table.
|
FlightSql.CommandGetExportedKeys.Builder |
setDbSchema(String value)
Specifies the schema to search for the foreign key table.
|
FlightSql.CommandGetExportedKeys.Builder |
setDbSchemaBytes(com.google.protobuf.ByteString value)
Specifies the schema to search for the foreign key table.
|
FlightSql.CommandGetExportedKeys.Builder |
setTable(String value)
Specifies the foreign key table to get the foreign keys for.
|
FlightSql.CommandGetExportedKeys.Builder |
setTableBytes(com.google.protobuf.ByteString value)
Specifies the foreign key table to get the foreign keys for.
|
FlightSql.CommandGetExportedKeys.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.CommandGetExportedKeys.Builder>public FlightSql.CommandGetExportedKeys.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.CommandGetExportedKeys.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.CommandGetExportedKeys.Builder>public FlightSql.CommandGetExportedKeys getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FlightSql.CommandGetExportedKeys build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.CommandGetExportedKeys buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.CommandGetExportedKeys.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandGetExportedKeys.Builder>public FlightSql.CommandGetExportedKeys.Builder mergeFrom(FlightSql.CommandGetExportedKeys other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder>public FlightSql.CommandGetExportedKeys.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.CommandGetExportedKeys.Builder>IOExceptionpublic 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 FlightSql.CommandGetExportedKeys.Builder setCatalog(String value)
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;value - The catalog to set.public FlightSql.CommandGetExportedKeys.Builder clearCatalog()
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;public FlightSql.CommandGetExportedKeys.Builder setCatalogBytes(com.google.protobuf.ByteString value)
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;value - The bytes for catalog to set.public 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 FlightSql.CommandGetExportedKeys.Builder setDbSchema(String value)
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;value - The dbSchema to set.public FlightSql.CommandGetExportedKeys.Builder clearDbSchema()
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;public FlightSql.CommandGetExportedKeys.Builder setDbSchemaBytes(com.google.protobuf.ByteString value)
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;value - The bytes for dbSchema to set.public 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 FlightSql.CommandGetExportedKeys.Builder setTable(String value)
Specifies the foreign key table to get the foreign keys for.
string table = 3;value - The table to set.public FlightSql.CommandGetExportedKeys.Builder clearTable()
Specifies the foreign key table to get the foreign keys for.
string table = 3;public FlightSql.CommandGetExportedKeys.Builder setTableBytes(com.google.protobuf.ByteString value)
Specifies the foreign key table to get the foreign keys for.
string table = 3;value - The bytes for table to set.public final FlightSql.CommandGetExportedKeys.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder>public final FlightSql.CommandGetExportedKeys.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.