|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.query.sql.SQLAggregateReference
public class SQLAggregateReference
INTERNAL: Represents a set of columns from a given table. The columns are grouped for a reason. Columns are often used as join criteria.
| Field Summary | |
|---|---|
protected String |
alias
|
protected SQLAggregateIF |
refagg
|
| Fields inherited from interface net.ontopia.persistence.query.sql.SQLAggregateIF |
|---|
COUNT |
| Constructor Summary | |
|---|---|
SQLAggregateReference(SQLAggregateIF refagg)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String alias
protected SQLAggregateIF refagg
| Constructor Detail |
|---|
public SQLAggregateReference(SQLAggregateIF refagg)
| Method Detail |
|---|
public int getType()
SQLAggregateIFSQLAggregateIF interface.
getType in interface SQLAggregateIFpublic SQLValueIF getValue()
SQLAggregateIF
getValue in interface SQLAggregateIFpublic void setValue(SQLValueIF value)
SQLAggregateIF
setValue in interface SQLAggregateIFpublic String getAlias()
SQLAggregateIF
getAlias in interface SQLAggregateIFpublic void setAlias(String alias)
SQLAggregateIF
setAlias in interface SQLAggregateIFpublic boolean isReference()
SQLAggregateIF
isReference in interface SQLAggregateIFpublic SQLAggregateIF getReference()
SQLAggregateIF
getReference in interface SQLAggregateIFpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||