public class GroupByObject extends AbstractSQLFragment
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
AS, COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, LEFT_PAREN, NEWLINE, RIGHT_PAREN, SPACE| Constructor and Description |
|---|
GroupByObject() |
GroupByObject(SQLFragment[] exps) |
GroupByObject(SQLFragment[] exps,
WhereObject having) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpression(int index,
SQLFragment s) |
void |
addExpression(SQLFragment s) |
SQLFragment[] |
getExpressions() |
WhereObject |
getHaving() |
java.lang.String |
getSQLText()
Return the SQL for this fragment.
|
java.lang.String |
getType()
Returns the type of this object.
|
void |
moveExpression(SQLFragment s,
int newIndex) |
boolean |
removeExpression(SQLFragment s) |
void |
setExpressions(SQLFragment[] exps) |
void |
setHaving(WhereObject having) |
appendToBuffer, appendToBuffer, argsToString, getName, getStartOffset, getTextOrNull, getTextOrNull, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, copyToImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String TYPE
public GroupByObject()
public GroupByObject(SQLFragment[] exps)
public GroupByObject(SQLFragment[] exps, WhereObject having)
public java.lang.String getType()
DBObjectgetType in interface DBObjectgetType in class AbstractSQLFragmentpublic void setHaving(WhereObject having)
public WhereObject getHaving()
public SQLFragment[] getExpressions()
public void setExpressions(SQLFragment[] exps)
public void addExpression(SQLFragment s)
public void addExpression(int index,
SQLFragment s)
public boolean removeExpression(SQLFragment s)
public void moveExpression(SQLFragment s, int newIndex)
public java.lang.String getSQLText()
SQLFragment