public static final class FlightSql.CommandGetCrossReference extends com.google.protobuf.GeneratedMessageV3 implements FlightSql.CommandGetCrossReferenceOrBuilder
Represents a request to retrieve a description of the foreign key columns in the given foreign key table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different 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.CommandGetCrossReference
Modifier and Type | Class and Description |
---|---|
static class |
FlightSql.CommandGetCrossReference.Builder
Represents a request to retrieve a description of the foreign key columns in the given foreign key table that
reference the primary key or the columns representing a unique constraint of the parent table (could be the same
or a different 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 |
FK_CATALOG_FIELD_NUMBER |
static int |
FK_DB_SCHEMA_FIELD_NUMBER |
static int |
FK_TABLE_FIELD_NUMBER |
static int |
PK_CATALOG_FIELD_NUMBER |
static int |
PK_DB_SCHEMA_FIELD_NUMBER |
static int |
PK_TABLE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static FlightSql.CommandGetCrossReference |
getDefaultInstance() |
FlightSql.CommandGetCrossReference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFkCatalog()
The catalog name where the foreign table is.
|
com.google.protobuf.ByteString |
getFkCatalogBytes()
The catalog name where the foreign table is.
|
String |
getFkDbSchema()
The schema name where the foreign table is.
|
com.google.protobuf.ByteString |
getFkDbSchemaBytes()
The schema name where the foreign table is.
|
String |
getFkTable()
The foreign table name.
|
com.google.protobuf.ByteString |
getFkTableBytes()
The foreign table name.
|
com.google.protobuf.Parser<FlightSql.CommandGetCrossReference> |
getParserForType() |
String |
getPkCatalog()
The catalog name where the parent table is.
|
com.google.protobuf.ByteString |
getPkCatalogBytes()
The catalog name where the parent table is.
|
String |
getPkDbSchema()
The Schema name where the parent table is.
|
com.google.protobuf.ByteString |
getPkDbSchemaBytes()
The Schema name where the parent table is.
|
String |
getPkTable()
The parent table name.
|
com.google.protobuf.ByteString |
getPkTableBytes()
The parent table name.
|
int |
getSerializedSize() |
boolean |
hasFkCatalog()
The catalog name where the foreign table is.
|
boolean |
hasFkDbSchema()
The schema name where the foreign table is.
|
int |
hashCode() |
boolean |
hasPkCatalog()
The catalog name where the parent table is.
|
boolean |
hasPkDbSchema()
The Schema name where the parent table is.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FlightSql.CommandGetCrossReference.Builder |
newBuilder() |
static FlightSql.CommandGetCrossReference.Builder |
newBuilder(FlightSql.CommandGetCrossReference prototype) |
FlightSql.CommandGetCrossReference.Builder |
newBuilderForType() |
protected FlightSql.CommandGetCrossReference.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FlightSql.CommandGetCrossReference |
parseDelimitedFrom(InputStream input) |
static FlightSql.CommandGetCrossReference |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetCrossReference |
parseFrom(byte[] data) |
static FlightSql.CommandGetCrossReference |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetCrossReference |
parseFrom(ByteBuffer data) |
static FlightSql.CommandGetCrossReference |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetCrossReference |
parseFrom(com.google.protobuf.ByteString data) |
static FlightSql.CommandGetCrossReference |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetCrossReference |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FlightSql.CommandGetCrossReference |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FlightSql.CommandGetCrossReference |
parseFrom(InputStream input) |
static FlightSql.CommandGetCrossReference |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FlightSql.CommandGetCrossReference> |
parser() |
FlightSql.CommandGetCrossReference.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 PK_CATALOG_FIELD_NUMBER
public static final int PK_DB_SCHEMA_FIELD_NUMBER
public static final int PK_TABLE_FIELD_NUMBER
public static final int FK_CATALOG_FIELD_NUMBER
public static final int FK_DB_SCHEMA_FIELD_NUMBER
public static final int FK_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 hasPkCatalog()
The catalog name where the parent table is. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string pk_catalog = 1;
hasPkCatalog
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public String getPkCatalog()
The catalog name where the parent table is. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string pk_catalog = 1;
getPkCatalog
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public com.google.protobuf.ByteString getPkCatalogBytes()
The catalog name where the parent table is. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string pk_catalog = 1;
getPkCatalogBytes
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public boolean hasPkDbSchema()
The Schema name where the parent table is. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string pk_db_schema = 2;
hasPkDbSchema
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public String getPkDbSchema()
The Schema name where the parent table is. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string pk_db_schema = 2;
getPkDbSchema
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public com.google.protobuf.ByteString getPkDbSchemaBytes()
The Schema name where the parent table is. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string pk_db_schema = 2;
getPkDbSchemaBytes
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public String getPkTable()
The parent table name. It cannot be null.
string pk_table = 3;
getPkTable
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public com.google.protobuf.ByteString getPkTableBytes()
The parent table name. It cannot be null.
string pk_table = 3;
getPkTableBytes
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public boolean hasFkCatalog()
The catalog name where the foreign table is. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string fk_catalog = 4;
hasFkCatalog
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public String getFkCatalog()
The catalog name where the foreign table is. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string fk_catalog = 4;
getFkCatalog
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public com.google.protobuf.ByteString getFkCatalogBytes()
The catalog name where the foreign table is. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string fk_catalog = 4;
getFkCatalogBytes
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public boolean hasFkDbSchema()
The schema name where the foreign table is. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string fk_db_schema = 5;
hasFkDbSchema
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public String getFkDbSchema()
The schema name where the foreign table is. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string fk_db_schema = 5;
getFkDbSchema
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public com.google.protobuf.ByteString getFkDbSchemaBytes()
The schema name where the foreign table is. An empty string retrieves those without a schema. If omitted the schema name should not be used to narrow the search.
optional string fk_db_schema = 5;
getFkDbSchemaBytes
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public String getFkTable()
The foreign table name. It cannot be null.
string fk_table = 6;
getFkTable
in interface FlightSql.CommandGetCrossReferenceOrBuilder
public com.google.protobuf.ByteString getFkTableBytes()
The foreign table name. It cannot be null.
string fk_table = 6;
getFkTableBytes
in interface FlightSql.CommandGetCrossReferenceOrBuilder
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.CommandGetCrossReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetCrossReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetCrossReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetCrossReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetCrossReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetCrossReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FlightSql.CommandGetCrossReference parseFrom(InputStream input) throws IOException
IOException
public static FlightSql.CommandGetCrossReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FlightSql.CommandGetCrossReference parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FlightSql.CommandGetCrossReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FlightSql.CommandGetCrossReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FlightSql.CommandGetCrossReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FlightSql.CommandGetCrossReference.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FlightSql.CommandGetCrossReference.Builder newBuilder()
public static FlightSql.CommandGetCrossReference.Builder newBuilder(FlightSql.CommandGetCrossReference prototype)
public FlightSql.CommandGetCrossReference.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FlightSql.CommandGetCrossReference.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static FlightSql.CommandGetCrossReference getDefaultInstance()
public static com.google.protobuf.Parser<FlightSql.CommandGetCrossReference> parser()
public com.google.protobuf.Parser<FlightSql.CommandGetCrossReference> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FlightSql.CommandGetCrossReference getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 The Apache Software Foundation. All rights reserved.