kodo.jdbc.query
Interface JDBCAggregateListener
- All Superinterfaces:
- AggregateListener, Serializable
- public interface JDBCAggregateListener
- extends AggregateListener
JDBC extension to the AggregateListener.
select
public int select(SQLBuffer buf,
JDBCValue arg,
ClassMapping mapping,
KodoPersistenceManager pm)
- Append the SQL for this expression or value.
- Parameters:
buf - the SQL buffer to append toarg - the value of the argument given in the filter; this
will usually be a SQLPath, but will be
null if this listener doesn't expect an argumentmapping - the class mapping for the query's candidate classpm - the persistence manager that owns the query- Returns:
- the TYPE_* constant from
JDBCTypes indicating
the expected return value of this aggregate, or -1 if
unknown
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.