org.relique.jdbc.csv
Class ExistsExpressionSubQueryRowMatcher

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

public class ExistsExpressionSubQueryRowMatcher
extends Object
implements SubQueryRowMatcher


Constructor Summary
ExistsExpressionSubQueryRowMatcher()
           
 
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

ExistsExpressionSubQueryRowMatcher

public ExistsExpressionSubQueryRowMatcher()
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.