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

All Superinterfaces:
FilterListener, Serializable
All Known Implementing Classes:
GetColumn, JDBCStringContains, JDBCWildcardMatch, SQLEmbed, SQLExpression, SQLValue

public interface JDBCFilterListener
extends FilterListener

JDBC extension to the FilterListener.

Author:
Abe White

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

Method Detail

appendTo

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

Parameters:
buf - the SQL buffer to append to
target - the target to act on, or null if the listener doesn't expect a target
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-2010 Apache Software Foundation. All Rights Reserved.