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 primaryColumn,
Column foreignColumn) |
static Relationship |
MutableRelationship.createRelationship(List<Column> primaryColumns,
List<Column> foreignColumns)
Factory method to create relations between two tables by specifying which
columns from the tables that enforce the relationship.
|
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–2019 The Apache Software Foundation. All rights reserved.