org.polypheny.prism.ForeignKeyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polypheny-jdbc-driver Show documentation
Show all versions of polypheny-jdbc-driver Show documentation
A standards-compliant JDBC driver for Polypheny-DB.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: org/polypheny/prism/namespace_meta_responses.proto
package org.polypheny.prism;
public interface ForeignKeyOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.polypheny.prism.ForeignKey)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*The namespace or schema of the referenced table.
*This indicates the specific namespace or schema within the database where the referenced table resides.
*
*
* optional string referenced_namespace_name = 2;
* @return Whether the referencedNamespaceName field is set.
*/
boolean hasReferencedNamespaceName();
/**
*
*
*The namespace or schema of the referenced table.
*This indicates the specific namespace or schema within the database where the referenced table resides.
*
*
* optional string referenced_namespace_name = 2;
* @return The referencedNamespaceName.
*/
java.lang.String getReferencedNamespaceName();
/**
*
*
*The namespace or schema of the referenced table.
*This indicates the specific namespace or schema within the database where the referenced table resides.
*
*
* optional string referenced_namespace_name = 2;
* @return The bytes for referencedNamespaceName.
*/
com.google.protobuf.ByteString
getReferencedNamespaceNameBytes();
/**
*
*
*The table being referenced by the foreign key.
*This field identifies the target table that contains the referenced columns.
*
*
* string referenced_table_name = 3;
* @return The referencedTableName.
*/
java.lang.String getReferencedTableName();
/**
*
*
*The table being referenced by the foreign key.
*This field identifies the target table that contains the referenced columns.
*
*
* string referenced_table_name = 3;
* @return The bytes for referencedTableName.
*/
com.google.protobuf.ByteString
getReferencedTableNameBytes();
/**
*
* The columns in the referenced table. These are the columns in the referenced table that the foreign key points to.
*
*
* repeated .org.polypheny.prism.Column referenced_columns = 4;
*/
java.util.List
getReferencedColumnsList();
/**
*
* The columns in the referenced table. These are the columns in the referenced table that the foreign key points to.
*
*
* repeated .org.polypheny.prism.Column referenced_columns = 4;
*/
org.polypheny.prism.Column getReferencedColumns(int index);
/**
*
* The columns in the referenced table. These are the columns in the referenced table that the foreign key points to.
*
*
* repeated .org.polypheny.prism.Column referenced_columns = 4;
*/
int getReferencedColumnsCount();
/**
*
* The columns in the referenced table. These are the columns in the referenced table that the foreign key points to.
*
*
* repeated .org.polypheny.prism.Column referenced_columns = 4;
*/
java.util.List extends org.polypheny.prism.ColumnOrBuilder>
getReferencedColumnsOrBuilderList();
/**
*
* The columns in the referenced table. These are the columns in the referenced table that the foreign key points to.
*
*
* repeated .org.polypheny.prism.Column referenced_columns = 4;
*/
org.polypheny.prism.ColumnOrBuilder getReferencedColumnsOrBuilder(
int index);
/**
*
*
*The columns in the current table that make up the foreign key.
*These columns in the table contain the foreign key constraint reference the corresponding columns in the referenced table.
*
*
* repeated .org.polypheny.prism.Column foreign_columns = 8;
*/
java.util.List
getForeignColumnsList();
/**
*
*
*The columns in the current table that make up the foreign key.
*These columns in the table contain the foreign key constraint reference the corresponding columns in the referenced table.
*
*
* repeated .org.polypheny.prism.Column foreign_columns = 8;
*/
org.polypheny.prism.Column getForeignColumns(int index);
/**
*
*
*The columns in the current table that make up the foreign key.
*These columns in the table contain the foreign key constraint reference the corresponding columns in the referenced table.
*
*
* repeated .org.polypheny.prism.Column foreign_columns = 8;
*/
int getForeignColumnsCount();
/**
*
*
*The columns in the current table that make up the foreign key.
*These columns in the table contain the foreign key constraint reference the corresponding columns in the referenced table.
*
*
* repeated .org.polypheny.prism.Column foreign_columns = 8;
*/
java.util.List extends org.polypheny.prism.ColumnOrBuilder>
getForeignColumnsOrBuilderList();
/**
*
*
*The columns in the current table that make up the foreign key.
*These columns in the table contain the foreign key constraint reference the corresponding columns in the referenced table.
*
*
* repeated .org.polypheny.prism.Column foreign_columns = 8;
*/
org.polypheny.prism.ColumnOrBuilder getForeignColumnsOrBuilder(
int index);
/**
*
*
*A numeric representation of the action taken when a referenced row is updated.
*This rule determines how changes to the referenced columns affect the rows that hold the foreign key.
*
*
* int32 update_rule = 10;
* @return The updateRule.
*/
int getUpdateRule();
/**
*
*
*A numeric representation of the action taken when a referenced row is deleted.
*Similar to the update rule, this defines the behavior of the foreign key relationship when rows in the referenced table are deleted.
*
*
* int32 delete_rule = 11;
* @return The deleteRule.
*/
int getDeleteRule();
/**
*
*
*An optional name for the foreign key constraint.
*This allows for the naming of the foreign key constraint for easier reference and management within the database.
*
*
* optional string key_name = 12;
* @return Whether the keyName field is set.
*/
boolean hasKeyName();
/**
*
*
*An optional name for the foreign key constraint.
*This allows for the naming of the foreign key constraint for easier reference and management within the database.
*
*
* optional string key_name = 12;
* @return The keyName.
*/
java.lang.String getKeyName();
/**
*
*
*An optional name for the foreign key constraint.
*This allows for the naming of the foreign key constraint for easier reference and management within the database.
*
*
* optional string key_name = 12;
* @return The bytes for keyName.
*/
com.google.protobuf.ByteString
getKeyNameBytes();
}