org.apache.openjpa.jdbc.kernel.exps
Interface JDBCAggregateListener

All Superinterfaces:
AggregateListener, Serializable

public interface JDBCAggregateListener
extends AggregateListener

JDBC extension to the AggregateListener.

Author:
Abe White

Method Summary
 void appendTo(SQLBuffer buf, FilterValue[] args, ClassMapping mapping, JDBCStore store)
          Append the SQL for this aggregate.
 
Methods inherited from interface org.apache.openjpa.kernel.exps.AggregateListener
evaluate, expectsArguments, getTag, getType
 

Method Detail

appendTo

void appendTo(SQLBuffer buf,
              FilterValue[] args,
              ClassMapping mapping,
              JDBCStore store)
Append the SQL for this aggregate.

Parameters:
buf - the SQL buffer to append to
args - the values of the arguments given in the filter, or null if this listener doesn't expect arguments
mapping - the class mapping for the query's candidate class
store - the store that owns the query


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.