org.relique.jdbc.csv
Class InExpressionSubQueryRowMatcher

java.lang.Object
  extended by org.relique.jdbc.csv.InExpressionSubQueryRowMatcher
All Implemented Interfaces:
SubQueryRowMatcher

public class InExpressionSubQueryRowMatcher
extends Object
implements SubQueryRowMatcher


Constructor Summary
InExpressionSubQueryRowMatcher(Map<String,Object> env, Comparable objValue)
           
 
Method Summary
 boolean matches(Object expr)
          Called with value for each row of sub-query, to determine whether outer/parent SQL expression is evaluated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InExpressionSubQueryRowMatcher

public InExpressionSubQueryRowMatcher(Map<String,Object> env,
                                      Comparable objValue)
Method Detail

matches

public boolean matches(Object expr)
                throws SQLException
Description copied from interface: SubQueryRowMatcher
Called with value for each row of sub-query, to determine whether outer/parent SQL expression is evaluated.

Specified by:
matches in interface SubQueryRowMatcher
Parameters:
expr - value for current row.
Returns:
true if value completes SQL sub-query evaluation and sub-query should stop.
Throws:
SQLException - if there is an error evaluating the expression.


Copyright © 2016. All rights reserved.