public enum UnifierType extends Enum<UnifierType> implements UnifierComparison
Class defining different unifier types.
| Enum Constant and Description |
|---|
EXACT
Exact unifier, requires type and id predicate bindings to match.
|
RULE
Rule unifier, found between queries and rule heads, allows rule heads to be more specific than matched queries.
|
STRUCTURAL
Similar to rule one with addition to allowing id predicates to differ.
|
| Modifier and Type | Method and Description |
|---|---|
static UnifierType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnifierType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfatomicCompatibility, typeCompatibility, typePlayabilitypublic static final UnifierType EXACT
public static final UnifierType RULE
public static final UnifierType STRUCTURAL
public static UnifierType[] values()
for (UnifierType c : UnifierType.values()) System.out.println(c);
public static UnifierType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Grakn Labs Ltd. All rights reserved.