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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder>
public FlightSql.CommandGetExportedKeys getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlightSql.CommandGetExportedKeys build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.CommandGetExportedKeys buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.CommandGetExportedKeys.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandGetExportedKeys.Builder>
IOException
public 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.CommandGetExportedKeysOrBuilder
public 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.CommandGetExportedKeysOrBuilder
public 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.CommandGetExportedKeysOrBuilder
public 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.CommandGetExportedKeysOrBuilder
public 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.CommandGetExportedKeysOrBuilder
public 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.CommandGetExportedKeysOrBuilder
public 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.CommandGetExportedKeysOrBuilder
public com.google.protobuf.ByteString getTableBytes()
Specifies the foreign key table to get the foreign keys for.
string table = 3;
getTableBytes
in interface FlightSql.CommandGetExportedKeysOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetExportedKeys.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.