com.healthmarketscience.jackcess.util
Interface ColumnMatcher

All Known Implementing Classes:
CaseInsensitiveColumnMatcher, SimpleColumnMatcher

public interface ColumnMatcher

Interface for handling comparisons between column values.

Author:
James Ahlborn
Usage:
Intermediate: This class requires moderate API knowledge.

Method Summary
 boolean matches(Table table, String columnName, Object value1, Object value2)
          Returns true if the given value1 should be considered a match for the given value2 for the given column in the given table, false otherwise.
 

Method Detail

matches

boolean matches(Table table,
                String columnName,
                Object value1,
                Object value2)
Returns true if the given value1 should be considered a match for the given value2 for the given column in the given table, false otherwise.

Parameters:
table - the relevant table
columnName - the name of the relevant column within the table
value1 - the first value to match (may be null)
value2 - the second value to match (may be null)


Copyright © 2005–2017 Health Market Science. All rights reserved.