de.grogra.xl.query
Class EdgePattern
java.lang.Object
de.grogra.xl.query.Pattern
de.grogra.xl.query.BuiltInPattern
de.grogra.xl.query.EdgePattern
- All Implemented Interfaces:
- BytecodeSerialization.Serializable
public final class EdgePattern
- extends BuiltInPattern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ANY_EDGE
public static final int ANY_EDGE
- Any edge. This
int
-value represents
an edge of any type within the context of EdgePattern
.
- See Also:
- Constant Field Values
BRANCH_EDGE
public static final int BRANCH_EDGE
- Branch edge. This
int
-value represents
an edge of type branch within the context of
EdgePattern
.
- See Also:
- Constant Field Values
REFINEMENT_EDGE
public static final int REFINEMENT_EDGE
- Refinement edge. This
int
-value represents
an edge of type refinement within the context of
EdgePattern
.
- See Also:
- Constant Field Values
SUCCESSOR_EDGE
public static final int SUCCESSOR_EDGE
- Successor edge. This
int
-value represents
an edge of type successor within the context of
EdgePattern
.
- See Also:
- Constant Field Values
EdgePattern
public EdgePattern(Type nodeType,
Type edgeType,
int direction)
EdgePattern
public EdgePattern(Type nodeType,
Type edgeType,
java.io.Serializable edge,
int direction)
createMatcher
public Pattern.Matcher createMatcher(Graph src,
XBitSet providedConstants,
IntList neededConstantsOut)
- Specified by:
createMatcher
in class Pattern
getMatchIndex
public int getMatchIndex()
getParameterKind
public int getParameterKind(int index)
- Specified by:
getParameterKind
in class Pattern
getPattern
public java.io.Serializable getPattern()
getPatternIndex
public int getPatternIndex()
isDeleting
public boolean isDeleting()
- Overrides:
isDeleting
in class Pattern
needsBothDirections
public boolean needsBothDirections()
paramString
public java.lang.String paramString()
- Overrides:
paramString
in class Pattern
write
public void write(BytecodeSerialization out)
throws java.io.IOException
- Throws:
java.io.IOException