Package com.gdblab.pathAlgebra.syntax
Class GroupBy
- java.lang.Object
-
- com.gdblab.pathAlgebra.syntax.GroupBy
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GroupBy>
public class GroupBy extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GroupBy>
A group-by clause, wrapping a group-by option- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupBy.BuilderA fluent builder forGroupBy.
-
Constructor Summary
Constructors Constructor Description GroupBy(GroupByOption value)Constructs an immutableGroupBy.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupBy.Builderbuilder()Creates a new fluent builder forGroupBy.intcompareTo(GroupBy other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.syntax.GroupBytype.
-
VALUE
public static final Name VALUE
Name of thecom.gdblab.pathAlgebra.syntax.GroupBy.valuefield.
-
value
public final GroupByOption value
-
-
Constructor Detail
-
GroupBy
public GroupBy(GroupByOption value)
Constructs an immutableGroupBy.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(GroupBy other)
- Specified by:
compareToin interfacejava.lang.Comparable<GroupBy>
-
builder
public static GroupBy.Builder builder()
Creates a new fluent builder forGroupBy.
-
-