Uses of Class
org.apache.sis.internal.sql.feature.Relation
Packages that use Relation
-
Uses of Relation in org.apache.sis.internal.sql.feature
Fields in org.apache.sis.internal.sql.feature declared as RelationModifier and TypeFieldDescription(package private) static final Relation[]
Relation.EMPTY
An empty array used when there are no relations.(package private) final Relation[]
Table.exportedKeys
The foreign keys of other tables that reference this table primary key columns.(package private) final Relation[]
Table.importedKeys
The primary keys of other tables that are referenced by this table foreign key columns.Fields in org.apache.sis.internal.sql.feature with type parameters of type RelationModifier and TypeFieldDescriptionFeatureAnalyzer.foreignerKeys
Foreigner keys that are referencing primary keys of other tables (Relation.Direction.IMPORT
).Methods in org.apache.sis.internal.sql.feature that return RelationModifier and TypeMethodDescription(package private) abstract Relation[]
FeatureAnalyzer.getForeignerKeys
(Relation.Direction direction) Returns a list of associations between the table analyzed by this method and other tables.(package private) Relation[]
QueryAnalyzer.getForeignerKeys
(Relation.Direction direction) Returns a list of associations between the table read by this method and other tables.(package private) final Relation[]
TableAnalyzer.getForeignerKeys
(Relation.Direction direction) Returns a list of associations between the table read by this method and other tables.(package private) final Relation
Table.getInverseOf
(Relation exported, TableReference exportedOwner) If this table imports the inverse of the given relation, returns the imported relation.Methods in org.apache.sis.internal.sql.feature with parameters of type RelationModifier and TypeMethodDescription(package private) final void
FeatureAnalyzer.addForeignerKeys
(Relation relation) Declares that a foreigner key is referencing the primary key of another tables (Relation.Direction.IMPORT
).private static void
Table.appendAll
(TreeTable.Node parent, Relation[] children, String arrow) Appends all children to the given parent.(package private) final PrimaryKey
FeatureAnalyzer.createAssociations
(Relation[] exportedKeys) Completes the configuration of feature builder with remaining associations.private static int[]
FeatureAdapter.getColumnIndices
(SQLBuilder sql, Relation dependency, Map<String, Integer> columnIndices) Computes the 1-based indices of columns of foreigner keys of given dependency.(package private) final Relation
Table.getInverseOf
(Relation exported, TableReference exportedOwner) If this table imports the inverse of the given relation, returns the imported relation.(package private) final boolean
Relation.isInverseOf
(Relation other) Returnstrue
if this relation is the inverse of the given relation.Method parameters in org.apache.sis.internal.sql.feature with type arguments of type RelationModifier and TypeMethodDescription(package private) final void
Relation.endFollowing
(List<Relation> following) Removes this relation from the given list, making sure that this relation was at the tail.(package private) final void
Relation.startFollowing
(List<Relation> following) Adds this relation to the given list, making sure that the relation has not already been added.Constructors in org.apache.sis.internal.sql.feature with parameters of type RelationModifierConstructorDescriptionprivate
FeatureAdapter
(Table table, DatabaseMetaData metadata, List<Relation> following, Relation noFollow) Creates a new adapter for features in the given table.Constructor parameters in org.apache.sis.internal.sql.feature with type arguments of type RelationModifierConstructorDescriptionprivate
FeatureAdapter
(Table table, DatabaseMetaData metadata, List<Relation> following, Relation noFollow) Creates a new adapter for features in the given table.