public class RhsProperty extends RuleProperty
rhs (right-hand side) property on a Rule.
This property can be inserted and not queried.
The right-hand side describes the right-hand of an implication, stating that when the left-hand side of a rule is
true the right-hand side must hold.pattern| Constructor and Description |
|---|
RhsProperty(Pattern rhs) |
| Modifier and Type | Method and Description |
|---|---|
default void |
buildString(StringBuilder builder) |
void |
checkValid(GraknGraph graph,
VarPatternAdmin var)
Check if the given property can be used in a match query
|
void |
delete(GraknGraph graph,
Concept concept)
Delete the given property from the graph, if possible.
|
java.util.stream.Stream<VarPatternAdmin> |
getImplicitInnerVars() |
String |
getName() |
java.util.stream.Stream<VarPatternAdmin> |
getTypes() |
equals, getPattern, getProperty, hashCode, insert, mapToAtom, matchclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisUniquecheckInsertable, checkValid, delete, getInnerVarsgetImplicitInnerVars, getTypes, graqlStringpublic RhsProperty(Pattern rhs)
public String getName()
public void buildString(StringBuilder builder)
buildString in interface VarPropertypublic final void checkValid(GraknGraph graph, VarPatternAdmin var) throws IllegalStateException
VarPropertyInternalcheckValid in interface VarPropertyInternalIllegalStateExceptionpublic void delete(GraknGraph graph, Concept concept)
VarPropertyInternaldelete in interface VarPropertyInternalgraph - the graph to operate onconcept - the concept to delete properties ofpublic java.util.stream.Stream<VarPatternAdmin> getTypes()
getTypes in interface VarPropertypublic java.util.stream.Stream<VarPatternAdmin> getImplicitInnerVars()
getImplicitInnerVars in interface VarPropertyCopyright © 2017 Grakn Labs Ltd. All rights reserved.