public class ValueProperty extends Object
| Constructor and Description |
|---|
ValueProperty(ValuePredicateAdmin predicate) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> |
applyTraversal(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> traversal) |
default void |
buildString(StringBuilder builder)
Build a Graql string representation of this property
|
void |
checkInsertable(VarAdmin var)
Check if the given property can be inserted
|
void |
checkValid(MindmapsGraph graph,
VarAdmin var)
Check if the given property can be used in a match query
|
void |
delete(MindmapsGraph graph,
Concept concept)
Delete the given property from the graph, if possible.
|
boolean |
equals(Object o) |
java.util.stream.Stream<VarAdmin> |
getImplicitInnerVars()
Get a stream of any inner
VarAdmin within this `VarProperty`, including any that may have been
implicitly created (such as with "has-resource"). |
String |
getName() |
ValuePredicateAdmin |
getPredicate() |
FragmentPriority |
getPriority() |
String |
getProperty() |
java.util.stream.Stream<VarAdmin> |
getTypes()
Get a stream of
VarAdmin that must be types. |
int |
hashCode() |
void |
insert(InsertQueryExecutor insertQueryExecutor,
Concept concept)
Insert the given property into the graph, if possible.
|
default Collection<MultiTraversal> |
match(String start)
Return a collection of
MultiTraversal to match the given property in the graph |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcheckValid, delete, getInnerVars, insert, modifyShortcutTraversalgetImplicitInnerVars, getTypes, graqlString, isUniquepublic ValueProperty(ValuePredicateAdmin predicate)
public ValuePredicateAdmin getPredicate()
public String getName()
public String getProperty()
public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> applyTraversal(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> traversal)
public FragmentPriority getPriority()
public void checkInsertable(VarAdmin var)
VarPropertyInternalcheckInsertable in interface VarPropertyInternalpublic void buildString(StringBuilder builder)
VarPropertybuildString in interface VarPropertybuilder - a string builder to append topublic Collection<MultiTraversal> match(String start)
VarPropertyInternalMultiTraversal to match the given property in the graphmatch in interface VarPropertyInternalpublic final void checkValid(MindmapsGraph graph, VarAdmin var) throws IllegalStateException
VarPropertyInternalcheckValid in interface VarPropertyInternalIllegalStateExceptionpublic void insert(InsertQueryExecutor insertQueryExecutor, Concept concept) throws IllegalStateException
VarPropertyInternalinsert in interface VarPropertyInternalinsertQueryExecutor - the instance handling the insert queryconcept - the concept to insert a property onIllegalStateExceptionpublic void delete(MindmapsGraph graph, Concept concept)
VarPropertyInternaldelete in interface VarPropertyInternalgraph - the graph to operate onconcept - the concept to delete properties ofpublic java.util.stream.Stream<VarAdmin> getTypes()
VarPropertyVarAdmin that must be types.getTypes in interface VarPropertypublic java.util.stream.Stream<VarAdmin> getImplicitInnerVars()
VarPropertyVarAdmin within this `VarProperty`, including any that may have been
implicitly created (such as with "has-resource").getImplicitInnerVars in interface VarPropertyCopyright © 2016. All rights reserved.