APIdia Launch Partner
Top Description Fields Constructors Methods
io.github.spannm.jackcess.util

public Class CaseInsensitiveColumnMatcher

extends Object
implements ColumnMatcher
Class Inheritance
All Implemented Interfaces
io.github.spannm.jackcess.util.ColumnMatcher
Imports
io.github.spannm.jackcess.DataType, .Table, io.github.spannm.jackcess.impl.ColumnImpl, java.io.IOException, .UncheckedIOException

Concrete implementation of ColumnMatcher which tests textual columns case-insensitively (DataType#TEXT and DataType#MEMO), and all other columns using simple equality.

Field Summary

Modifier and TypeField and Description
public static final CaseInsensitiveColumnMatcher

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
matches(Table table, String columnName, Object value1, Object value2)

Implements io.github.spannm.jackcess.util.ColumnMatcher.matches.

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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final CaseInsensitiveColumnMatcher INSTANCE

Constructor Detail

CaseInsensitiveColumnMatcherback to summary
public CaseInsensitiveColumnMatcher()

Method Detail

matchesback to summary
public boolean matches(Table table, String columnName, Object value1, Object value2)

Implements io.github.spannm.jackcess.util.ColumnMatcher.matches.

Doc from io.github.spannm.jackcess.util.ColumnMatcher.matches.

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.

Annotations
@Override