public interface Criteria
and
and or
,
and the negation operator, not
. This interface combines the
BaseSearchCriteria
, Criteria
, and
DependentCriteria
interfaces from CTB version 4.Modifier and Type | Field and Description |
---|---|
static SetSearchOperator |
ALL
The
all set/collection operator. |
static SetSearchOperator |
ANY
The
any set/collection operator. |
static SearchOperator |
CONTAINS
The
contains operator, similar to the SQL
CONTAINS operator. |
static SearchOperator |
EQUALS
The
equals operator, similar to the SQL =
operator. |
static SearchOperator |
GREATER_THAN
The
greater than operator, similar to the SQL >
operator. |
static SearchOperator |
GREATER_THAN_OR_EQUAL_TO
The
greater than or equal to operator, similar to the SQL
>= operator. |
static UnarySearchOperator |
IS_NOT_NULL
The
is not null operator, similar to the SQL
IS NOT NULL operator. |
static UnarySearchOperator |
IS_NULL
The
is null operator, similar to the SQL
IS NULL operator. |
static SearchOperator |
LESS_THAN
The
less than operator, similar to the SQL <
operator. |
static SearchOperator |
LESS_THAN_OR_EQUAL_TO
The
less than or equal to operator, similar to the SQL
<= operator. |
static SearchOperator |
LIKE
This
like operator, similar to the SQL LIKE
operator. |
static SearchOperator |
NOT_EQUALS
The
not equals operator, similar to the SQL <>
operator. |
static SearchOperator |
NOT_LIKE
The
not like operator, similar to the SQL
NOT LIKE operator. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Implementation of the Object.equals(...) method.
|
int |
hashCode()
Implementation of the Object.hashCode() method.
|
Criteria |
newInstance()
Constructs a new, empty criteria instance of the same type as this
criteria.
|
static final SearchOperator EQUALS
equals
operator, similar to the SQL =
operator.static final SearchOperator NOT_EQUALS
not equals
operator, similar to the SQL <>
operator.static final SearchOperator LESS_THAN
less than
operator, similar to the SQL <
operator.static final SearchOperator LESS_THAN_OR_EQUAL_TO
less than or equal to
operator, similar to the SQL
<=
operator.static final SearchOperator GREATER_THAN
greater than
operator, similar to the SQL >
operator.static final SearchOperator GREATER_THAN_OR_EQUAL_TO
greater than or equal to
operator, similar to the SQL
>=
operator.static final SearchOperator LIKE
like
operator, similar to the SQL LIKE
operator.static final SearchOperator NOT_LIKE
not like
operator, similar to the SQL
NOT LIKE
operator.static final UnarySearchOperator IS_NULL
is null
operator, similar to the SQL
IS NULL
operator.static final UnarySearchOperator IS_NOT_NULL
is not null
operator, similar to the SQL
IS NOT NULL
operator.static final SearchOperator CONTAINS
contains
operator, similar to the SQL
CONTAINS
operator. Can only be used for data indexed by
using Oracle's Intermedia Text module.static final SetSearchOperator ANY
any
set/collection operator. See
SetSearchOperator
for
details.static final SetSearchOperator ALL
all
set/collection operator. See
SetSearchOperator
for
details.boolean equals(Object obj)
Implementation of the Object.equals(...) method.
Criteria objects may be compared when determining whether the result for a navigational query is available. The equals method is used when such a comparison needs to be made.
Criteria.equals() is guaranteed to return false if any of the following conditions hold (other reasons may exist):
int hashCode()
Implementation of the Object.hashCode() method.
This method provides an equals compatable implementation hashing.
Criteria newInstance()
HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved