public class SQLAggregateReference extends Object implements SQLAggregateIF
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected SQLAggregateIF |
refagg |
COUNT| Constructor and Description |
|---|
SQLAggregateReference(SQLAggregateIF refagg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlias()
INTERNAL: The column alias to use if this value is
included in the projection.
|
SQLAggregateIF |
getReference()
INTERNAL: Returns the referenced aggregate if one exists.
|
int |
getType()
INTERNAL: Returns the aggregate function type indicated by one of
the constants in the
SQLAggregateIF interface. |
SQLValueIF |
getValue()
INTERNAL: Returns the SQLValueIF that the aggregate function is
to be evaluated against.
|
int |
hashCode() |
boolean |
isReference()
INTERNAL: Returns true if this aggregate is a reference to
another.
|
void |
setAlias(String alias)
INTERNAL: Sets the column alias.
|
void |
setValue(SQLValueIF value)
INTERNAL: Sets the SQLValueIF that the aggregate function is
to be evaluated against.
|
String |
toString() |
protected String alias
protected SQLAggregateIF refagg
public SQLAggregateReference(SQLAggregateIF refagg)
public int getType()
SQLAggregateIFSQLAggregateIF interface.getType in interface SQLAggregateIFpublic SQLValueIF getValue()
SQLAggregateIFgetValue in interface SQLAggregateIFpublic void setValue(SQLValueIF value)
SQLAggregateIFsetValue in interface SQLAggregateIFpublic String getAlias()
SQLAggregateIFgetAlias in interface SQLAggregateIFpublic void setAlias(String alias)
SQLAggregateIFsetAlias in interface SQLAggregateIFpublic boolean isReference()
SQLAggregateIFisReference in interface SQLAggregateIFpublic SQLAggregateIF getReference()
SQLAggregateIFgetReference in interface SQLAggregateIF