public class Query extends GraphCondition implements QueryBuilderFind, QueryBuilderFrom, QueryBuilderWith, QueryBuilderPiped
| Modifier and Type | Method and Description |
|---|---|
org.ocpsoft.rewrite.config.ConditionBuilder |
as(String name)
Set the name of the output variable into which results of the
Query will be stored. |
boolean |
evaluate(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context) |
QueryBuilderFind |
excludingType(Class<? extends WindupVertexFrame> type)
Excludes Vertices that are of the provided type.
|
<FRAMETYPE extends WindupVertexFrame> |
filteredBy(org.jboss.forge.furnace.util.Predicate<FRAMETYPE> predicate)
Narrow the query with the given
Predicate |
static QueryBuilderFrom |
from(String sourceVarName)
|
static QueryBuilderFind |
fromType(Class<? extends WindupVertexFrame> type)
Begin this
Query with all WindupVertexFrame instances of the given type. |
Collection<QueryGremlinCriterion> |
getPipelineCriteria() |
static QueryBuilderPiped |
gremlin(QueryGremlinCriterion criterion)
Begin this
Query with all Frame instances that are the result of the provided GremlinQueryCriterion. |
QueryBuilderFind |
includingType(Class<? extends WindupVertexFrame> type)
Includes Vertices that are of the provided type.
|
QueryBuilderPiped |
piped(QueryGremlinCriterion criterion)
Narrow the query via a
QueryGremlinCriterion in order to execute Gremlin queries. |
String |
toString() |
QueryBuilderWith |
withoutProperty(String property)
Narrow the query to
WindupVertexFrame instances that satisfy the given property comparison. |
QueryBuilderWith |
withProperty(String property)
Narrow the query to
WindupVertexFrame instances that have the given property defined. |
QueryBuilderWith |
withProperty(String property,
Iterable<?> values)
Narrow the query to
WindupVertexFrame instances that contain any of the given property values. |
QueryBuilderWith |
withProperty(String property,
Object searchValue)
Narrow the query to
WindupVertexFrame instances that contain the given property value. |
QueryBuilderWith |
withProperty(String property,
Object searchValue,
Object... searchValues)
Narrow the query to
WindupVertexFrame instances that contain any given property value. |
QueryBuilderWith |
withProperty(String property,
QueryPropertyComparisonType searchType,
Object searchValue)
Narrow the query to
WindupVertexFrame instances that satisfy the given property comparison. |
evaluate, getInputVariablesName, getOutputVariablesName, setInputVariablesName, setOutputVariablesName, setResultsand, andNot, or, orNotpublic static QueryBuilderPiped gremlin(QueryGremlinCriterion criterion)
Query with all Frame instances that are the result of the provided GremlinQueryCriterion.public static QueryBuilderFind fromType(Class<? extends WindupVertexFrame> type)
Query with all WindupVertexFrame instances of the given type.public QueryBuilderFind excludingType(Class<? extends WindupVertexFrame> type)
excludingType in interface QueryBuilderFindpublic QueryBuilderFind includingType(Class<? extends WindupVertexFrame> type)
includingType in interface QueryBuilderFindpublic static QueryBuilderFrom from(String sourceVarName)
public org.ocpsoft.rewrite.config.ConditionBuilder as(String name)
QueryBuilderAsQuery will be stored.as in interface QueryBuilderAspublic boolean evaluate(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)
evaluate in class GraphConditionpublic QueryBuilderWith withProperty(String property, Object searchValue)
QueryBuilderWithWindupVertexFrame instances that contain the given property value.withProperty in interface QueryBuilderWithpublic QueryBuilderWith withProperty(String property, Iterable<?> values)
QueryBuilderWithWindupVertexFrame instances that contain any of the given property values.withProperty in interface QueryBuilderWithpublic QueryBuilderWith withProperty(String property)
QueryBuilderWithWindupVertexFrame instances that have the given property defined.withProperty in interface QueryBuilderWithpublic QueryBuilderWith withoutProperty(String property)
QueryBuilderWithWindupVertexFrame instances that satisfy the given property comparison.withoutProperty in interface QueryBuilderWithpublic QueryBuilderWith withProperty(String property, Object searchValue, Object... searchValues)
QueryBuilderWithWindupVertexFrame instances that contain any given property value.withProperty in interface QueryBuilderWithpublic QueryBuilderWith withProperty(String property, QueryPropertyComparisonType searchType, Object searchValue)
QueryBuilderWithWindupVertexFrame instances that satisfy the given property comparison.withProperty in interface QueryBuilderWithpublic QueryBuilderPiped piped(QueryGremlinCriterion criterion)
QueryBuilderFromQueryGremlinCriterion in order to execute Gremlin queries.piped in interface QueryBuilderFrompiped in interface QueryBuilderPipedpiped in interface QueryBuilderWithpublic Collection<QueryGremlinCriterion> getPipelineCriteria()
public <FRAMETYPE extends WindupVertexFrame> QueryBuilderAs filteredBy(org.jboss.forge.furnace.util.Predicate<FRAMETYPE> predicate)
QueryBuilderWithPredicatefilteredBy in interface QueryBuilderWithCopyright © 2021 JBoss by Red Hat. All rights reserved.