java.lang.Object
de.grogra.xl.query.Pattern
de.grogra.xl.query.BuiltInPattern
de.grogra.xl.query.CompoundPattern
- All Implemented Interfaces:
BytecodeSerialization.Serializable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class de.grogra.xl.query.Pattern
CONTEXT_MASK, INPUT_MASK, NODE_MASK, NULL_MATCHER, OUTPUT_MASK -
Constructor Summary
ConstructorsConstructorDescriptionCompoundPattern(Type[] types, boolean[] paramIsNode, boolean[] forceParamIsContext, Pattern[] predicates, boolean[] predIsContext, short[][] paramMappings, short[][] dependencies, short[][] foldings, int in, int out, int direction, int predType, boolean optional, String continueLabel) -
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher(Graph src, XBitSet providedConstants, IntList neededConstantsOut) Creates a Matcher object for this CompoundPattern instance.intintintgetParameterKind(int index) booleanprotected StringvoidMethods inherited from class de.grogra.xl.query.Pattern
getDeclaredParameterCount, getParameterCount, getParameterType, toString
-
Field Details
-
SIMPLE
public static final int SIMPLE- See Also:
-
ATOMIC
public static final int ATOMIC- See Also:
-
BREAKING
public static final int BREAKING- See Also:
-
-
Constructor Details
-
CompoundPattern
-
-
Method Details
-
write
- Throws:
IOException
-
getInParameter
public int getInParameter() -
getOutParameter
public int getOutParameter() -
getParameterKind
public int getParameterKind(int index) - Specified by:
getParameterKindin classPattern
-
createMatcher
public Pattern.Matcher createMatcher(Graph src, XBitSet providedConstants, IntList neededConstantsOut) Creates a Matcher object for this CompoundPattern instance.- Specified by:
createMatcherin classPattern- Parameters:
src- the runtime graph in which the created matcher will search for matchesprovidedConstants- specifies which parameters are already boundedneededConstantsOut- specifies which parameters need to be bounded- Returns:
- Matcher object that can find matches in the graph
-
isDeleting
public boolean isDeleting()- Overrides:
isDeletingin classPattern
-
paramString
- Overrides:
paramStringin classPattern
-