org.relique.jdbc.csv
Interface SubQueryRowMatcher

All Known Implementing Classes:
ExistsExpressionSubQueryRowMatcher, InExpressionSubQueryRowMatcher, SubQueryEqualsRowMatcher

public interface SubQueryRowMatcher


Method Summary
 boolean matches(Object expr)
          Called with value for each row of sub-query, to determine whether outer/parent SQL expression is evaluated.
 

Method Detail

matches

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

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.