public class GroupByItem extends BaseObject implements QueryItem, Cloneable
GroupByClause,
Serialized Form| Constructor and Description |
|---|
GroupByItem(SelectItem selectItem)
Constructs a GROUP BY item based on a select item that should be grouped.
|
| Modifier and Type | Method and Description |
|---|---|
protected GroupByItem |
clone() |
protected void |
decorateIdentity(List<Object> identifiers)
Subclasses should implement this method and add all fields to the list
that are to be included in equals(...) and hashCode() evaluation
|
Query |
getQuery() |
SelectItem |
getSelectItem() |
GroupByItem |
setQuery(Query query) |
String |
toSql() |
String |
toSql(boolean includeSchemaInColumnPaths) |
String |
toString() |
classEquals, equals, hashCodepublic GroupByItem(SelectItem selectItem)
selectItem - public SelectItem getSelectItem()
public String toSql(boolean includeSchemaInColumnPaths)
public String toString()
toString in interface QueryItemtoString in class BaseObjectpublic GroupByItem setQuery(Query query)
protected GroupByItem clone()
protected void decorateIdentity(List<Object> identifiers)
BaseObjectdecorateIdentity in class BaseObjectCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.