public class DBPermittedValuesIgnoreCaseOperator extends DBOperator
Support DBvolution at Patreon
| Modifier and Type | Field and Description |
|---|---|
protected DBOperator |
operator |
| Constructor and Description |
|---|
DBPermittedValuesIgnoreCaseOperator(Collection<String> permitted)
Provides an operator that checks that the column matches the provided
values, while remaining case-insensitive.
|
DBPermittedValuesIgnoreCaseOperator(String... permitted)
Provides an operator that checks that the column matches the provided
values, while remaining case-insensitive.
|
DBPermittedValuesIgnoreCaseOperator(StringExpression[] permitted)
Provides an operator that checks that the column matches the provided
values, while remaining case-insensitive.
|
| Modifier and Type | Method and Description |
|---|---|
DBOperator |
copyAndAdapt(QueryableDatatypeSyncer.DBSafeInternalQDTAdaptor typeAdaptor)
Adds TypeAdaptor support to DBOperator.
|
BooleanExpression |
generateWhereExpression(DBDefinition db,
DBExpression column)
Create the expression to be used in the query generation.
|
void |
invertOperator(Boolean invertOperator)
Make this operator an exclusive rather than inclusive comparison.
|
void |
not()
Make this operator an exclusive rather than inclusive comparison.
|
equals, getFirstValue, getSecondValue, getThirdValue, hashCode, includeNulls, setFirstValue, setSecondValue, setThirdValueprotected DBOperator operator
public DBPermittedValuesIgnoreCaseOperator(String... permitted)
permitted - a list of strings that are permitted values.public DBPermittedValuesIgnoreCaseOperator(StringExpression[] permitted)
permitted - a list of string expression that are permitted values.public DBPermittedValuesIgnoreCaseOperator(Collection<String> permitted)
permitted - a list of strings that are permitted values.public DBOperator copyAndAdapt(QueryableDatatypeSyncer.DBSafeInternalQDTAdaptor typeAdaptor)
DBOperatorcopyAndAdapt in class DBOperatortypeAdaptor - Support DBvolution at Patreon
public BooleanExpression generateWhereExpression(DBDefinition db, DBExpression column)
DBOperatorgenerateWhereExpression in class DBOperatorcolumn - Support DBvolution at Patreon
public void invertOperator(Boolean invertOperator)
DBOperatorBasically switches the operator from, for instance, "==" to "!=".
invertOperator in class DBOperatorpublic void not()
DBOperatorBasically switches the operator from, for instance, "==" to "!=".
not in class DBOperatorCopyright © 2017. All Rights Reserved.