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 |
---|---|
XsNumericExpr |
FnExpr.abs(ServerExpression arg)
Returns the absolute value of arg.
|
abstract XsNumericExpr |
PlanBuilder.add(ServerExpression... left)
This function returns the sum of the specified numeric expressions.
|
XsNumericExpr |
FnExpr.ceiling(ServerExpression arg)
Returns the smallest (closest to negative infinity) number with no fractional part that is not less than the value of arg.
|
abstract XsNumericExpr |
PlanBuilder.divide(ServerExpression left,
ServerExpression right)
This function divides the left numericExpression by the right numericExpression and returns the value.
|
XsNumericExpr |
FnExpr.floor(ServerExpression arg)
Returns the largest (closest to positive infinity) number with no fractional part that is not greater than the value of arg.
|
abstract XsNumericExpr |
PlanBuilder.modulo(double left,
double right)
This function returns the remainder afer the division of the dividend and divisor expressions.
|
abstract XsNumericExpr |
PlanBuilder.modulo(ServerExpression left,
ServerExpression right)
This function returns the remainder afer the division of the dividend and divisor expressions.
|
abstract XsNumericExpr |
PlanBuilder.multiply(ServerExpression... left)
This function multipies the left numericExpression by the right numericExpression and returns the value.
|
XsNumericExpr |
XsExpr.numeric(ServerExpression arg1)
Constructs or casts an expression to the xs:numeric server data type.
|
XsNumericExpr |
FnExpr.round(ServerExpression arg)
Returns the number with no fractional part that is closest to the argument.
|
XsNumericExpr |
FnExpr.roundHalfToEven(ServerExpression arg)
The value returned is the nearest (that is, numerically closest) numeric to arg that is a multiple of ten to the power of minus precision.
|
XsNumericExpr |
FnExpr.roundHalfToEven(ServerExpression arg,
long precision)
The value returned is the nearest (that is, numerically closest) numeric to arg that is a multiple of ten to the power of minus precision.
|
XsNumericExpr |
FnExpr.roundHalfToEven(ServerExpression arg,
ServerExpression precision)
The value returned is the nearest (that is, numerically closest) numeric to arg that is a multiple of ten to the power of minus precision.
|
abstract XsNumericExpr |
PlanBuilder.subtract(ServerExpression left,
ServerExpression right)
This function subtracts the right numericExpression from the left numericExpression and returns the value.
|
XsNumericExpr |
MathExpr.trunc(ServerExpression arg)
Returns the number truncated to a certain number of decimal places.
|
XsNumericExpr |
MathExpr.trunc(ServerExpression arg,
long n)
Returns the number truncated to a certain number of decimal places.
|
XsNumericExpr |
MathExpr.trunc(ServerExpression arg,
ServerExpression n)
Returns the number truncated to a certain number of decimal places.
|
Modifier and Type | Method and Description |
---|---|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericExpr... value)
Deprecated.
(as of 4.2) pass a
ServerExpression for the last parameter |
XsNumericSeqExpr |
XsExpr.numericSeq(XsNumericExpr... 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 |
XsByteExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsByteVal
An instance of a server byte value.
|
interface |
XsDecimalExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsDecimalVal
An instance of a server decimal value.
|
interface |
XsDoubleExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsDoubleVal
An instance of a server double value.
|
interface |
XsFloatExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsFloatVal
An instance of a server float value.
|
interface |
XsIntegerExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsIntegerVal
An instance of a server integer value.
|
interface |
XsIntExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsIntVal
An instance of a server int value.
|
interface |
XsLongExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsLongVal
An instance of a server long value.
|
interface |
XsNegativeIntegerExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsNonNegativeIntegerExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsNonNegativeIntegerVal
An instance of a server non-negative integer value.
|
interface |
XsNonPositiveIntegerExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsNumericVal
An instance of a server numeric value.
|
interface |
XsPositiveIntegerExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsShortExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsShortVal
An instance of a server short value.
|
interface |
XsUnsignedByteExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsUnsignedByteVal
An instance of a server unsigned byte value.
|
interface |
XsUnsignedIntExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsUnsignedIntVal
An instance of a server unsigned int value.
|
interface |
XsUnsignedLongExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsUnsignedLongVal
An instance of a server unsigned long value.
|
interface |
XsUnsignedShortExpr
Deprecated.
(as of 4.2) Use
ServerExpression |
interface |
XsUnsignedShortVal
An instance of a server unsigned short value.
|
Copyright © 2013-2018 MarkLogic Corporation.