de.grogra.xl.query
public class EdgePattern extends BuiltInPattern
Pattern.Matcher| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_EDGE
Any edge.
|
static int |
BRANCH_EDGE
Branch edge.
|
static int |
REFINEMENT_EDGE
Refinement edge.
|
static int |
SUCCESSOR_EDGE
Successor edge.
|
CONTEXT_MASK, INPUT_MASK, NODE_MASK, NULL_MATCHER, OUTPUT_MASK| Constructor and Description |
|---|
EdgePattern(Type nodeType,
Type edgeType,
int direction) |
EdgePattern(Type nodeType,
Type edgeType,
java.io.Serializable edge,
int direction) |
| Modifier and Type | Method and Description |
|---|---|
Pattern.Matcher |
createMatcher(Graph src,
XBitSet providedConstants,
IntList neededConstantsOut) |
int |
getMatchIndex() |
int |
getParameterKind(int index) |
java.io.Serializable |
getPattern() |
int |
getPatternIndex() |
boolean |
isDeleting() |
boolean |
needsBothDirections() |
java.lang.String |
paramString() |
void |
write(BytecodeSerialization out) |
getDeclaredParameterCount, getParameterCount, getParameterType, toStringpublic static final int ANY_EDGE
int-value represents
an edge of any type within the context of EdgePattern.public static final int BRANCH_EDGE
int-value represents
an edge of type branch within the context of
EdgePattern.public static final int REFINEMENT_EDGE
int-value represents
an edge of type refinement within the context of
EdgePattern.public static final int SUCCESSOR_EDGE
int-value represents
an edge of type successor within the context of
EdgePattern.public Pattern.Matcher createMatcher(Graph src, XBitSet providedConstants, IntList neededConstantsOut)
createMatcher in class Patternpublic int getMatchIndex()
public int getParameterKind(int index)
getParameterKind in class Patternpublic java.io.Serializable getPattern()
public int getPatternIndex()
public boolean isDeleting()
isDeleting in class Patternpublic boolean needsBothDirections()
public java.lang.String paramString()
paramString in class Patternpublic void write(BytecodeSerialization out) throws java.io.IOException
java.io.IOException