SparkseePython3 6.1.0
sparksee.Condition Class Reference

Condition operators enumeration. More...

Static Public Attributes

int EQUAL = 0
 Equal condition (==).
int GREATER_EQUAL = 1
 Greater or equal condition (>=).
int GREATER_THAN = 2
 Greater than condition (>).
int LESS_EQUAL = 3
 Less or equal condition (<=).
int LESS_THAN = 4
 Less than condition (<).
int NOT_EQUAL = 5
 Not equal condition (!=).
int LIKE = 6
 Substring condition.
int LIKE_NO_CASE = 7
 Substring (no case sensitive) condition.
int BETWEEN = 8
 In range operator condition ([x,y]).
int REG_EXP = 9
 Regular expression condition.

Detailed Description

Condition operators enumeration.

It is mainly used in the attribute-based graph select operations.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Data Documentation

◆ BETWEEN

int sparksee.Condition.BETWEEN = 8
static

In range operator condition ([x,y]).

Null values cannot be used together with this condition.

◆ EQUAL

int sparksee.Condition.EQUAL = 0
static

Equal condition (==).

Null values can be used together with this condition to retrieve all objects having a null value for an attribute.

◆ GREATER_EQUAL

int sparksee.Condition.GREATER_EQUAL = 1
static

Greater or equal condition (>=).

Null values cannot be used together with this condition.

◆ GREATER_THAN

int sparksee.Condition.GREATER_THAN = 2
static

Greater than condition (>).

Null values cannot be used together with this condition.

◆ LESS_EQUAL

int sparksee.Condition.LESS_EQUAL = 3
static

Less or equal condition (<=).

Null values cannot be used together with this condition.

◆ LESS_THAN

int sparksee.Condition.LESS_THAN = 4
static

Less than condition (<).

Null values cannot be used together with this condition.

◆ LIKE

int sparksee.Condition.LIKE = 6
static

Substring condition.

Null values cannot be used together with this condition.

This condition can just be used together with String values. It allows for searching substrings (case sensitive). Ex:

'AAABBBCCCD' Like 'BBB' returns TRUE

'AAABBBCCCD' Like 'bbb' returns FALSE

'AAABBBCCCD' Like 'E' returns FALSE

◆ LIKE_NO_CASE

int sparksee.Condition.LIKE_NO_CASE = 7
static

Substring (no case sensitive) condition.

Null values cannot be used together with this condition.

This condition can just be used together with String values. It allows for searching substrings (no case sensitive). Ex:

'AAABBBCCCD' LikeNoCase 'BBB' returns TRUE

'AAABBBCCCD' LikeNoCase 'bbb' returns TRUE

'AAABBBCCCD' LikeNoCase 'E' returns FALSE

◆ NOT_EQUAL

int sparksee.Condition.NOT_EQUAL = 5
static

Not equal condition (!=).

Null values can be used together with this condition to retrieve all objects having a non-null value for an attribute.

◆ REG_EXP

int sparksee.Condition.REG_EXP = 9
static

Regular expression condition.

Null values cannot be used together with this condition.

This condition can just be used together with String values.

Regular expression format conforms most of the POSIX Extended Regular Expressions so it is case sensitive.

See the 'Regular expressions' section in the 'SPARKSEE User Manual' for details.