SparkseePython  6.0.2
Static Public Attributes | List of all members
sparksee.Condition Class Reference

Condition operators enumeration. More...

Static Public Attributes

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

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

int sparksee.Condition.BETWEEN = 8
static

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

Null values cannot be used together with this condition.

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.

int sparksee.Condition.GREATER_EQUAL = 1
static

Greater or equal condition (>=).

Null values cannot be used together with this condition.

int sparksee.Condition.GREATER_THAN = 2
static

Greater than condition (>).

Null values cannot be used together with this condition.

int sparksee.Condition.LESS_EQUAL = 3
static

Less or equal condition (<=).

Null values cannot be used together with this condition.

int sparksee.Condition.LESS_THAN = 4
static

Less than condition (<).

Null values cannot be used together with this condition.

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

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

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.

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.