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

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

 class InKeyExpression
extends InExpression

Tests whether a value is IN a map key set.

Author:
Abe White

Constructor Summary
InKeyExpression(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

InKeyExpression

public InKeyExpression(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-2011 Apache Software Foundation. All Rights Reserved.