public class ValueFlagProperty extends Object implements UniqueVarProperty
| Constructor and Description |
|---|
ValueFlagProperty() |
| 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) |
void |
buildString(StringBuilder builder)
Build a Graql string representation of this property
|
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"). |
FragmentPriority |
getPriority() |
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, waitisUniquecheckInsertable, checkValid, delete, getInnerVars, insert, modifyShortcutTraversalgetImplicitInnerVars, getTypes, graqlStringpublic void buildString(StringBuilder builder)
VarPropertybuildString in interface VarPropertybuilder - a string builder to append topublic 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 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.