Package hydra.ext.cypher.features
Class ScalarFunctionFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.ScalarFunctionFeatures
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ScalarFunctionFeatures>
public class ScalarFunctionFeatures extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ScalarFunctionFeatures>
Scalar functions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Booleanchar_lengthThe char_length() function.static NameCHAR_LENGTHjava.lang.Booleancharacter_lengthThe character_length() function.static NameCHARACTER_LENGTHjava.lang.BooleancoalesceThe coalesce() function.static NameCOALESCEstatic NameELEMENT_IDjava.lang.BooleanelementIdThe elementId() function.static NameEND_NODEjava.lang.BooleanendNodeThe endNode() function.java.lang.BooleanheadThe head() function.static NameHEADjava.lang.BooleanidThe id() function.static NameIDjava.lang.BooleanlastThe last() function.static NameLASTjava.lang.BooleanlengthThe length() function.static NameLENGTHstatic NameNULL_IFjava.lang.BooleannullIfThe nullIf() function.java.lang.BooleanpropertiesThe properties() function.static NamePROPERTIESstatic NameRANDOM_U_U_I_Djava.lang.BooleanrandomUUIDThe randomUUID() function.java.lang.BooleansizeThe size() function.static NameSIZEstatic NameSTART_NODEjava.lang.BooleanstartNodeThe startNode() function.static NameTO_BOOLEANstatic NameTO_BOOLEAN_OR_NULLstatic NameTO_FLOATstatic NameTO_FLOAT_OR_NULLstatic NameTO_INTEGERstatic NameTO_INTEGER_OR_NULLjava.lang.BooleantoBooleanThe toBoolean() function.java.lang.BooleantoBooleanOrNullThe toBooleanOrNull() function.java.lang.BooleantoFloatThe toFloat() function.java.lang.BooleantoFloatOrNullThe toFloatOrNull() function.java.lang.BooleantoIntegerThe toInteger() function.java.lang.BooleantoIntegerOrNullThe toIntegerOrNull() function.java.lang.BooleantypeThe type() function.static NameTYPEstatic NameTYPE_static NameVALUE_TYPEjava.lang.BooleanvalueTypeThe 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_
public static final Name TYPE_
-
CHAR_LENGTH
public static final Name CHAR_LENGTH
-
CHARACTER_LENGTH
public static final Name CHARACTER_LENGTH
-
COALESCE
public static final Name COALESCE
-
ELEMENT_ID
public static final Name ELEMENT_ID
-
END_NODE
public static final Name END_NODE
-
HEAD
public static final Name HEAD
-
ID
public static final Name ID
-
LAST
public static final Name LAST
-
LENGTH
public static final Name LENGTH
-
NULL_IF
public static final Name NULL_IF
-
PROPERTIES
public static final Name PROPERTIES
-
RANDOM_U_U_I_D
public static final Name RANDOM_U_U_I_D
-
SIZE
public static final Name SIZE
-
START_NODE
public static final Name START_NODE
-
TO_BOOLEAN
public static final Name TO_BOOLEAN
-
TO_BOOLEAN_OR_NULL
public static final Name TO_BOOLEAN_OR_NULL
-
TO_FLOAT
public static final Name TO_FLOAT
-
TO_FLOAT_OR_NULL
public static final Name TO_FLOAT_OR_NULL
-
TO_INTEGER
public static final Name TO_INTEGER
-
TO_INTEGER_OR_NULL
public static final Name TO_INTEGER_OR_NULL
-
TYPE
public static final Name TYPE
-
VALUE_TYPE
public static final 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ScalarFunctionFeatures other)
- Specified by:
compareToin interfacejava.lang.Comparable<ScalarFunctionFeatures>
-
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)
-
-