Package hydra.pg.query
Class MatchQuery
- java.lang.Object
-
- hydra.pg.query.MatchQuery
-
- All Implemented Interfaces:
java.io.Serializable
public class MatchQuery extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_OPTIONAL
static Name
FIELD_NAME_PATTERN
static Name
FIELD_NAME_WHERE
java.lang.Boolean
optional
java.util.List<Projection>
pattern
static Name
TYPE_NAME
Opt<Expression>
where
-
Constructor Summary
Constructors Constructor Description MatchQuery(java.lang.Boolean optional, java.util.List<Projection> pattern, Opt<Expression> where)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
MatchQuery
withOptional(java.lang.Boolean optional)
MatchQuery
withPattern(java.util.List<Projection> pattern)
MatchQuery
withWhere(Opt<Expression> where)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_OPTIONAL
public static final Name FIELD_NAME_OPTIONAL
-
FIELD_NAME_PATTERN
public static final Name FIELD_NAME_PATTERN
-
FIELD_NAME_WHERE
public static final Name FIELD_NAME_WHERE
-
optional
public final java.lang.Boolean optional
-
pattern
public final java.util.List<Projection> pattern
-
where
public final Opt<Expression> where
-
-
Constructor Detail
-
MatchQuery
public MatchQuery(java.lang.Boolean optional, java.util.List<Projection> pattern, Opt<Expression> where)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withOptional
public MatchQuery withOptional(java.lang.Boolean optional)
-
withPattern
public MatchQuery withPattern(java.util.List<Projection> pattern)
-
withWhere
public MatchQuery withWhere(Opt<Expression> where)
-
-