Enum Class Condition

java.lang.Object
java.lang.Enum<Condition>
com.sparsity.sparksee.gdb.Condition
All Implemented Interfaces:
Serializable, Comparable<Condition>, Constable

public enum Condition extends Enum<Condition>
Condition operators enumeration.

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

Author:
Sparsity Technologies http://www.sparsity-technologies.com
  • Enum Constant Details

    • Equal

      public static final Condition Equal
      Equal condition (==).

      Equal condition (==).

    • GreaterEqual

      public static final Condition GreaterEqual
      Greater or equal condition (>=).

      Greater or equal condition (>=).

    • GreaterThan

      public static final Condition GreaterThan
      Greater than condition (>).

      Greater than condition (>).

    • LessEqual

      public static final Condition LessEqual
      Less or equal condition (<=).

      Less or equal condition (<=).

    • LessThan

      public static final Condition LessThan
      Less than condition (<).

      Less than condition (<).

    • NotEqual

      public static final Condition NotEqual
      Not equal condition (!=).

      Not equal condition (!=).

    • Like

      public static final Condition Like
      Substring condition.

      Substring condition.

    • LikeNoCase

      public static final Condition LikeNoCase
      Substring (no case sensitive) condition.

      Substring (no case sensitive) condition.

    • Between

      public static final Condition Between
      In range operator condition ([x,y]).

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

    • RegExp

      public static final Condition RegExp
      Regular expression condition.

      Regular expression condition.

  • Method Details

    • values

      public static Condition[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Condition valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null