Package hydra.pg.query
Class Projection
- java.lang.Object
-
- hydra.pg.query.Projection
-
- All Implemented Interfaces:
java.io.Serializable
public class Projection extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Opt<Variable>
as
static Name
FIELD_NAME_AS
static Name
FIELD_NAME_VALUE
static Name
TYPE_NAME
Expression
value
-
Constructor Summary
Constructors Constructor Description Projection(Expression value, Opt<Variable> as)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
Projection
withAs(Opt<Variable> as)
Projection
withValue(Expression value)
-
-
-
Constructor Detail
-
Projection
public Projection(Expression value, Opt<Variable> as)
-
-
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
-
withValue
public Projection withValue(Expression value)
-
withAs
public Projection withAs(Opt<Variable> as)
-
-