org.apache.openjpa.jdbc.kernel.exps
Class InValueExpression

java.lang.Object
  extended by org.apache.openjpa.jdbc.kernel.exps.InExpression
      extended by org.apache.openjpa.jdbc.kernel.exps.InValueExpression
All Implemented Interfaces:
Serializable, Exp, Expression

 class InValueExpression
extends InExpression

Tests whether a value is IN a map value collection.

Author:
Abe White

Constructor Summary
InValueExpression(Val val, Const constant)
          Constructor.
 
Method Summary
protected  Collection getCollection(ExpContext ctx, ExpState state)
          Return the collection to test for containment with.
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.InExpression
acceptVisit, appendTo, getConstant, getValue, initialize, selectColumns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InValueExpression

public InValueExpression(Val val,
                         Const constant)
Constructor. Supply the value to test and the constant to obtain the parameters from.

Method Detail

getCollection

protected Collection getCollection(ExpContext ctx,
                                   ExpState state)
Return the collection to test for containment with.

Overrides:
getCollection in class InExpression


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