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 |
---|---|
abstract XsBooleanExpr |
PlanBuilder.and(ServerExpression... left)
This function returns true if the specified expressions all return true.
|
XsBooleanExpr |
FnExpr.booleanExpr(ServerExpression arg)
Computes the effective boolean value of the sequence arg.
|
XsBooleanExpr |
XsExpr.booleanExpr(ServerExpression arg1)
Constructs or casts an expression to the xs:boolean server data type.
|
XsBooleanExpr |
XdmpExpr.castableAs(ServerExpression namespaceUri,
ServerExpression localName,
ServerExpression item)
Returns true if a value is castable.
|
XsBooleanExpr |
XdmpExpr.castableAs(ServerExpression namespaceUri,
java.lang.String localName,
ServerExpression item)
Returns true if a value is castable.
|
XsBooleanExpr |
FnExpr.codepointEqual(ServerExpression comparand1,
ServerExpression comparand2)
Returns true if the specified parameters are the same Unicode code point, otherwise returns false.
|
XsBooleanExpr |
FnExpr.codepointEqual(ServerExpression comparand1,
java.lang.String comparand2)
Returns true if the specified parameters are the same Unicode code point, otherwise returns false.
|
XsBooleanExpr |
FnExpr.contains(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
MapExpr.contains(ServerExpression map,
ServerExpression key)
Returns true if the key exists in the map.
|
XsBooleanExpr |
FnExpr.contains(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.contains(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
MapExpr.contains(ServerExpression map,
java.lang.String key)
Returns true if the key exists in the map.
|
XsBooleanExpr |
FnExpr.contains(ServerExpression parameter1,
java.lang.String parameter2,
java.lang.String collation)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.deepEqual(ServerExpression parameter1,
ServerExpression parameter2)
This function assesses whether two sequences are deep-equal to each other.
|
XsBooleanExpr |
FnExpr.deepEqual(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
This function assesses whether two sequences are deep-equal to each other.
|
XsBooleanExpr |
FnExpr.deepEqual(ServerExpression parameter1,
ServerExpression parameter2,
java.lang.String collation)
This function assesses whether two sequences are deep-equal to each other.
|
XsBooleanExpr |
FnExpr.empty(ServerExpression arg)
If the value of arg is the empty sequence, the function returns true; otherwise, the function returns false.
|
XsBooleanExpr |
FnExpr.endsWith(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.endsWith(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.endsWith(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.endsWith(ServerExpression parameter1,
java.lang.String parameter2,
java.lang.String collation)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
abstract XsBooleanExpr |
PlanBuilder.eq(ServerExpression left,
ServerExpression right)
This function returns true if the left and right expressions return the same value.
|
XsBooleanExpr |
FnExpr.exists(ServerExpression arg)
If the value of arg is not the empty sequence, the function returns true; otherwise, the function returns false.
|
XsBooleanExpr |
FnExpr.falseExpr()
Returns the xs:boolean value false.
|
abstract XsBooleanExpr |
PlanBuilder.ge(ServerExpression left,
ServerExpression right)
This function returns true if the value of the left expression is greater than or equal to the value of the right expression.
|
abstract XsBooleanExpr |
PlanBuilder.gt(ServerExpression left,
ServerExpression right)
This function returns true if the value of the left expression is greater than the value of the right expression.
|
XsBooleanExpr |
SemExpr.isBlank(ServerExpression value)
Returns true if the argument is an RDF blank node - that is, derived from type sem:blank.
|
abstract XsBooleanExpr |
PlanBuilder.isDefined(ServerExpression operand)
This function tests whether the value of an expression is null in the row where the expression might be as simple as a column identified by op:col.
|
XsBooleanExpr |
SemExpr.isIRI(ServerExpression value)
Returns true if the argument is an RDF IRI - that is, derived from type sem:iri, but not derived from type sem:blank.
|
XsBooleanExpr |
SemExpr.isLiteral(ServerExpression value)
Returns true if the argument is an RDF literal - that is, derived from type xs:anyAtomicType, but not derived from type sem:iri.
|
XsBooleanExpr |
SemExpr.isNumeric(ServerExpression value)
Returns true if the argument is a valid numeric RDF literal.
|
XsBooleanExpr |
FnExpr.lang(ServerExpression testlang,
ServerExpression node)
This function tests whether the language of node, or the context node if the second argument is omitted, as specified by xml:lang attributes is the same as, or is a sublanguage of, the language specified by testlang.
|
XsBooleanExpr |
SemExpr.langMatches(ServerExpression langTag,
ServerExpression langRange)
Returns true if lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647.
|
XsBooleanExpr |
SemExpr.langMatches(ServerExpression langTag,
java.lang.String langRange)
Returns true if lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647.
|
abstract XsBooleanExpr |
PlanBuilder.le(ServerExpression left,
ServerExpression right)
This function returns true if the value of the left expression is less than or equal to the value of the right expression.
|
abstract XsBooleanExpr |
PlanBuilder.lt(ServerExpression left,
ServerExpression right)
This function returns true if the value of the left expression is less than the value of the right expression.
|
XsBooleanExpr |
FnExpr.matches(ServerExpression input,
ServerExpression pattern)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsBooleanExpr |
FnExpr.matches(ServerExpression input,
ServerExpression pattern,
ServerExpression flags)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsBooleanExpr |
FnExpr.matches(ServerExpression input,
java.lang.String pattern)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsBooleanExpr |
FnExpr.matches(ServerExpression input,
java.lang.String pattern,
java.lang.String flags)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
abstract XsBooleanExpr |
PlanBuilder.ne(ServerExpression left,
ServerExpression right)
This function returns true if the value of the left expression is not equal to the value of the right expression.
|
XsBooleanExpr |
FnExpr.nilled(ServerExpression arg)
Summary: Returns an xs:boolean indicating whether the argument node is "nilled".
|
XsBooleanExpr |
FnExpr.not(ServerExpression arg)
Returns true if the effective boolean value is false, and false if the effective boolean value is true.
|
abstract XsBooleanExpr |
PlanBuilder.not(ServerExpression operand)
This function returns true if neither of the specified boolean expressions return true.
|
abstract XsBooleanExpr |
PlanBuilder.or(ServerExpression... left)
This function returns true if the specified expressions all return true.
|
XsBooleanExpr |
SemExpr.sameTerm(ServerExpression a,
ServerExpression b)
Returns true if the arguments are the same RDF term as defined by the RDF concepts specification.
|
XsBooleanExpr |
SemExpr.sameTerm(ServerExpression a,
java.lang.String b)
Returns true if the arguments are the same RDF term as defined by the RDF concepts specification.
|
XsBooleanExpr |
FnExpr.startsWith(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.startsWith(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.startsWith(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.startsWith(ServerExpression parameter1,
java.lang.String parameter2,
java.lang.String collation)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
FnExpr.trueExpr()
Returns the xs:boolean value true.
|
Modifier and Type | Method and Description |
---|---|
XsBooleanSeqExpr |
XsExpr.booleanExprSeq(XsBooleanExpr... 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 |
XsBooleanVal
An instance of a server boolean value.
|
Copyright © 2013-2018 MarkLogic Corporation.