Abstract
This section details the public types belonging to the
NdbScanFilter
class.
Description.
This type represents a condition based on the comparison of a
column value with some arbitrary value — that is, a
bound condition. A value of this type is used as the first
argument to NdbScanFilter::cmp()
.
Enumeration values.
Enumeration value | Description | Type of column values compared |
---|---|---|
COND_LE |
Lower bound (<= ) |
integer |
COND_LT |
Strict lower bound (< ) |
integer |
COND_GE |
Upper bound (>= ) |
integer |
COND_GT |
Strict upper bound (>) | integer |
COND_EQ |
Equality (= ) |
integer |
COND_NE |
Inequality (<> or != ) |
integer |
COND_LIKE |
LIKE condition |
string |
COND_NOTLIKE |
NOT LIKE condition |
string |
COL_AND_MASK_EQ_MASK |
Column value is equal to column value AND ed with
bitmask |
BIT |
COL_AND_MASK_NE_MASK |
Column value is not equal to column value AND ed with
bitmask |
BIT |
COL_AND_MASK_EQ_ZERO |
Column value AND ed with bitmask is equal to zero |
BIT |
COL_AND_MASK_NE_ZERO |
Column value AND ed with bitmask is not equal to zero |
BIT |
String comparisons.
Strings compared using COND_LIKE
and
COND_NOTLIKE
can use the pattern
metacharacters %
and _
.
See Section 2.3.17.2.6, “NdbScanFilter::cmp()
”, for more
information.
BIT
comparisons.
The BIT
comparison operators
COL_AND_MASK_EQ_MASK
,
COL_AND_MASK_NE_MASK
,
COL_AND_MASK_EQ_ZERO
, and
COL_AND_MASK_NE_ZERO
were added in MySQL
Cluster NDB 6.3.20. Corresponding methods are also available
for NdbInterpretedCode
and
NdbOperation
beginning with MySQL Cluster
NDB 6.3.20; for more information about these methods, see
Section 2.3.14.1.11, “NdbInterpretedCode
Bitwise Comparison Operations”.
Description.
This type is used to describe logical (grouping) operators,
and is used with the begin()
method. (See
Section 2.3.17.2.2, “NdbScanFilter::begin()
”.)
Enumeration values.
Value | Description |
---|---|
AND |
Logical AND :
|
OR |
Logical OR :
|
NAND |
Logical NOT AND : NOT
(
|
NOR |
Logical NOT OR : NOT
(
|