Package hydra.ext.cypher.features
Class ScalarFunctionFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.ScalarFunctionFeatures
-
- All Implemented Interfaces:
java.io.Serializable
public class ScalarFunctionFeatures extends java.lang.Object implements java.io.Serializable
Scalar functions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Boolean
char_length
The char_length() function.java.lang.Boolean
character_length
The character_length() function.java.lang.Boolean
coalesce
The coalesce() function.java.lang.Boolean
elementId
The elementId() function.java.lang.Boolean
endNode
The endNode() function.static Name
FIELD_NAME_CHAR_LENGTH
static Name
FIELD_NAME_CHARACTER_LENGTH
static Name
FIELD_NAME_COALESCE
static Name
FIELD_NAME_ELEMENT_ID
static Name
FIELD_NAME_END_NODE
static Name
FIELD_NAME_HEAD
static Name
FIELD_NAME_ID
static Name
FIELD_NAME_LAST
static Name
FIELD_NAME_LENGTH
static Name
FIELD_NAME_NULL_IF
static Name
FIELD_NAME_PROPERTIES
static Name
FIELD_NAME_RANDOM_U_U_I_D
static Name
FIELD_NAME_SIZE
static Name
FIELD_NAME_START_NODE
static Name
FIELD_NAME_TO_BOOLEAN
static Name
FIELD_NAME_TO_BOOLEAN_OR_NULL
static Name
FIELD_NAME_TO_FLOAT
static Name
FIELD_NAME_TO_FLOAT_OR_NULL
static Name
FIELD_NAME_TO_INTEGER
static Name
FIELD_NAME_TO_INTEGER_OR_NULL
static Name
FIELD_NAME_TYPE
static Name
FIELD_NAME_VALUE_TYPE
java.lang.Boolean
head
The head() function.java.lang.Boolean
id
The id() function.java.lang.Boolean
last
The last() function.java.lang.Boolean
length
The length() function.java.lang.Boolean
nullIf
The nullIf() function.java.lang.Boolean
properties
The properties() function.java.lang.Boolean
randomUUID
The randomUUID() function.java.lang.Boolean
size
The size() function.java.lang.Boolean
startNode
The startNode() function.java.lang.Boolean
toBoolean
The toBoolean() function.java.lang.Boolean
toBooleanOrNull
The toBooleanOrNull() function.java.lang.Boolean
toFloat
The toFloat() function.java.lang.Boolean
toFloatOrNull
The toFloatOrNull() function.java.lang.Boolean
toInteger
The toInteger() function.java.lang.Boolean
toIntegerOrNull
The toIntegerOrNull() function.java.lang.Boolean
type
The type() function.static Name
TYPE_NAME
java.lang.Boolean
valueType
The valueType() function.
-
Constructor Summary
Constructors Constructor Description ScalarFunctionFeatures(java.lang.Boolean char_length, java.lang.Boolean character_length, java.lang.Boolean coalesce, java.lang.Boolean elementId, java.lang.Boolean endNode, java.lang.Boolean head, java.lang.Boolean id, java.lang.Boolean last, java.lang.Boolean length, java.lang.Boolean nullIf, java.lang.Boolean properties, java.lang.Boolean randomUUID, java.lang.Boolean size, java.lang.Boolean startNode, java.lang.Boolean toBoolean, java.lang.Boolean toBooleanOrNull, java.lang.Boolean toFloat, java.lang.Boolean toFloatOrNull, java.lang.Boolean toInteger, java.lang.Boolean toIntegerOrNull, java.lang.Boolean type, java.lang.Boolean valueType)
-
Method Summary
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_CHAR_LENGTH
public static final Name FIELD_NAME_CHAR_LENGTH
-
FIELD_NAME_CHARACTER_LENGTH
public static final Name FIELD_NAME_CHARACTER_LENGTH
-
FIELD_NAME_COALESCE
public static final Name FIELD_NAME_COALESCE
-
FIELD_NAME_ELEMENT_ID
public static final Name FIELD_NAME_ELEMENT_ID
-
FIELD_NAME_END_NODE
public static final Name FIELD_NAME_END_NODE
-
FIELD_NAME_HEAD
public static final Name FIELD_NAME_HEAD
-
FIELD_NAME_ID
public static final Name FIELD_NAME_ID
-
FIELD_NAME_LAST
public static final Name FIELD_NAME_LAST
-
FIELD_NAME_LENGTH
public static final Name FIELD_NAME_LENGTH
-
FIELD_NAME_NULL_IF
public static final Name FIELD_NAME_NULL_IF
-
FIELD_NAME_PROPERTIES
public static final Name FIELD_NAME_PROPERTIES
-
FIELD_NAME_RANDOM_U_U_I_D
public static final Name FIELD_NAME_RANDOM_U_U_I_D
-
FIELD_NAME_SIZE
public static final Name FIELD_NAME_SIZE
-
FIELD_NAME_START_NODE
public static final Name FIELD_NAME_START_NODE
-
FIELD_NAME_TO_BOOLEAN
public static final Name FIELD_NAME_TO_BOOLEAN
-
FIELD_NAME_TO_BOOLEAN_OR_NULL
public static final Name FIELD_NAME_TO_BOOLEAN_OR_NULL
-
FIELD_NAME_TO_FLOAT
public static final Name FIELD_NAME_TO_FLOAT
-
FIELD_NAME_TO_FLOAT_OR_NULL
public static final Name FIELD_NAME_TO_FLOAT_OR_NULL
-
FIELD_NAME_TO_INTEGER
public static final Name FIELD_NAME_TO_INTEGER
-
FIELD_NAME_TO_INTEGER_OR_NULL
public static final Name FIELD_NAME_TO_INTEGER_OR_NULL
-
FIELD_NAME_TYPE
public static final Name FIELD_NAME_TYPE
-
FIELD_NAME_VALUE_TYPE
public static final Name FIELD_NAME_VALUE_TYPE
-
char_length
public final java.lang.Boolean char_length
The char_length() function. Returns the number of Unicode characters in a STRING.
-
character_length
public final java.lang.Boolean character_length
The character_length() function. Returns the number of Unicode characters in a STRING.
-
coalesce
public final java.lang.Boolean coalesce
The coalesce() function. Returns the first non-null value in a list of expressions.
-
elementId
public final java.lang.Boolean elementId
The elementId() function. Returns a node identifier, unique within a specific transaction and DBMS.; Returns a relationship identifier, unique within a specific transaction and DBMS.
-
endNode
public final java.lang.Boolean endNode
The endNode() function. Returns a relationship identifier, unique within a specific transaction and DBMS.
-
head
public final java.lang.Boolean head
The head() function. Returns the first element in a LIST<ANY>.
-
id
public final java.lang.Boolean id
The id() function. [Deprecated] Returns the id of a NODE. Replaced by elementId().; [Deprecated] Returns the id of a RELATIONSHIP. Replaced by elementId().
-
last
public final java.lang.Boolean last
The last() function. Returns the last element in a LIST<ANY>.
-
length
public final java.lang.Boolean length
The length() function. Returns the length of a PATH.
-
nullIf
public final java.lang.Boolean nullIf
The nullIf() function. Returns null if the two given parameters are equivalent, otherwise returns the value of the first parameter.
-
properties
public final java.lang.Boolean properties
The properties() function. Returns a MAP containing all the properties of a MAP.; Returns a MAP containing all the properties of a NODE.; Returns a MAP containing all the properties of a RELATIONSHIP.
-
randomUUID
public final java.lang.Boolean randomUUID
The randomUUID() function. Generates a random UUID.
-
size
public final java.lang.Boolean size
The size() function. Returns the number of items in a LIST<ANY>.; Returns the number of Unicode characters in a STRING.
-
startNode
public final java.lang.Boolean startNode
The startNode() function. Returns the start NODE of a RELATIONSHIP.
-
toBoolean
public final java.lang.Boolean toBoolean
The toBoolean() function. Converts a STRING value to a BOOLEAN value.; Converts a BOOLEAN value to a BOOLEAN value.; Converts an INTEGER value to a BOOLEAN value.
-
toBooleanOrNull
public final java.lang.Boolean toBooleanOrNull
The toBooleanOrNull() function. Converts a value to a BOOLEAN value, or null if the value cannot be converted.
-
toFloat
public final java.lang.Boolean toFloat
The toFloat() function. Converts an INTEGER value to a FLOAT value.; Converts a STRING value to a FLOAT value.
-
toFloatOrNull
public final java.lang.Boolean toFloatOrNull
The toFloatOrNull() function. Converts a value to a FLOAT value, or null if the value cannot be converted.
-
toInteger
public final java.lang.Boolean toInteger
The toInteger() function. Converts a FLOAT value to an INTEGER value.; Converts a BOOLEAN value to an INTEGER value.; Converts a STRING value to an INTEGER value.
-
toIntegerOrNull
public final java.lang.Boolean toIntegerOrNull
The toIntegerOrNull() function. Converts a value to an INTEGER value, or null if the value cannot be converted.
-
type
public final java.lang.Boolean type
The type() function. Returns a STRING representation of the RELATIONSHIP type.
-
valueType
public final java.lang.Boolean valueType
The valueType() function. Returns a STRING representation of the most precise value type that the given expression evaluates to.
-
-
Constructor Detail
-
ScalarFunctionFeatures
public ScalarFunctionFeatures(java.lang.Boolean char_length, java.lang.Boolean character_length, java.lang.Boolean coalesce, java.lang.Boolean elementId, java.lang.Boolean endNode, java.lang.Boolean head, java.lang.Boolean id, java.lang.Boolean last, java.lang.Boolean length, java.lang.Boolean nullIf, java.lang.Boolean properties, java.lang.Boolean randomUUID, java.lang.Boolean size, java.lang.Boolean startNode, java.lang.Boolean toBoolean, java.lang.Boolean toBooleanOrNull, java.lang.Boolean toFloat, java.lang.Boolean toFloatOrNull, java.lang.Boolean toInteger, java.lang.Boolean toIntegerOrNull, java.lang.Boolean type, java.lang.Boolean valueType)
-
-
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
-
withChar_length
public ScalarFunctionFeatures withChar_length(java.lang.Boolean char_length)
-
withCharacter_length
public ScalarFunctionFeatures withCharacter_length(java.lang.Boolean character_length)
-
withCoalesce
public ScalarFunctionFeatures withCoalesce(java.lang.Boolean coalesce)
-
withElementId
public ScalarFunctionFeatures withElementId(java.lang.Boolean elementId)
-
withEndNode
public ScalarFunctionFeatures withEndNode(java.lang.Boolean endNode)
-
withHead
public ScalarFunctionFeatures withHead(java.lang.Boolean head)
-
withId
public ScalarFunctionFeatures withId(java.lang.Boolean id)
-
withLast
public ScalarFunctionFeatures withLast(java.lang.Boolean last)
-
withLength
public ScalarFunctionFeatures withLength(java.lang.Boolean length)
-
withNullIf
public ScalarFunctionFeatures withNullIf(java.lang.Boolean nullIf)
-
withProperties
public ScalarFunctionFeatures withProperties(java.lang.Boolean properties)
-
withRandomUUID
public ScalarFunctionFeatures withRandomUUID(java.lang.Boolean randomUUID)
-
withSize
public ScalarFunctionFeatures withSize(java.lang.Boolean size)
-
withStartNode
public ScalarFunctionFeatures withStartNode(java.lang.Boolean startNode)
-
withToBoolean
public ScalarFunctionFeatures withToBoolean(java.lang.Boolean toBoolean)
-
withToBooleanOrNull
public ScalarFunctionFeatures withToBooleanOrNull(java.lang.Boolean toBooleanOrNull)
-
withToFloat
public ScalarFunctionFeatures withToFloat(java.lang.Boolean toFloat)
-
withToFloatOrNull
public ScalarFunctionFeatures withToFloatOrNull(java.lang.Boolean toFloatOrNull)
-
withToInteger
public ScalarFunctionFeatures withToInteger(java.lang.Boolean toInteger)
-
withToIntegerOrNull
public ScalarFunctionFeatures withToIntegerOrNull(java.lang.Boolean toIntegerOrNull)
-
withType
public ScalarFunctionFeatures withType(java.lang.Boolean type)
-
withValueType
public ScalarFunctionFeatures withValueType(java.lang.Boolean valueType)
-
-