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>asstatic NameFIELD_NAME_ASstatic NameFIELD_NAME_VALUEstatic NameTYPE_NAMEExpressionvalue
-
Constructor Summary
Constructors Constructor Description Projection(Expression value, Opt<Variable> as)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()ProjectionwithAs(Opt<Variable> as)ProjectionwithValue(Expression value)
-
-
-
Constructor Detail
-
Projection
public Projection(Expression value, Opt<Variable> as)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
withValue
public Projection withValue(Expression value)
-
withAs
public Projection withAs(Opt<Variable> as)
-
-