Class InValueExpression

  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.

Abe White

Constructor Summary
InValueExpression(Val val, Const constant)
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


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

Method Detail


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

getCollection in class InExpression

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