Package org.relique.jdbc.csv
Class InExpressionSubQueryRowMatcher
- java.lang.Object
-
- org.relique.jdbc.csv.InExpressionSubQueryRowMatcher
-
- All Implemented Interfaces:
SubQueryRowMatcher
public class InExpressionSubQueryRowMatcher extends Object implements SubQueryRowMatcher
-
-
Constructor Summary
Constructors Constructor Description InExpressionSubQueryRowMatcher(Map<String,Object> env, Comparable objValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Object expr)
Called with value for each row of sub-query, to determine whether outer/parent SQL expression is evaluated.
-
-
-
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 interfaceSubQueryRowMatcher
- 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.
-
-