public class GroupByItem extends BaseObject implements QueryItem, Cloneable
GroupByClause
,
Serialized FormConstructor 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, hashCode
public GroupByItem(SelectItem selectItem)
selectItem
- public SelectItem getSelectItem()
public String toSql(boolean includeSchemaInColumnPaths)
public String toString()
toString
in interface QueryItem
toString
in class BaseObject
public GroupByItem setQuery(Query query)
protected GroupByItem clone()
protected void decorateIdentity(List<Object> identifiers)
BaseObject
decorateIdentity
in class BaseObject
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.