|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FilterableAttribute
Definition of an attribute supporting filter operations.
Currently supported predicates are:
NULL (see isNull() or isNotNull())isEqual(java.lang.String) or notEqual(java.lang.String))lessThan(java.lang.String), lessOrEqual(java.lang.String), greaterThan(java.lang.String) or greaterOrEqual(java.lang.String))like(java.lang.String))between(java.lang.String, java.lang.String))IMPORTANT: This interface is not intended to be implemented.
UnaryOperatorFilter,
BinaryOperatorFilter,
TernaryOperatorFilter| Method Summary | |
|---|---|
TernaryOperatorFilter |
between(double lowerBound,
double upperBound)
Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound. |
TernaryOperatorFilter |
between(long lowerBound,
long upperBound)
Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound. |
TernaryOperatorFilter |
between(String lowerBound,
String upperBound)
Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound. |
String |
getAttributeName()
Returns the name of the attribute to apply this filter to. |
BinaryOperatorFilter |
greaterOrEqual(double value)
Creates a filter matching an attribute being greater than the given value. |
BinaryOperatorFilter |
greaterOrEqual(long value)
Creates a filter matching an attribute being greater than the given value. |
BinaryOperatorFilter |
greaterOrEqual(String value)
Creates a filter matching an attribute being greater than the given value. |
BinaryOperatorFilter |
greaterThan(double value)
Creates a filter matching an attribute being greater than or equal the given value. |
BinaryOperatorFilter |
greaterThan(long value)
Creates a filter matching an attribute being greater than or equal the given value. |
BinaryOperatorFilter |
greaterThan(String value)
Creates a filter matching an attribute being greater than or equal the given value. |
BinaryOperatorFilter |
isEqual(double value)
Creates a filter matching an attribute being equal with the given value. |
BinaryOperatorFilter |
isEqual(long value)
Creates a filter matching an attribute being equal with the given value. |
BinaryOperatorFilter |
isEqual(String value)
Creates a filter matching an attribute being equal with the given value. |
UnaryOperatorFilter |
isNotNull()
Creates a filter matching an attribute not having a SQL NULL value. |
UnaryOperatorFilter |
isNull()
Creates a filter matching an attribute having a SQL NULL value. |
BinaryOperatorFilter |
lessOrEqual(double value)
Creates a filter matching an attribute being less than or equal the given value. |
BinaryOperatorFilter |
lessOrEqual(long value)
Creates a filter matching an attribute being less than or equal the given value. |
BinaryOperatorFilter |
lessOrEqual(String value)
Creates a filter matching an attribute being less than or equal the given value. |
BinaryOperatorFilter |
lessThan(double value)
Creates a filter matching an attribute being less than the given value. |
BinaryOperatorFilter |
lessThan(long value)
Creates a filter matching an attribute being less than the given value. |
BinaryOperatorFilter |
lessThan(String value)
Creates a filter matching an attribute being less than the given value. |
BinaryOperatorFilter |
like(String value)
Creates a filter matching a text attribute according to the pattern given by value. |
BinaryOperatorFilter |
notEqual(double value)
Creates a filter matching an attribute being equal with the given value. |
BinaryOperatorFilter |
notEqual(long value)
Creates a filter matching an attribute being not equal with the given value. |
BinaryOperatorFilter |
notEqual(String value)
Creates a filter matching an attribute being not equal with the given value. |
| Method Detail |
|---|
UnaryOperatorFilter isNull()
NULL value.
isNotNull()UnaryOperatorFilter isNotNull()
NULL value.
isNull()BinaryOperatorFilter isEqual(String value)
value.
value - The value to match with.
isEqual(long),
isEqual(double)BinaryOperatorFilter isEqual(long value)
value.
value - The value to match with.
isEqual(String),
isEqual(double)BinaryOperatorFilter isEqual(double value)
value.
value - The value to match with.
isEqual(String),
isEqual(long)BinaryOperatorFilter notEqual(String value)
value.
value - The value to match with.
notEqual(long),
notEqual(double)BinaryOperatorFilter notEqual(long value)
value.
value - The value to match with.
notEqual(String),
notEqual(double)BinaryOperatorFilter notEqual(double value)
value.
value - The value to match with.
notEqual(String),
notEqual(long)BinaryOperatorFilter lessThan(String value)
value.
The meaning of being less than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
lessThan(long),
lessThan(double)BinaryOperatorFilter lessThan(long value)
value.
The meaning of being less than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
lessThan(String),
lessThan(double)BinaryOperatorFilter lessThan(double value)
value.
The meaning of being less than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
lessThan(String),
lessThan(long)BinaryOperatorFilter lessOrEqual(String value)
value.
The meaning of being less than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
lessOrEqual(long),
lessOrEqual(double)BinaryOperatorFilter lessOrEqual(long value)
value.
The meaning of being less than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
lessOrEqual(String),
lessOrEqual(double)BinaryOperatorFilter lessOrEqual(double value)
value.
The meaning of being less than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
lessOrEqual(String),
lessOrEqual(long)BinaryOperatorFilter greaterThan(String value)
value.
The meaning of being greater than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
greaterOrEqual(long),
greaterOrEqual(double)BinaryOperatorFilter greaterThan(long value)
value.
The meaning of being greater than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
greaterOrEqual(String),
greaterOrEqual(double)BinaryOperatorFilter greaterThan(double value)
value.
The meaning of being greater than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
greaterOrEqual(String),
greaterOrEqual(long)BinaryOperatorFilter greaterOrEqual(String value)
value.
The meaning of being greater than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
greaterThan(long),
greaterThan(double)BinaryOperatorFilter greaterOrEqual(long value)
value.
The meaning of being greater than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
greaterThan(String),
greaterThan(double)BinaryOperatorFilter greaterOrEqual(double value)
value.
The meaning of being greater than is specific to the type of the attribute, i.e.
arithmetic or lexical order.
value - The value to match with.
greaterThan(String),
greaterThan(long)BinaryOperatorFilter like(String value)
value.
The pattern language syntax is that of SQL LIKE patterns. For details
please check the documentation of your database backend.
value - The value to match with.
TernaryOperatorFilter between(String lowerBound,
String upperBound)
lowerBound and less than or equal the given upperBound.
The meaning of being less than or greater than is specific to the type of the
attribute, i.e. arithmetic or lexical order.
lowerBound - The lowerBound bound of the value range to match with.upperBound - The upperBound bound of the value range to match with.
between(long, long),
between(double, double)
TernaryOperatorFilter between(long lowerBound,
long upperBound)
lowerBound and less than or equal the given upperBound.
The meaning of being less than or greater than is specific to the type of the
attribute, i.e. arithmetic or lexical order.
lowerBound - The lowerBound bound of the value range to match with.upperBound - The upperBound bound of the value range to match with.
between(String, String),
between(double, double)
TernaryOperatorFilter between(double lowerBound,
double upperBound)
lowerBound and less than or equal the given upperBound.
The meaning of being less than or greater than is specific to the type of the
attribute, i.e. arithmetic or lexical order.
lowerBound - The lowerBound bound of the value range to match with.upperBound - The upperBound bound of the value range to match with.
between(String, String),
between(long, long)String getAttributeName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||