public class RelReferentialConstraintImpl extends Object implements RelReferentialConstraint
| Modifier and Type | Field and Description |
|---|---|
private List<IntPair> |
columnPairs |
private List<String> |
sourceQualifiedName |
private List<String> |
targetQualifiedName |
| Modifier | Constructor and Description |
|---|---|
private |
RelReferentialConstraintImpl(List<String> sourceQualifiedName,
List<String> targetQualifiedName,
List<IntPair> columnPairs) |
| Modifier and Type | Method and Description |
|---|---|
List<IntPair> |
getColumnPairs()
The (source, target) column ordinals.
|
int |
getNumColumns()
Returns the number of columns in the keys.
|
List<String> |
getSourceQualifiedName()
The qualified name of the referencing table, e.g.
|
List<String> |
getTargetQualifiedName()
The qualified name of the referenced table, e.g.
|
static RelReferentialConstraintImpl |
of(List<String> sourceQualifiedName,
List<String> targetQualifiedName,
List<IntPair> columnPairs) |
String |
toString() |
public List<String> getSourceQualifiedName()
RelReferentialConstraintgetSourceQualifiedName in interface RelReferentialConstraintpublic List<String> getTargetQualifiedName()
RelReferentialConstraintgetTargetQualifiedName in interface RelReferentialConstraintpublic List<IntPair> getColumnPairs()
RelReferentialConstraintgetColumnPairs in interface RelReferentialConstraintpublic int getNumColumns()
RelReferentialConstraintgetNumColumns in interface RelReferentialConstraintpublic static RelReferentialConstraintImpl of(List<String> sourceQualifiedName, List<String> targetQualifiedName, List<IntPair> columnPairs)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.