public class GroupBy extends Object implements LanguageObject
LanguageObject.Util| Constructor and Description |
|---|
GroupBy()
Constructs a default instance of this class.
|
GroupBy(List<? extends Expression> symbols)
Constructs an instance of this class from an ordered set of symbols.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
void |
addSymbol(Expression symbol)
Adds a new symbol to the list of symbols.
|
Object |
clone()
Return a deep copy of this object
|
boolean |
equals(Object obj)
Compare two GroupBys for equality.
|
int |
getCount()
Returns the number of symbols in the GROUP BY
|
List<Expression> |
getSymbols()
Returns an ordered list of the symbols in the GROUP BY
|
int |
hashCode()
Get hashcode for GroupBy.
|
boolean |
isRollup() |
void |
setRollup(boolean rollup) |
String |
toString()
Returns a string representation of an instance of this class.
|
public GroupBy()
public GroupBy(List<? extends Expression> symbols)
symbols - The ordered list of ElementSymbolspublic int getCount()
public List<Expression> getSymbols()
ElementSymbolspublic void addSymbol(Expression symbol)
symbol - Symbol to add to GROUP BYpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic Object clone()
clone in interface LanguageObjectclone in class Objectpublic boolean equals(Object obj)
public int hashCode()
public String toString()
public boolean isRollup()
public void setRollup(boolean rollup)
Copyright © 2020. All rights reserved.