public class SelectClause extends AbstractQueryClause<SelectItem>
SelectItem
,
Serialized FormDELIM_AND, DELIM_COMMA, PREFIX_FROM, PREFIX_GROUP_BY, PREFIX_HAVING, PREFIX_ORDER_BY, PREFIX_SELECT, PREFIX_WHERE
Constructor and Description |
---|
SelectClause(Query query) |
Modifier and Type | Method and Description |
---|---|
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
|
SelectItem |
getSelectItem(Column column) |
boolean |
isDistinct() |
void |
setDistinct(boolean distinct) |
String |
toSql(boolean includeSchemaInColumnPaths) |
addItem, addItem, addItems, addItems, getItem, getItemCount, getItems, indexOf, isEmpty, removeItem, removeItem, removeItems, setItems, toSql, toString
classEquals, equals, hashCode
public SelectClause(Query query)
public SelectItem getSelectItem(Column column)
public String toSql(boolean includeSchemaInColumnPaths)
toSql
in interface QueryClause<SelectItem>
toSql
in class AbstractQueryClause<SelectItem>
public boolean isDistinct()
public void setDistinct(boolean distinct)
protected void decorateIdentity(List<Object> identifiers)
BaseObject
decorateIdentity
in class AbstractQueryClause<SelectItem>
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.