Package hydra.ext.cypher.features
Class PredicateFunctionFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.PredicateFunctionFeatures
-
- All Implemented Interfaces:
java.io.Serializable
public class PredicateFunctionFeatures extends java.lang.Object implements java.io.Serializable
Predicate functions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Boolean
all
The all() function.java.lang.Boolean
any
The any() function.java.lang.Boolean
exists
The exists() function.static Name
FIELD_NAME_ALL
static Name
FIELD_NAME_ANY
static Name
FIELD_NAME_EXISTS
static Name
FIELD_NAME_IS_EMPTY
static Name
FIELD_NAME_NONE
static Name
FIELD_NAME_SINGLE
java.lang.Boolean
isEmpty
The isEmpty() function.java.lang.Boolean
none
The none() function.java.lang.Boolean
single
The single() function.static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description PredicateFunctionFeatures(java.lang.Boolean all, java.lang.Boolean any, java.lang.Boolean exists, java.lang.Boolean isEmpty, java.lang.Boolean none, java.lang.Boolean single)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
PredicateFunctionFeatures
withAll(java.lang.Boolean all)
PredicateFunctionFeatures
withAny(java.lang.Boolean any)
PredicateFunctionFeatures
withExists(java.lang.Boolean exists)
PredicateFunctionFeatures
withIsEmpty(java.lang.Boolean isEmpty)
PredicateFunctionFeatures
withNone(java.lang.Boolean none)
PredicateFunctionFeatures
withSingle(java.lang.Boolean single)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_ALL
public static final Name FIELD_NAME_ALL
-
FIELD_NAME_ANY
public static final Name FIELD_NAME_ANY
-
FIELD_NAME_EXISTS
public static final Name FIELD_NAME_EXISTS
-
FIELD_NAME_IS_EMPTY
public static final Name FIELD_NAME_IS_EMPTY
-
FIELD_NAME_NONE
public static final Name FIELD_NAME_NONE
-
FIELD_NAME_SINGLE
public static final Name FIELD_NAME_SINGLE
-
all
public final java.lang.Boolean all
The all() function. Returns true if the predicate holds for all elements in the given LIST<ANY>.
-
any
public final java.lang.Boolean any
The any() function. Returns true if the predicate holds for at least one element in the given LIST<ANY>.
-
exists
public final java.lang.Boolean exists
The exists() function. Returns true if a match for the pattern exists in the graph.
-
isEmpty
public final java.lang.Boolean isEmpty
The isEmpty() function. Checks whether a LIST<ANY> is empty.; Checks whether a MAP is empty.; Checks whether a STRING is empty.
-
none
public final java.lang.Boolean none
The none() function. Returns true if the predicate holds for no element in the given LIST<ANY>.
-
single
public final java.lang.Boolean single
The single() function. Returns true if the predicate holds for exactly one of the elements in the given LIST<ANY>.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withAll
public PredicateFunctionFeatures withAll(java.lang.Boolean all)
-
withAny
public PredicateFunctionFeatures withAny(java.lang.Boolean any)
-
withExists
public PredicateFunctionFeatures withExists(java.lang.Boolean exists)
-
withIsEmpty
public PredicateFunctionFeatures withIsEmpty(java.lang.Boolean isEmpty)
-
withNone
public PredicateFunctionFeatures withNone(java.lang.Boolean none)
-
withSingle
public PredicateFunctionFeatures withSingle(java.lang.Boolean single)
-
-