Package | Description |
---|---|
org.apache.metamodel.query |
API for querying
|
org.apache.metamodel.schema |
API for schema structure
|
org.apache.metamodel.xml |
Module package for XML files
|
Constructor and Description |
---|
FromItem(JoinType join,
Relationship relationship)
Constructor for join FROM clauses that join two tables using their
relationship.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRelationship |
class |
ImmutableRelationship |
class |
MutableRelationship
Immutable implementation of the Relationship interface.
|
Modifier and Type | Field and Description |
---|---|
protected List<Relationship> |
MutableTable._relationships |
Modifier and Type | Method and Description |
---|---|
static Relationship |
MutableRelationship.createRelationship(Column[] primaryColumns,
Column[] foreignColumns)
Factory method to create relations between two tables by specifying which
columns from the tables that enforce the relationship.
|
static Relationship |
MutableRelationship.createRelationship(Column primaryColumn,
Column foreignColumn) |
Relationship[] |
Table.getForeignKeyRelationships() |
Relationship[] |
AbstractTable.getForeignKeyRelationships() |
Relationship[] |
Table.getPrimaryKeyRelationships() |
Relationship[] |
AbstractTable.getPrimaryKeyRelationships() |
Relationship[] |
Table.getRelationships()
Gets all relationships for this table.
|
Relationship[] |
Schema.getRelationships()
Gets all relationships to and from this Schema.
|
Relationship[] |
MutableTable.getRelationships() |
Relationship[] |
CompositeSchema.getRelationships() |
Relationship[] |
AbstractSchema.getRelationships() |
Relationship[] |
Table.getRelationships(Table otherTable)
Gets relationships between this table and another table.
|
Relationship[] |
AbstractTable.getRelationships(Table otherTable) |
Modifier and Type | Method and Description |
---|---|
protected List<Relationship> |
MutableTable.getRelationshipsInternal()
Internal getter for the relationships of the table.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MutableTable.addRelationship(Relationship relation)
Protected method for adding a relationship to this table.
|
int |
AbstractRelationship.compareTo(Relationship that) |
static void |
ImmutableRelationship.create(Relationship origRelationship,
ImmutableSchema schema) |
protected MutableTable |
MutableTable.removeRelationship(Relationship relation)
Protected method for removing a relationship from this table.
|
Modifier and Type | Method and Description |
---|---|
XmlDomDataContext |
XmlDomDataContext.flattenTables(Relationship relationship) |
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.