public final class InputKeyImplication
extends java.lang.Object
Each instance tuple of the implying input key (if given) implies the presence of an instance tuple of the implied input key consisting of elements of the original tuple at given positions. When the input key is null, it is not an input constraint but some other source that implies input keys.
The implication is an immutable data object.
Constructor and Description |
---|
InputKeyImplication(IInputKey implyingKey,
IInputKey impliedKey,
java.util.List<java.lang.Integer> implyingIndices) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.Integer> |
getImpliedIndices()
The implied instance tuple consists of the values in the implying tuple at these indices.
|
IInputKey |
getImpliedKey()
An instance tuple of this input key is implied by another key.
|
IInputKey |
getImplyingKey()
Optional.
|
int |
hashCode() |
public InputKeyImplication(IInputKey implyingKey, IInputKey impliedKey, java.util.List<java.lang.Integer> implyingIndices)
implyingKey
- instance tuples of this input key imply an instance tuple of the other key.impliedKey
- instance tuple of this input key is implied by the other key.implyingIndices
- the implied instance tuple consists of the values in the implying tuple at these indices.public IInputKey getImplyingKey()
public IInputKey getImpliedKey()
public java.util.List<java.lang.Integer> getImpliedIndices()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object