SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

kodo.jdbc.query
Interface JDBCAggregateListener

All Superinterfaces:
AggregateListener, Serializable

public interface JDBCAggregateListener
extends AggregateListener

JDBC extension to the AggregateListener.


Method Summary
 int select(SQLBuffer buf, JDBCValue arg, ClassMapping mapping, KodoPersistenceManager pm)
          Append the SQL for this expression or value.
 
Methods inherited from interface kodo.query.AggregateListener
evaluate, expectsArgument, getTag
 

Method Detail

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 to
arg - 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 argument
mapping - the class mapping for the query's candidate class
pm - 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

SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.