Package hydra.query
Class Query
- java.lang.Object
-
- hydra.query.Query
-
- All Implemented Interfaces:
java.io.Serializable
public class Query extends java.lang.Object implements java.io.Serializable
A SELECT-style graph pattern matching query- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_PATTERNS
static Name
FIELD_NAME_VARIABLES
java.util.List<Pattern>
patterns
The patterns to be matchedstatic Name
TYPE_NAME
java.util.List<Variable>
variables
The variables selected by the query
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
Query
withPatterns(java.util.List<Pattern> patterns)
Query
withVariables(java.util.List<Variable> variables)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_VARIABLES
public static final Name FIELD_NAME_VARIABLES
-
FIELD_NAME_PATTERNS
public static final Name FIELD_NAME_PATTERNS
-
variables
public final java.util.List<Variable> variables
The variables selected by the query
-
patterns
public final java.util.List<Pattern> patterns
The patterns to be matched
-
-