java.lang.Object
org.neo4j.cypherdsl.core.Functions
@API(status=DEPRECATED,
since="2023.9.0")
@Deprecated(since="2023.9.0")
public final class Functions
extends Object
Deprecated.
Factory methods for creating instances of
functions
.- Since:
- 1.0
- Author:
- Michael J. Simons, Gerrit Meier, Romain Rossi
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FunctionInvocation
abs
(@NotNull Expression expression) Deprecated.Creates a function invocation forabs({})
.static @NotNull FunctionInvocation
acos
(@NotNull Expression expression) Deprecated.Creates a function invocation foracos({})
.static @NotNull FunctionInvocation
asin
(@NotNull Expression expression) Deprecated.Creates a function invocation forasin({})
.static @NotNull FunctionInvocation
atan
(@NotNull Expression expression) Deprecated.Creates a function invocation foratan({})
.static @NotNull FunctionInvocation
atan2
(@NotNull Expression y, @NotNull Expression x) Deprecated.Creates a function invocation foratan2({})
.static @NotNull FunctionInvocation
avg
(Expression expression) Deprecated.Creates a function invocation for theavg()
function.static @NotNull FunctionInvocation
avgDistinct
(Expression expression) Deprecated.Creates a function invocation for theavg()
function withDISTINCT
added.static @NotNull FunctionInvocation
calendarDate
(Integer year, Integer month, Integer day) Deprecated.Creates a function invocation fordate({})
.static @NotNull FunctionInvocation
cartesian
(double x, double y) Deprecated.Convenience method for creating a 2d cartesian pointstatic @NotNull FunctionInvocation
ceil
(@NotNull Expression expression) Deprecated.Creates a function invocation forceil({})
.static @NotNull FunctionInvocation
coalesce
(Expression... expressions) Deprecated.Creates a function invocation for thecoalesce()
function.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation for thecollect()
function.static @NotNull FunctionInvocation
collect
(Expression expression) Deprecated.Creates a function invocation for thecollect()
function.static @NotNull FunctionInvocation
collectDistinct
(@NotNull Named variable) Deprecated.Creates a function invocation for thecollect()
function withDISTINCT
added.static @NotNull FunctionInvocation
collectDistinct
(Expression expression) Deprecated.Creates a function invocation for thecollect()
function withDISTINCT
added.static @NotNull FunctionInvocation
coordinate
(double longitude, double latitude) Deprecated.Convenience method for creating a 2d coordinate in the WGS 84 coordinate systemstatic @NotNull FunctionInvocation
cos
(@NotNull Expression expression) Deprecated.Creates a function invocation forcos({})
.static @NotNull FunctionInvocation
cot
(@NotNull Expression expression) Deprecated.Creates a function invocation forcot({})
.static @NotNull FunctionInvocation
Deprecated.static @NotNull FunctionInvocation
count
(Expression expression) Deprecated.Creates a function invocation for thecount()
function.static @NotNull FunctionInvocation
countDistinct
(@NotNull Node node) Deprecated.Creates a function invocation for acount()
function withDISTINCT
added.static @NotNull FunctionInvocation
countDistinct
(Expression expression) Deprecated.Creates a function invocation for acount()
function withDISTINCT
added.static @NotNull FunctionInvocation
date()
Deprecated.Creates a function invocation fordate()
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fordate({})
.static @NotNull FunctionInvocation
date
(@NotNull Expression temporalValue) Deprecated.Creates a function invocation fordate({})
.static @NotNull FunctionInvocation
date
(@NotNull MapExpression components) Deprecated.Creates a function invocation fordate({})
.static @NotNull FunctionInvocation
datetime()
Deprecated.Creates a function invocation fordatetime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fordatetime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fordatetime({})
.static @NotNull FunctionInvocation
datetime
(@NotNull Expression temporalValue) Deprecated.Creates a function invocation fordatetime({})
.static @NotNull FunctionInvocation
datetime
(@NotNull MapExpression components) Deprecated.Creates a function invocation fordatetime({})
.static @NotNull FunctionInvocation
degrees
(@NotNull Expression expression) Deprecated.Creates a function invocation fordegrees({})
.static @NotNull FunctionInvocation
distance
(@NotNull Expression point1, @NotNull Expression point2) Deprecated.Creates a function invocation for thedistance()
function.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forduration({})
.static @NotNull FunctionInvocation
duration
(@NotNull Expression temporalAmount) Deprecated.Creates a function invocation forduration({})
.static @NotNull FunctionInvocation
duration
(@NotNull MapExpression components) Deprecated.Creates a function invocation forduration({})
.static @NotNull FunctionInvocation
e()
Deprecated.Creates a function invocation fore({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forelementId{}
.static @NotNull FunctionInvocation
elementId
(@NotNull Relationship relationship) Deprecated.Creates a function invocation forelementId{}
.static @NotNull FunctionInvocation
endNode
(@NotNull Relationship relationship) Deprecated.Creates a function invocation forendNode{}
.static @NotNull FunctionInvocation
exists
(Expression expression) Deprecated.Creates a function invocation for theexists()
function.static @NotNull FunctionInvocation
exp
(@NotNull Expression expression) Deprecated.Creates a function invocation forexp({})
.static @NotNull FunctionInvocation
file()
Deprecated.Creates a function invocation forfile({})
.static @NotNull FunctionInvocation
floor
(@NotNull Expression expression) Deprecated.Creates a function invocation forfloor({})
.static @NotNull FunctionInvocation
graphByName
(Expression name) Deprecated.Creates a function invocation forgraph.byName()
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forgraph.names()
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forgraph.propertiesByName()
.static @NotNull FunctionInvocation
haversin
(@NotNull Expression expression) Deprecated.Creates a function invocation forhaversin({})
.static @NotNull FunctionInvocation
head
(Expression expression) Deprecated.Creates a function invocation for thehead()
function.static @NotNull FunctionInvocation
Deprecated.seeelementId(Node)
for a replacement.static @NotNull FunctionInvocation
id
(@NotNull Relationship relationship) Deprecated.seeelementId(Relationship)
for a replacement.static @NotNull FunctionInvocation
keys
(@NotNull Expression expression) Deprecated.Creates a function invocation forkeys{}
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forkeys{}
.static @NotNull FunctionInvocation
keys
(@NotNull Relationship relationship) Deprecated.Creates a function invocation forkeys{}
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlabels{}
.static @NotNull FunctionInvocation
labels
(@NotNull SymbolicName node) Deprecated.Creates a function invocation forlabels{}
.static @NotNull FunctionInvocation
last
(Expression expression) Deprecated.Creates a function invocation for thelast()
function.static @NotNull FunctionInvocation
left
(Expression expression, Expression length) Deprecated.Creates a function invocation for theleft()
function.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlength()
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlinenumber({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlocaldatetime({})
.static @NotNull FunctionInvocation
localdatetime
(@NotNull String temporalValue) Deprecated.Creates a function invocation forlocaldatetime({})
.static @NotNull FunctionInvocation
localdatetime
(@NotNull TimeZone timeZone) Deprecated.Creates a function invocation forlocaldatetime({})
.static @NotNull FunctionInvocation
localdatetime
(@NotNull Expression temporalValue) Deprecated.Creates a function invocation forlocaldatetime({})
.static @NotNull FunctionInvocation
localdatetime
(@NotNull MapExpression components) Deprecated.Creates a function invocation forlocaldatetime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlocaltime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlocaltime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation forlocaltime({})
.static @NotNull FunctionInvocation
localtime
(@NotNull Expression temporalValue) Deprecated.Creates a function invocation forlocaltime({})
.static @NotNull FunctionInvocation
localtime
(@NotNull MapExpression components) Deprecated.Creates a function invocation forlocaltime({})
.static @NotNull FunctionInvocation
log
(@NotNull Expression expression) Deprecated.Creates a function invocation forlog({})
.static @NotNull FunctionInvocation
log10
(@NotNull Expression expression) Deprecated.Creates a function invocation forlog10({})
.static @NotNull FunctionInvocation
ltrim
(@NotNull Expression expression) Deprecated.Creates a function invocation for theltrim()
function.static @NotNull FunctionInvocation
max
(Expression expression) Deprecated.Creates a function invocation for themax()
function.static @NotNull FunctionInvocation
maxDistinct
(Expression expression) Deprecated.Creates a function invocation for themax()
function withDISTINCT
added.static @NotNull FunctionInvocation
min
(Expression expression) Deprecated.Creates a function invocation for themin()
function.static @NotNull FunctionInvocation
minDistinct
(Expression expression) Deprecated.Creates a function invocation for themin()
function withDISTINCT
added.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fornodes{}
.static @NotNull FunctionInvocation
nodes
(@NotNull SymbolicName symbolicName) Deprecated.Creates a function invocation fornodes{}
.static @NotNull FunctionInvocation
ordinalDate
(Integer year, Integer ordinalDay) Deprecated.Creates a function invocation fordate({})
.static @NotNull FunctionInvocation
percentileCont
(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileCont()
function.static @NotNull FunctionInvocation
percentileContDistinct
(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileCont()
function withDISTINCT
added.static @NotNull FunctionInvocation
percentileDisc
(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileDisc()
function.static @NotNull FunctionInvocation
percentileDiscDistinct
(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileDisc()
function withDISTINCT
added.static @NotNull FunctionInvocation
pi()
Deprecated.Creates a function invocation forpi({})
.static @NotNull FunctionInvocation
point
(Expression expression) Deprecated.Creates a function invocation for thepoint()
function.static @NotNull FunctionInvocation
point
(MapExpression parameterMap) Deprecated.Creates a function invocation for thepoint()
function.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation for thepoint()
function.static @NotNull FunctionInvocation
properties
(MapExpression map) Deprecated.Creates a function invocation forproperties())
on maps.static @NotNull FunctionInvocation
properties
(Node node) Deprecated.Creates a function invocation forproperties())
on nodes.static @NotNull FunctionInvocation
properties
(Relationship relationship) Deprecated.Creates a function invocation forproperties())
on relationships.static @NotNull FunctionInvocation
quarterDate
(Integer year, Integer quarter, Integer dayOfQuarter) Deprecated.Creates a function invocation fordate({})
.static @NotNull FunctionInvocation
radians
(@NotNull Expression expression) Deprecated.Creates a function invocation forradians({})
.static @NotNull FunctionInvocation
rand()
Deprecated.Creates a function invocation forrand({})
.static FunctionInvocation
Deprecated.Creates a function invocation forrandomUUID({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation for therange()
function.static @NotNull FunctionInvocation
Deprecated.static @NotNull FunctionInvocation
range
(@NotNull Expression start, @NotNull Expression end) Deprecated.static @NotNull FunctionInvocation
range
(@NotNull Expression start, @NotNull Expression end, Expression step) Deprecated.Creates a function invocation for therange()
function.reduce
(@NotNull SymbolicName variable) Deprecated.Starts building a function invocation forreduce({})
.static @NotNull FunctionInvocation
relationships
(@NotNull NamedPath path) Deprecated.Creates a function invocation forrelationships{}
.static @NotNull FunctionInvocation
relationships
(@NotNull SymbolicName symbolicName) Deprecated.Creates a function invocation forrelationships{}
.static @NotNull FunctionInvocation
replace
(Expression original, Expression search, Expression replace) Deprecated.Creates a function invocation for thereplace()
function.static @NotNull FunctionInvocation
reverse
(@NotNull Expression original) Deprecated.Creates a function invocation for thereverse()
function.static @NotNull FunctionInvocation
right
(Expression expression, Expression length) Deprecated.Creates a function invocation for theright()
function.static @NotNull FunctionInvocation
round
(Expression value, Expression... expression) Deprecated.Creates a function invocation forround({})
.static @NotNull FunctionInvocation
rtrim
(@NotNull Expression expression) Deprecated.Creates a function invocation for thertrim()
function.static @NotNull FunctionInvocation
shortestPath
(Relationship relationship) Deprecated.Creates a function invocation forshortestPath({})
.static @NotNull FunctionInvocation
sign
(@NotNull Expression expression) Deprecated.Creates a function invocation forsign({})
.static @NotNull FunctionInvocation
sin
(@NotNull Expression expression) Deprecated.Creates a function invocation forsin({})
.static @NotNull FunctionInvocation
size
(Expression expression) Deprecated.Creates a function invocation for thesize()
function.static @NotNull FunctionInvocation
size
(RelationshipPattern pattern) Deprecated.Creates a function invocation for thesize()
function.static @NotNull FunctionInvocation
split
(@NotNull Expression expression, @NotNull String delimiter) Deprecated.Creates a function invocation for thesplit()
function.static @NotNull FunctionInvocation
split
(@NotNull Expression expression, @NotNull Expression delimiter) Deprecated.Creates a function invocation for thesplit()
function.static @NotNull FunctionInvocation
sqrt
(@NotNull Expression expression) Deprecated.Creates a function invocation forsqrt({})
.static @NotNull FunctionInvocation
startNode
(@NotNull Relationship relationship) Deprecated.Creates a function invocation forstartNode{}
.static @NotNull FunctionInvocation
stDev
(Expression expression) Deprecated.Creates a function invocation for thestDev()
function.static @NotNull FunctionInvocation
stDevDistinct
(Expression expression) Deprecated.Creates a function invocation for thestDev()
function withDISTINCT
added.static @NotNull FunctionInvocation
stDevP
(Expression expression) Deprecated.Creates a function invocation for thestDevP()
function.static @NotNull FunctionInvocation
stDevPDistinct
(Expression expression) Deprecated.Creates a function invocation for thestDevP()
function withDISTINCT
added.static @NotNull FunctionInvocation
substring
(Expression original, Expression start, Expression length) Deprecated.Creates a function invocation for thesubstring()
function.static @NotNull FunctionInvocation
sum
(Expression expression) Deprecated.Creates a function invocation for thesum()
function.static @NotNull FunctionInvocation
sumDistinct
(Expression expression) Deprecated.Creates a function invocation for thesum()
function withDISTINCT
added.static @NotNull FunctionInvocation
tan
(@NotNull Expression expression) Deprecated.Creates a function invocation fortan({})
.static @NotNull FunctionInvocation
time()
Deprecated.Creates a function invocation fortime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fortime({})
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fortime({})
.static @NotNull FunctionInvocation
time
(@NotNull Expression temporalValue) Deprecated.Creates a function invocation fortime({})
.static @NotNull FunctionInvocation
time
(@NotNull MapExpression components) Deprecated.Creates a function invocation fortime({})
.static @NotNull FunctionInvocation
toBoolean
(@NotNull Expression expression) Deprecated.Creates a function invocation fortoBoolean({})
.static @NotNull FunctionInvocation
toFloat
(@NotNull Expression expression) Deprecated.Creates a function invocation fortoFloat({})
.static @NotNull FunctionInvocation
toInteger
(@NotNull Expression expression) Deprecated.Creates a function invocation fortoInteger({})
.static @NotNull FunctionInvocation
toLower
(@NotNull Expression expression) Deprecated.Creates a function invocation for thetoLower()
function.static @NotNull FunctionInvocation
toString
(@NotNull Expression expression) Deprecated.Creates a function invocation fortoString({})
.static @NotNull FunctionInvocation
toStringOrNull
(@NotNull Expression expression) Deprecated.Creates a function invocation fortoStringOrNull({})
.static @NotNull FunctionInvocation
toUpper
(@NotNull Expression expression) Deprecated.Creates a function invocation for thetoUpper()
function.static @NotNull FunctionInvocation
trim
(@NotNull Expression expression) Deprecated.Creates a function invocation for thetrim()
function.static @NotNull FunctionInvocation
type
(@NotNull Relationship relationship) Deprecated.Creates a function invocation fortype{}
.static @NotNull FunctionInvocation
type
(@NotNull SymbolicName relationship) Deprecated.Creates a function invocation fortype{}
.static @NotNull FunctionInvocation
Deprecated.Creates a function invocation fordate({})
.static FunctionInvocation
withinBBox
(Expression point, Expression lowerLeft, Expression upperRight) Deprecated.Creates a function invocation for thepoint.withinBBox
function.
-
Method Details
-
id
@NotNull @Contract(pure=true) @Deprecated(since="2023.3.0") public static @NotNull FunctionInvocation id(@NotNull @NotNull Node node) Deprecated.seeelementId(Node)
for a replacement. Neo4j the database will remove support forid(n)
at some point.Creates a function invocation forid{}
. See id.- Parameters:
node
- The node for which the internal id should be retrieved- Returns:
- A function call for
id()
on a node.
-
id
@NotNull @Contract(pure=true) @Deprecated(since="2023.3.0") public static @NotNull FunctionInvocation id(@NotNull @NotNull Relationship relationship) Deprecated.seeelementId(Relationship)
for a replacement. Neo4j the database will remove support forid(n)
at some point.Creates a function invocation forid{}
. See id.- Parameters:
relationship
- The relationship for which the internal id should be retrieved- Returns:
- A function call for
id()
on a relationship.
-
elementId
@NotNull @Contract(pure=true) @Neo4jVersion(minimum="5.0.0") public static @NotNull FunctionInvocation elementId(@NotNull @NotNull Node node) Deprecated.Creates a function invocation forelementId{}
.- Parameters:
node
- The node for which the element id should be retrieved- Returns:
- A function call for
elementId()
on a node.
-
elementId
@NotNull @Contract(pure=true) @Neo4jVersion(minimum="5.0.0") public static @NotNull FunctionInvocation elementId(@NotNull @NotNull Relationship relationship) Deprecated.Creates a function invocation forelementId{}
.- Parameters:
relationship
- The relationship for which the element id should be retrieved- Returns:
- A function call for
elementId()
on a relationship.
-
keys
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation keys(@NotNull @NotNull Node node) Deprecated.Creates a function invocation forkeys{}
. See keys.- Parameters:
node
- The node which keys should be returned.- Returns:
- A function call for
keys()
on an expression. - Since:
- 2021.0.2
-
keys
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation keys(@NotNull @NotNull Relationship relationship) Deprecated.Creates a function invocation forkeys{}
. See keys.- Parameters:
relationship
- The relationship which keys should be returned.- Returns:
- A function call for
keys()
on an expression. - Since:
- 2021.0.2
-
keys
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation keys(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forkeys{}
. See keys.- Parameters:
expression
- The expressions which keys should be returned. Must resolve to a node, relationship or map.- Returns:
- A function call for
keys()
on an expression. - Since:
- 2021.0.2
-
labels
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation labels(@NotNull @NotNull Node node) Deprecated.Creates a function invocation forlabels{}
. See labels.- Parameters:
node
- The node for which the labels should be retrieved- Returns:
- A function call for
labels()
on a node.
-
labels
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation labels(@NotNull @NotNull SymbolicName node) Deprecated.Creates a function invocation forlabels{}
. Thesymbolic name
node
must point to a node. This can't be checked during compile time, so please make sure of that.See labels.
- Parameters:
node
- The node for which the labels should be retrieved- Returns:
- A function call for
labels()
on a node. - Since:
- 2023.2.0
-
type
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation type(@NotNull @NotNull Relationship relationship) Deprecated.Creates a function invocation fortype{}
. See type.- Parameters:
relationship
- The relationship for which the type should be retrieved- Returns:
- A function call for
type()
on a relationship.
-
type
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation type(@NotNull @NotNull SymbolicName relationship) Deprecated.Creates a function invocation fortype{}
. Thesymbolic name
relationship
must point to a relationship. This can't be checked during compile time, so please make sure of that.See type.
- Parameters:
relationship
- The relationship for which the type should be retrieved- Returns:
- A function call for
type()
on a relationship. - Since:
- 2023.2.0
-
count
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation count(@NotNull @NotNull Node node) Deprecated.- Parameters:
node
- The named node to be counted- Returns:
- A function call for
count()
for one named node - See Also:
-
count
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation count(Expression expression) Deprecated.Creates a function invocation for thecount()
function. See count.- Parameters:
expression
- An expression describing the things to count.- Returns:
- A function call for
count()
for an expression likeCypher.asterisk()
etc.
-
countDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation countDistinct(@NotNull @NotNull Node node) Deprecated.Creates a function invocation for acount()
function withDISTINCT
added.- Parameters:
node
- The named node to be counted- Returns:
- A function call for
count()
for one named node - See Also:
-
countDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation countDistinct(Expression expression) Deprecated.- Parameters:
expression
- An expression describing the things to count.- Returns:
- A function call for
count()
for an expression likeCypher.asterisk()
etc.
-
properties
Deprecated.Creates a function invocation forproperties())
on nodes.- Parameters:
node
- The node who's properties should be returned.- Returns:
- A function call for
properties())
-
properties
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation properties(Relationship relationship) Deprecated.Creates a function invocation forproperties())
on relationships.- Parameters:
relationship
- The relationship who's properties should be returned.- Returns:
- A function call for
properties())
-
properties
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation properties(MapExpression map) Deprecated.Creates a function invocation forproperties())
on maps.- Parameters:
map
- The map who's properties should be returned.- Returns:
- A function call for
properties())
-
coalesce
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation coalesce(Expression... expressions) Deprecated.Creates a function invocation for thecoalesce()
function. See coalesce.- Parameters:
expressions
- One or more expressions to be coalesced- Returns:
- A function call for
coalesce
.
-
left
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation left(Expression expression, Expression length) Deprecated.Creates a function invocation for theleft()
function. See left.- Parameters:
expression
- An expression resolving to a stringlength
- desired length- Returns:
- A function call for
left()
- Since:
- 2023.0.2
-
ltrim
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation ltrim(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation for theltrim()
function. See ltrim.- Parameters:
expression
- An expression resolving to a string- Returns:
- A function call for
ltrim()
- Since:
- 2023.0.2
-
replace
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation replace(Expression original, Expression search, Expression replace) Deprecated.Creates a function invocation for thereplace()
function. See replace.- Parameters:
original
- An expression that returns a stringsearch
- An expression that specifies the string to be replaced inoriginal
.replace
- An expression that specifies the replacement string.- Returns:
- A function call for
replace()
- Since:
- 2023.0.2
-
reverse
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation reverse(@NotNull @NotNull Expression original) Deprecated.Creates a function invocation for thereverse()
function. See reverse.- Parameters:
original
- An expression that returns a string- Returns:
- A function call for
reverse()
- Since:
- 2023.0.2
-
right
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation right(Expression expression, Expression length) Deprecated.Creates a function invocation for theright()
function. See right.- Parameters:
expression
- An expression resolving to a stringlength
- desired length- Returns:
- A function call for
right()
- Since:
- 2023.0.2
-
rtrim
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation rtrim(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation for thertrim()
function. See rtrim.- Parameters:
expression
- An expression resolving to a string- Returns:
- A function call for
rtrim()
- Since:
- 2023.0.2
-
substring
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation substring(Expression original, Expression start, Expression length) Deprecated.Creates a function invocation for thesubstring()
function. See rtrim.- Parameters:
original
- An expression resolving to a stringstart
- An expression that returns a positive integer, denoting the position at which the substring will begin.length
- An expression that returns a positive integer, denoting how many characters of original will be returned.- Returns:
- A function call for
substring()
- Since:
- 2023.0.2
-
toLower
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toLower(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation for thetoLower()
function. See toLower.- Parameters:
expression
- An expression resolving to a string- Returns:
- A function call for
toLower()
for one expression
-
toUpper
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toUpper(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation for thetoUpper()
function. See toUpper.- Parameters:
expression
- An expression resolving to a string- Returns:
- A function call for
toLower()
for one expression - Since:
- 2023.0.2
-
trim
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation trim(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation for thetrim()
function. See trim.- Parameters:
expression
- An expression resolving to a string- Returns:
- A function call for
trim()
for one expression - Since:
- 2021.2.1
-
split
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation split(@NotNull @NotNull Expression expression, @NotNull @NotNull Expression delimiter) Deprecated.Creates a function invocation for thesplit()
function. See split.- Parameters:
expression
- An expression resolving to a string that should be splitdelimiter
- The delimiter on which to split- Returns:
- A function call for
split()
- Since:
- 2021.2.1
-
split
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation split(@NotNull @NotNull Expression expression, @NotNull @NotNull String delimiter) Deprecated.Creates a function invocation for thesplit()
function. See split.- Parameters:
expression
- An expression resolving to a string that should be splitdelimiter
- The delimiter on which to split- Returns:
- A function call for
split()
- Since:
- 2021.2.1
-
size
Deprecated.- Parameters:
expression
- The expression who's size is to be returned- Returns:
- A function call for
size()
for one expression
-
size
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation size(RelationshipPattern pattern) Deprecated.Creates a function invocation for thesize()
function.size
can be applied to- Parameters:
pattern
- The pattern for whichsize()
should be invoked.- Returns:
- A function call for
size()
for a pattern
-
exists
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation exists(Expression expression) Deprecated.Creates a function invocation for theexists()
function. See exists.- Parameters:
expression
- The expression who's existence is to be evaluated- Returns:
- A function call for
exists()
for one expression
-
distance
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation distance(@NotNull @NotNull Expression point1, @NotNull @NotNull Expression point2) Deprecated.Creates a function invocation for thedistance()
function. See exists. Both points need to be in the same coordinate system.- Parameters:
point1
- Point 1point2
- Point 2- Returns:
- A function call for
distance()
-
point
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation point(MapExpression parameterMap) Deprecated.Creates a function invocation for thepoint()
function. See point.- Parameters:
parameterMap
- The map of parameters forpoint()
- Returns:
- A function call for
point()
-
point
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation point(Expression expression) Deprecated.Creates a function invocation for thepoint()
function. See point.This generic expression variant is useful for referencing a point inside a parameter or another map.
- Parameters:
expression
- An expression resolving to a valid map of parameters forpoint()
- Returns:
- A function call for
point()
- Since:
- 2021.0.0
-
point
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation point(Parameter<?> parameter) Deprecated.Creates a function invocation for thepoint()
function. See point.- Parameters:
parameter
- A parameter referencing apoint()
- Returns:
- A function call for
point()
- Since:
- 2022.7.3
-
cartesian
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation cartesian(double x, double y) Deprecated.Convenience method for creating a 2d cartesian point- Parameters:
x
- The x coordinatey
- The y coordinate- Returns:
- A function call for
point()
- Since:
- 2022.7.3
-
coordinate
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation coordinate(double longitude, double latitude) Deprecated.Convenience method for creating a 2d coordinate in the WGS 84 coordinate system- Parameters:
longitude
- The longitudelatitude
- The latitude- Returns:
- A function call for
point()
- Since:
- 2022.7.3
-
withinBBox
public static FunctionInvocation withinBBox(Expression point, Expression lowerLeft, Expression upperRight) Deprecated.Creates a function invocation for thepoint.withinBBox
function. See point.withinBBox.- Parameters:
point
- The point to checklowerLeft
- The lower left point of the bounding box (south-west coordinate)upperRight
- The upper right point of the bounding box (north-east coordinate)- Returns:
- A function call for
point.withinBBox
- Since:
- 2022.7.3
-
avg
Deprecated.Creates a function invocation for theavg()
function. See avg.- Parameters:
expression
- The things to average- Returns:
- A function call for
avg()
-
avgDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation avgDistinct(Expression expression) Deprecated.- Parameters:
expression
- The things to average- Returns:
- A function call for
avg()
-
collect
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation collect(@NotNull @NotNull Named variable) Deprecated.Creates a function invocation for thecollect()
function.- Parameters:
variable
- The named thing to collect- Returns:
- A function call for
collect()
- See Also:
-
collectDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation collectDistinct(@NotNull @NotNull Named variable) Deprecated.Creates a function invocation for thecollect()
function withDISTINCT
added.- Parameters:
variable
- The named thing to collect- Returns:
- A function call for
collect()
- See Also:
-
collect
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation collect(Expression expression) Deprecated.Creates a function invocation for thecollect()
function. See collect.- Parameters:
expression
- The things to collect- Returns:
- A function call for
collect()
-
collectDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation collectDistinct(Expression expression) Deprecated.- Parameters:
expression
- The things to collect- Returns:
- A function call for
collect()
-
max
Deprecated.Creates a function invocation for themax()
function. See max.- Parameters:
expression
- A list from which the maximum element value is returned- Returns:
- A function call for
max()
-
maxDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation maxDistinct(Expression expression) Deprecated.- Parameters:
expression
- A list from which the maximum element value is returned- Returns:
- A function call for
max()
-
min
Deprecated.Creates a function invocation for themin()
function. See min.- Parameters:
expression
- A list from which the minimum element value is returned- Returns:
- A function call for
min()
-
minDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation minDistinct(Expression expression) Deprecated.- Parameters:
expression
- A list from which the minimum element value is returned- Returns:
- A function call for
min()
-
percentileCont
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation percentileCont(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileCont()
function. See percentileCont.- Parameters:
expression
- A numeric expressionpercentile
- A numeric value between 0.0 and 1.0- Returns:
- A function call for
percentileCont()
-
percentileContDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation percentileContDistinct(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileCont()
function withDISTINCT
added. See percentileCont.- Parameters:
expression
- A numeric expressionpercentile
- A numeric value between 0.0 and 1.0- Returns:
- A function call for
percentileCont()
-
percentileDisc
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation percentileDisc(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileDisc()
function. See percentileDisc.- Parameters:
expression
- A numeric expressionpercentile
- A numeric value between 0.0 and 1.0- Returns:
- A function call for
percentileDisc()
-
percentileDiscDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation percentileDiscDistinct(Expression expression, Number percentile) Deprecated.Creates a function invocation for thepercentileDisc()
function withDISTINCT
added. See percentileDisc.- Parameters:
expression
- A numeric expressionpercentile
- A numeric value between 0.0 and 1.0- Returns:
- A function call for
percentileDisc()
-
stDev
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation stDev(Expression expression) Deprecated.Creates a function invocation for thestDev()
function. See stDev.- Parameters:
expression
- A numeric expression- Returns:
- A function call for
stDev()
-
stDevDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation stDevDistinct(Expression expression) Deprecated.- Parameters:
expression
- A numeric expression- Returns:
- A function call for
stDev()
-
stDevP
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation stDevP(Expression expression) Deprecated.Creates a function invocation for thestDevP()
function. See stDevP.- Parameters:
expression
- A numeric expression- Returns:
- A function call for
stDevP()
-
stDevPDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation stDevPDistinct(Expression expression) Deprecated.- Parameters:
expression
- A numeric expression- Returns:
- A function call for
stDevP()
-
sum
Deprecated.Creates a function invocation for thesum()
function. See sum.- Parameters:
expression
- An expression returning a set of numeric values- Returns:
- A function call for
sum()
-
sumDistinct
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation sumDistinct(Expression expression) Deprecated.- Parameters:
expression
- An expression returning a set of numeric values- Returns:
- A function call for
sum()
-
range
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation range(Integer start, Integer end) Deprecated.- Parameters:
start
- the range's startend
- the range's end- Returns:
- A function call for
range()
- See Also:
-
range
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation range(@NotNull @NotNull Expression start, @NotNull @NotNull Expression end) Deprecated.- Parameters:
start
- the range's startend
- the range's end- Returns:
- A function call for
range()
- See Also:
-
range
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation range(@NotNull @NotNull Integer start, @NotNull @NotNull Integer end, Integer step) Deprecated.Creates a function invocation for therange()
function. See range.- Parameters:
start
- the range's startend
- the range's endstep
- the range's step- Returns:
- A function call for
range()
- See Also:
-
range
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation range(@NotNull @NotNull Expression start, @NotNull @NotNull Expression end, Expression step) Deprecated.Creates a function invocation for therange()
function. See range.- Parameters:
start
- the range's startend
- the range's endstep
- the range's step- Returns:
- A function call for
range()
-
head
Deprecated.Creates a function invocation for thehead()
function. See head.- Parameters:
expression
- A list from which the head element is returned- Returns:
- A function call for
head()
-
last
Deprecated.Creates a function invocation for thelast()
function. See last.- Parameters:
expression
- A list from which the last element is returned- Returns:
- A function call for
last()
-
nodes
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation nodes(@NotNull @NotNull NamedPath path) Deprecated.Creates a function invocation fornodes{}
. See nodes.- Parameters:
path
- The path for which the number of nodes should be retrieved- Returns:
- A function call for
nodes()
on a path. - Since:
- 1.1
-
nodes
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation nodes(@NotNull @NotNull SymbolicName symbolicName) Deprecated.Creates a function invocation fornodes{}
. See nodes.- Parameters:
symbolicName
- The symbolic name of a path for which the number of nodes should be retrieved- Returns:
- A function call for
nodes{}
on a path represented by a symbolic name. - Since:
- 2020.1.5
-
relationships
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation relationships(@NotNull @NotNull NamedPath path) Deprecated.Creates a function invocation forrelationships{}
. See relationships.- Parameters:
path
- The path for which the relationships should be retrieved- Returns:
- A function call for
relationships()
on a path. - Since:
- 2020.0.2
-
relationships
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation relationships(@NotNull @NotNull SymbolicName symbolicName) Deprecated.Creates a function invocation forrelationships{}
. See relationships.- Parameters:
symbolicName
- The symbolic name of a path for which the relationships should be retrieved- Returns:
- A function call for
relationships()
on a path represented by a symbolic name. - Since:
- 2020.1.5
-
startNode
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation startNode(@NotNull @NotNull Relationship relationship) Deprecated.Creates a function invocation forstartNode{}
. See startNode.- Parameters:
relationship
- The relationship for which the start node be retrieved- Returns:
- A function call for
startNode()
on a path. - Since:
- 2020.0.2
-
endNode
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation endNode(@NotNull @NotNull Relationship relationship) Deprecated.Creates a function invocation forendNode{}
. See endNode.- Parameters:
relationship
- The relationship for which the end node be retrieved- Returns:
- A function call for
endNode()
on a path. - Since:
- 2020.0.2
-
date
Deprecated.Creates a function invocation fordate()
. See date. This is the most simple form.- Returns:
- A function call for
date()
. - Since:
- 2020.1.0
-
calendarDate
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation calendarDate(Integer year, Integer month, Integer day) Deprecated.Creates a function invocation fordate({})
. See date.- Parameters:
year
- The yearmonth
- The monthday
- The day- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
weekDate
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation weekDate(Integer year, Integer week, Integer dayOfWeek) Deprecated.Creates a function invocation fordate({})
. See date.- Parameters:
year
- The yearweek
- The optional weekdayOfWeek
- The optional day of the week- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
quarterDate
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation quarterDate(Integer year, Integer quarter, Integer dayOfQuarter) Deprecated.Creates a function invocation fordate({})
. See date.- Parameters:
year
- The yearquarter
- The optional weekdayOfQuarter
- The optional day of the week- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
ordinalDate
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation ordinalDate(Integer year, Integer ordinalDay) Deprecated.Creates a function invocation fordate({})
. See date.- Parameters:
year
- The yearordinalDay
- The ordinal day of the year.- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
date
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation date(@NotNull @NotNull MapExpression components) Deprecated.Creates a function invocation fordate({})
. See date. This is the most generic form.- Parameters:
components
- The map to pass todate({})
- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
date
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation date(@NotNull @NotNull String temporalValue) Deprecated.Creates a function invocation fordate({})
. See date. This creates a date from a string.- Parameters:
temporalValue
- A string representing a temporal value.- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
date
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation date(@NotNull @NotNull Expression temporalValue) Deprecated.Creates a function invocation fordate({})
. See date. This creates a date from a string.- Parameters:
temporalValue
- An expression representing a temporal value.- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
datetime
Deprecated.Creates a function invocation fordatetime({})
. See datetime.- Returns:
- A function call for
datetime({})
. - Since:
- 2020.1.0
-
datetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation datetime(@NotNull @NotNull TimeZone timeZone) Deprecated.Creates a function invocation fordatetime({})
. See datetime.- Parameters:
timeZone
- The timezone to use when creating the temporal instance- Returns:
- A function call for
datetime({})
. - Since:
- 2020.1.0
-
datetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation datetime(@NotNull @NotNull MapExpression components) Deprecated.Creates a function invocation fordatetime({})
. See datetime. This is the most generic form.- Parameters:
components
- The map to pass todatetime({})
- Returns:
- A function call for
datetime({})
. - Since:
- 2020.1.0
-
datetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation datetime(@NotNull @NotNull String temporalValue) Deprecated.Creates a function invocation fordatetime({})
. See datetime. This creates a datetime from a string.- Parameters:
temporalValue
- A string representing a temporal value.- Returns:
- A function call for
datetime({})
. - Since:
- 2020.1.0
-
datetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation datetime(@NotNull @NotNull Expression temporalValue) Deprecated.Creates a function invocation fordatetime({})
. See datetime. This creates a datetime from a string.- Parameters:
temporalValue
- An expression representing a temporal value.- Returns:
- A function call for
date({})
. - Since:
- 2020.1.0
-
localdatetime
Deprecated.Creates a function invocation forlocaldatetime({})
. See localdatetime.- Returns:
- A function call for
localdatetime({})
. - Since:
- 2020.1.0
-
localdatetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localdatetime(@NotNull @NotNull TimeZone timeZone) Deprecated.Creates a function invocation forlocaldatetime({})
. See localdatetime.- Parameters:
timeZone
- The timezone to use when creating the temporal instance- Returns:
- A function call for
localdatetime({})
. - Since:
- 2020.1.0
-
localdatetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localdatetime(@NotNull @NotNull MapExpression components) Deprecated.Creates a function invocation forlocaldatetime({})
. See localdatetime. This is the most generic form.- Parameters:
components
- The map to pass tolocaldatetime({})
- Returns:
- A function call for
localdatetime({})
. - Since:
- 2020.1.0
-
localdatetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localdatetime(@NotNull @NotNull String temporalValue) Deprecated.Creates a function invocation forlocaldatetime({})
. See localdatetime. This creates a localdatetime from a string.- Parameters:
temporalValue
- A string representing a temporal value.- Returns:
- A function call for
localdatetime({})
. - Since:
- 2020.1.0
-
localdatetime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localdatetime(@NotNull @NotNull Expression temporalValue) Deprecated.Creates a function invocation forlocaldatetime({})
. See localdatetime. This creates a localdatetime from a string.- Parameters:
temporalValue
- An expression representing a temporal value.- Returns:
- A function call for
localdatetime({})
. - Since:
- 2020.1.0
-
localtime
Deprecated.Creates a function invocation forlocaltime({})
. See localtime.- Returns:
- A function call for
localtime({})
. - Since:
- 2020.1.0
-
localtime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localtime(@NotNull @NotNull TimeZone timeZone) Deprecated.Creates a function invocation forlocaltime({})
. See localtime.- Parameters:
timeZone
- The timezone to use when creating the temporal instance- Returns:
- A function call for
localtime({})
. - Since:
- 2020.1.0
-
localtime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localtime(@NotNull @NotNull MapExpression components) Deprecated.Creates a function invocation forlocaltime({})
. See localtime. This is the most generic form.- Parameters:
components
- The map to pass tolocaltime({})
- Returns:
- A function call for
localtime({})
. - Since:
- 2020.1.0
-
localtime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localtime(@NotNull @NotNull String temporalValue) Deprecated.Creates a function invocation forlocaltime({})
. See localtime. This creates a localtime from a string.- Parameters:
temporalValue
- A string representing a temporal value.- Returns:
- A function call for
localtime({})
. - Since:
- 2020.1.0
-
localtime
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation localtime(@NotNull @NotNull Expression temporalValue) Deprecated.Creates a function invocation forlocaltime({})
. See localtime. This creates a localtime from a string.- Parameters:
temporalValue
- An expression representing a temporal value.- Returns:
- A function call for
localtime({})
. - Since:
- 2020.1.0
-
time
Deprecated.Creates a function invocation fortime({})
. See time.- Returns:
- A function call for
time({})
. - Since:
- 2020.1.0
-
time
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation time(@NotNull @NotNull TimeZone timeZone) Deprecated.Creates a function invocation fortime({})
. See time.- Parameters:
timeZone
- The timezone to use when creating the temporal instance- Returns:
- A function call for
time({})
. - Since:
- 2020.1.0
-
time
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation time(@NotNull @NotNull MapExpression components) Deprecated.Creates a function invocation fortime({})
. See time. This is the most generic form.- Parameters:
components
- The map to pass totime({})
- Returns:
- A function call for
time({})
. - Since:
- 2020.1.0
-
time
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation time(@NotNull @NotNull String temporalValue) Deprecated.Creates a function invocation fortime({})
. See time. This creates a time from a string.- Parameters:
temporalValue
- A string representing a temporal value.- Returns:
- A function call for
time({})
. - Since:
- 2020.1.0
-
time
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation time(@NotNull @NotNull Expression temporalValue) Deprecated.Creates a function invocation fortime({})
. See time. This creates a time from a string.- Parameters:
temporalValue
- An expression representing a temporal value.- Returns:
- A function call for
time({})
. - Since:
- 2020.1.0
-
duration
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation duration(@NotNull @NotNull MapExpression components) Deprecated.Creates a function invocation forduration({})
. See duration. This is the most generic form.- Parameters:
components
- The map to pass toduration({})
- Returns:
- A function call for
duration({})
. - Since:
- 2020.1.0
-
duration
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation duration(@NotNull @NotNull String temporalAmount) Deprecated.Creates a function invocation forduration({})
. See duration. This creates a duration from a string.- Parameters:
temporalAmount
- A string representing a temporal amount.- Returns:
- A function call for
duration({})
. - Since:
- 2020.1.0
-
duration
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation duration(@NotNull @NotNull Expression temporalAmount) Deprecated.Creates a function invocation forduration({})
. See duration. This creates a duration from a string.- Parameters:
temporalAmount
- An expression representing a temporal amount.- Returns:
- A function call for
duration({})
. - Since:
- 2020.1.0
-
shortestPath
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation shortestPath(Relationship relationship) Deprecated.Creates a function invocation forshortestPath({})
.- Parameters:
relationship
- The relationship to be passed toshortestPath
.- Returns:
- A function call for
shortestPath({})
. - Since:
- 2020.0.0
-
reduce
@NotNull @Contract(pure=true) public static Reduction.OngoingDefinitionWithVariable reduce(@NotNull @NotNull SymbolicName variable) Deprecated.Starts building a function invocation forreduce({})
.- Parameters:
variable
- The closure will have a variable introduced in its context. We decide here which variable to use.- Returns:
- An ongoing definition for a function call to
reduce({})
. - Since:
- 2020.1.5
-
abs
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation abs(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forabs({})
. See abs.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
abs({})
. - Since:
- 2021.0.0
-
ceil
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation ceil(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forceil({})
. See ceil.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
ceil({})
. - Since:
- 2021.0.0
-
floor
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation floor(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forfloor({})
. See floor.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
floor({})
. - Since:
- 2021.0.0
-
rand
Deprecated.Creates a function invocation forrand({})
. See rand.- Returns:
- A function call for
rand({})
. - Since:
- 2021.0.0
-
round
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation round(Expression value, Expression... expression) Deprecated.Creates a function invocation forround({})
. See round.- Parameters:
value
- The value to roundexpression
- Additional parameters, length must be 0, 1 or 2: First entry is the precision, second is the rounding mode- Returns:
- A function call for
round({})
. - Since:
- 2021.0.0
-
sign
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation sign(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forsign({})
. See sign.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
sign({})
. - Since:
- 2021.0.0
-
e
Deprecated.Creates a function invocation fore({})
. See e.- Returns:
- A function call for
e({})
. - Since:
- 2021.0.0
-
exp
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation exp(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forexp({})
. See exp.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
exp({})
. - Since:
- 2021.0.0
-
log
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation log(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forlog({})
. See log.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
log({})
. - Since:
- 2021.0.0
-
log10
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation log10(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forlog10({})
. See log10.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
log10({})
. - Since:
- 2021.0.0
-
sqrt
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation sqrt(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forsqrt({})
. See sqrt.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
sqrt({})
. - Since:
- 2021.0.0
-
acos
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation acos(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation foracos({})
. See acos.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
acos({})
. - Since:
- 2021.0.0
-
asin
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation asin(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forasin({})
. See asin.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
asin({})
. - Since:
- 2021.0.0
-
atan
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation atan(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation foratan({})
. See atan.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
atan({})
. - Since:
- 2021.0.0
-
atan2
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation atan2(@NotNull @NotNull Expression y, @NotNull @NotNull Expression x) Deprecated.Creates a function invocation foratan2({})
. See atan2.- Parameters:
y
- the y value of a pointx
- the x value of a point- Returns:
- A function call for
atan2({})
. - Since:
- 2021.0.0
-
cos
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation cos(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forcos({})
. See cos.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
cos({})
. - Since:
- 2021.0.0
-
cot
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation cot(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forcot({})
. See cot.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
cot({})
. - Since:
- 2021.0.0
-
degrees
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation degrees(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fordegrees({})
. See degrees.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
degrees({})
. - Since:
- 2021.0.0
-
haversin
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation haversin(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forhaversin({})
. See haversin.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
haversin({})
. - Since:
- 2021.0.0
-
pi
Deprecated.Creates a function invocation forpi({})
. See pi.- Returns:
- A function call for
pi({})
. - Since:
- 2021.0.0
-
radians
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation radians(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forradians({})
. See radians.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
radians({})
. - Since:
- 2021.0.0
-
sin
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation sin(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation forsin({})
. See sin.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
sin({})
. - Since:
- 2021.0.0
-
tan
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation tan(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fortan({})
. See tan.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
tan({})
. - Since:
- 2021.0.0
-
toInteger
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toInteger(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fortoInteger({})
. See toInteger.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
toInteger({})
. - Since:
- 2021.2.1
-
toString
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toString(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fortoString({})
. See toString.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
toString({})
. - Since:
- 2022.3.0
-
toStringOrNull
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toStringOrNull(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fortoStringOrNull({})
. See toStringOrNull.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
toStringOrNull({})
. - Since:
- 2023.0.2
-
toFloat
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toFloat(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fortoFloat({})
. See toFloat.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
toFloat({})
. - Since:
- 2021.2.1
-
toBoolean
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation toBoolean(@NotNull @NotNull Expression expression) Deprecated.Creates a function invocation fortoBoolean({})
. See toBoolean.- Parameters:
expression
- The value to pass to the function.- Returns:
- A function call for
toBoolean({})
. - Since:
- 2021.2.1
-
linenumber
Deprecated.Creates a function invocation forlinenumber({})
. Only applicable inside anLOAD CSV
clause.- Returns:
- A function call for
linenumber({})
. - Since:
- 2021.2.1
-
file
Deprecated.Creates a function invocation forfile({})
. Only applicable inside anLOAD CSV
clause.- Returns:
- A function call for
file({})
. - Since:
- 2021.2.1
-
randomUUID
Deprecated.Creates a function invocation forrandomUUID({})
. Only applicable inside anLOAD CSV
clause.- Returns:
- A function call for
randomUUID({})
. - Since:
- 2022.2.1
-
length
@NotNull @Contract(pure=true) public static @NotNull FunctionInvocation length(@NotNull @NotNull NamedPath path) Deprecated.Creates a function invocation forlength()
. See length.- Parameters:
path
- The path for which the length should be retrieved- Returns:
- A function call for
length()
on a path. - Since:
- 2023.0.1
-
graphNames
@NotNull @Contract(pure=true) @Neo4jVersion(minimum="5.0.0") public static @NotNull FunctionInvocation graphNames()Deprecated.Creates a function invocation forgraph.names()
. See graph.names.- Returns:
- A function call for
graph.names()
. - Since:
- 2023.4.0
-
graphPropertiesByName
@NotNull @Contract(pure=true) @Neo4jVersion(minimum="5.0.0") public static @NotNull FunctionInvocation graphPropertiesByName(Expression name) Deprecated.Creates a function invocation forgraph.propertiesByName()
. See graph.propertiesByName.- Parameters:
name
- The name of the graph- Returns:
- A function call for
graph.propertiesByName()
. - Since:
- 2023.4.0
-
graphByName
@NotNull @Contract(pure=true) @Neo4jVersion(minimum="5.0.0") public static @NotNull FunctionInvocation graphByName(Expression name) Deprecated.Creates a function invocation forgraph.byName()
. See graph.byName.- Parameters:
name
- The name of the graph- Returns:
- A function call for
graph.byName()
. - Since:
- 2023.4.0
-
Cypher
instead. This class will become package private in the next major release and no longer be accessible.