Class ResultProjection
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.ResultProjection
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResultProjection>
public class ResultProjection extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ResultProjection>
Extract specific values from paths for RETURN clause- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<PropertyExtraction>projectionsstatic NamePROJECTIONSName of thecom.gdblab.pathAlgebra.expressions.ResultProjection.projectionsfield.static NameTYPE_Name of thecom.gdblab.pathAlgebra.expressions.ResultProjectiontype.
-
Constructor Summary
Constructors Constructor Description ResultProjection(java.util.List<PropertyExtraction> projections)Constructs an immutableResultProjection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ResultProjection other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.expressions.ResultProjectiontype.
-
PROJECTIONS
public static final Name PROJECTIONS
Name of thecom.gdblab.pathAlgebra.expressions.ResultProjection.projectionsfield.
-
projections
public final java.util.List<PropertyExtraction> projections
-
-
Constructor Detail
-
ResultProjection
public ResultProjection(java.util.List<PropertyExtraction> projections)
Constructs an immutableResultProjection.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ResultProjection other)
- Specified by:
compareToin interfacejava.lang.Comparable<ResultProjection>
-
-