Package com.arcadedb.query.sql.parser
Class Pattern
- java.lang.Object
-
- com.arcadedb.query.sql.parser.Pattern
-
public class Pattern extends Object
Created by luigidellaquila on 28/07/15.
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,PatternNode>
aliasToNode
int
numOfEdges
-
Constructor Summary
Constructors Constructor Description Pattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExpression(MatchExpression expression)
PatternNode
get(String alias)
Map<String,PatternNode>
getAliasToNode()
List<Pattern>
getDisjointPatterns()
splits this pattern into multipleint
getNumOfEdges()
void
setAliasToNode(Map<String,PatternNode> aliasToNode)
void
setNumOfEdges(int numOfEdges)
void
validate()
-
-
-
Field Detail
-
aliasToNode
public Map<String,PatternNode> aliasToNode
-
numOfEdges
public int numOfEdges
-
-
Method Detail
-
addExpression
public void addExpression(MatchExpression expression)
-
get
public PatternNode get(String alias)
-
getNumOfEdges
public int getNumOfEdges()
-
validate
public void validate()
-
getDisjointPatterns
public List<Pattern> getDisjointPatterns()
splits this pattern into multiple- Returns:
-
getAliasToNode
public Map<String,PatternNode> getAliasToNode()
-
setAliasToNode
public void setAliasToNode(Map<String,PatternNode> aliasToNode)
-
setNumOfEdges
public void setNumOfEdges(int numOfEdges)
-
-