Package com.arcadedb.query.sql.executor
Class MatchEdgeTraverser
- java.lang.Object
-
- com.arcadedb.query.sql.executor.MatchEdgeTraverser
-
- Direct Known Subclasses:
MatchFieldTraverser
,MatchMultiEdgeTraverser
,MatchReverseEdgeTraverser
,OptionalMatchEdgeTraverser
public class MatchEdgeTraverser extends Object
Created by luigidellaquila on 23/09/16.
-
-
Field Summary
Fields Modifier and Type Field Description protected EdgeTraversal
edge
protected MatchPathItem
item
protected Result
sourceRecord
-
Constructor Summary
Constructors Constructor Description MatchEdgeTraverser(Result lastUpstreamRecord, EdgeTraversal edge)
MatchEdgeTraverser(Result lastUpstreamRecord, MatchPathItem item)
-
Method Summary
-
-
-
Field Detail
-
sourceRecord
protected final Result sourceRecord
-
edge
protected EdgeTraversal edge
-
item
protected final MatchPathItem item
-
-
Constructor Detail
-
MatchEdgeTraverser
public MatchEdgeTraverser(Result lastUpstreamRecord, EdgeTraversal edge)
-
MatchEdgeTraverser
public MatchEdgeTraverser(Result lastUpstreamRecord, MatchPathItem item)
-
-
Method Detail
-
hasNext
public boolean hasNext(CommandContext ctx)
-
next
public Result next(CommandContext ctx)
-
equals
protected boolean equals(Object prevValue, Identifiable nextElement)
-
getStartingPointAlias
protected String getStartingPointAlias()
-
getEndpointAlias
protected String getEndpointAlias()
-
init
protected void init(CommandContext ctx)
-
executeTraversal
protected Iterable<ResultInternal> executeTraversal(CommandContext iCommandContext, MatchPathItem item, Identifiable startingPoint, int depth, List<Identifiable> pathToHere)
-
getTargetFilter
protected WhereClause getTargetFilter(MatchPathItem item)
-
targetClassName
protected String targetClassName(MatchPathItem item, CommandContext iCommandContext)
-
targetClusterName
protected String targetClusterName(MatchPathItem item, CommandContext iCommandContext)
-
targetRid
protected Rid targetRid(MatchPathItem item, CommandContext iCommandContext)
-
matchesFilters
protected boolean matchesFilters(CommandContext iCommandContext, WhereClause filter, Identifiable origin)
-
traversePatternEdge
protected Iterable<ResultInternal> traversePatternEdge(Identifiable startingPoint, CommandContext iCommandContext)
-
-