Package | Description |
---|---|
com.marklogic.client.expression |
The package provides classes for building Optic plan pipelines and expressions
for execution on the REST server.
|
com.marklogic.client.type |
The package provides interfaces specifying the type of an expression or
value as passed to a
PlanBuilder method
or returned from a RowRecord method. |
Modifier and Type | Method and Description |
---|---|
XsDoubleExpr |
MathExpr.acos(ServerExpression x)
Returns the arc cosine of x, in radians, in the range from 0 to pi (inclusive).
|
XsDoubleExpr |
MathExpr.asin(ServerExpression x)
Returns the arc sine of x, in radians, in the range from -pi/2 to +pi/2 (inclusive).
|
XsDoubleExpr |
MathExpr.atan(ServerExpression x)
Returns the arc tangent of x, in radians.
|
XsDoubleExpr |
MathExpr.atan2(ServerExpression y,
double x)
Returns the arc tangent of y/x, in radians, in the range from -pi/2 to +pi/2 (inclusive), using the signs of y and x to determine the apropriate quadrant.
|
XsDoubleExpr |
MathExpr.atan2(ServerExpression y,
ServerExpression x)
Returns the arc tangent of y/x, in radians, in the range from -pi/2 to +pi/2 (inclusive), using the signs of y and x to determine the apropriate quadrant.
|
XsDoubleExpr |
MathExpr.ceil(ServerExpression x)
Returns the smallest integer greater than or equal to x.
|
XsDoubleExpr |
MathExpr.correlation(ServerExpression arg)
Returns the Pearson correlation coefficient of a data set.
|
XsDoubleExpr |
MathExpr.cos(ServerExpression x)
Returns the cosine of x, in the range from -1 to +1 (inclusive).
|
XsDoubleExpr |
MathExpr.cosh(ServerExpression x)
Returns the hyperbolic cosine of x.
|
XsDoubleExpr |
MathExpr.cot(ServerExpression x)
Returns the cotangent of x.
|
XsDoubleExpr |
MathExpr.covariance(ServerExpression arg)
Returns the sample covariance of a data set.
|
XsDoubleExpr |
MathExpr.covarianceP(ServerExpression arg)
Returns the population covariance of a data set.
|
XsDoubleExpr |
MathExpr.degrees(ServerExpression x)
Returns numeric expression converted from radians to degrees.
|
XsDoubleExpr |
XsExpr.doubleExpr(ServerExpression arg1)
Constructs or casts an expression to the xs:double server data type.
|
XsDoubleExpr |
MathExpr.exp(ServerExpression x)
Returns e (approximately 2.71828182845905) to the xth power.
|
XsDoubleExpr |
MathExpr.fabs(ServerExpression x)
Returns the absolute value of x.
|
XsDoubleExpr |
MathExpr.floor(ServerExpression x)
Returns the largest integer less than or equal to x.
|
XsDoubleExpr |
MathExpr.fmod(ServerExpression x,
double y)
Returns the remainder of x/y.
|
XsDoubleExpr |
MathExpr.fmod(ServerExpression x,
ServerExpression y)
Returns the remainder of x/y.
|
XsDoubleExpr |
MathExpr.ldexp(ServerExpression y,
long i)
Returns x*2^i.
|
XsDoubleExpr |
MathExpr.ldexp(ServerExpression y,
ServerExpression i)
Returns x*2^i.
|
XsDoubleExpr |
MathExpr.linearModelIntercept(ServerExpression linearModel)
Returns the intercept of the linear model.
|
XsDoubleExpr |
MathExpr.linearModelRsquared(ServerExpression linearModel)
Returns the R^2 value of the linear model.
|
XsDoubleExpr |
MathExpr.log(ServerExpression x)
Returns the base-e logarithm of x.
|
XsDoubleExpr |
MathExpr.log10(ServerExpression x)
Returns the base-10 logarithm of x.
|
XsDoubleExpr |
MathExpr.median(ServerExpression arg)
Returns the median of a sequence of values.
|
XsDoubleExpr |
FnExpr.number(ServerExpression arg)
Returns the value indicated by arg or, if arg is not specified, the context item after atomization, converted to an xs:double.
|
XsDoubleExpr |
MathExpr.percentRank(ServerExpression arg,
ServerExpression value)
Returns the rank of a value in a data set as a percentage of the data set.
|
XsDoubleExpr |
MathExpr.percentRank(ServerExpression arg,
ServerExpression value,
ServerExpression options)
Returns the rank of a value in a data set as a percentage of the data set.
|
XsDoubleExpr |
MathExpr.percentRank(ServerExpression arg,
java.lang.String value)
Returns the rank of a value in a data set as a percentage of the data set.
|
XsDoubleExpr |
MathExpr.percentRank(ServerExpression arg,
java.lang.String value,
java.lang.String options)
Returns the rank of a value in a data set as a percentage of the data set.
|
XsDoubleExpr |
MathExpr.pi()
Returns the value of pi.
|
XsDoubleExpr |
MathExpr.pow(ServerExpression x,
double y)
Returns x^y.
|
XsDoubleExpr |
MathExpr.pow(ServerExpression x,
ServerExpression y)
Returns x^y.
|
XsDoubleExpr |
MathExpr.radians(ServerExpression x)
Returns numeric expression converted from degrees to radians.
|
XsDoubleExpr |
SemExpr.random()
Returns a random double between 0 and 1.
|
XsDoubleExpr |
MathExpr.sin(ServerExpression x)
Returns the sine of x, in the range from -1 to +1 (inclusive).
|
XsDoubleExpr |
MathExpr.sinh(ServerExpression x)
Returns the hyperbolic sine of x.
|
XsDoubleExpr |
MathExpr.sqrt(ServerExpression x)
Returns the square root of x.
|
XsDoubleExpr |
MathExpr.stddev(ServerExpression arg)
Returns the sample standard deviation of a sequence of values.
|
XsDoubleExpr |
MathExpr.stddevP(ServerExpression arg)
Returns the standard deviation of a population.
|
XsDoubleExpr |
MathExpr.tan(ServerExpression x)
Returns the tangent of x.
|
XsDoubleExpr |
MathExpr.tanh(ServerExpression x)
Returns the hyperbolic tangent of x, in the range from -1 to +1 (inclusive).
|
XsDoubleExpr |
MathExpr.variance(ServerExpression arg)
Returns the sample variance of a sequence of values.
|
XsDoubleExpr |
MathExpr.varianceP(ServerExpression arg)
Returns the population variance of a sequence of values.
|
Modifier and Type | Method and Description |
---|---|
XsDoubleSeqExpr |
XsExpr.doubleExprSeq(XsDoubleExpr... items)
Deprecated.
(as of 4.2) construct a
ServerExpression sequence with PlanBuilder.seq() |
Modifier and Type | Interface and Description |
---|---|
interface |
PlanColumn
An instance of a column expression returned by a col() call
in a row pipeline.
|
interface |
PlanParamExpr
An instance of a placeholder parameter returned by a call
to the param() function that can represent a literal value
in expressions and can be passed on a bind() call to be
assigned a literal value when invoking a row pipeline.
|
interface |
PlanSystemColumn
An instance of a fragment id, graph id, or other system column
for a row pipeline.
|
interface |
XsDoubleVal
An instance of a server double value.
|
Copyright © 2013-2018 MarkLogic Corporation.