| 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 |
|---|---|
XsDateExpr |
FnExpr.adjustDateToTimezone(XsDateExpr arg)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
FnExpr.adjustDateToTimezone(XsDateExpr arg,
String timezone)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
FnExpr.adjustDateToTimezone(XsDateExpr arg,
XsDayTimeDurationExpr timezone)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
FnExpr.currentDate()
Returns
xs:date(fn:current-dateTime()). |
XsDateExpr |
XsExpr.date(XsAnyAtomicTypeExpr arg1)
Constructs or casts an expression to the xs:date server data type.
|
| Modifier and Type | Method and Description |
|---|---|
XsDateExpr |
FnExpr.adjustDateToTimezone(XsDateExpr arg)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
FnExpr.adjustDateToTimezone(XsDateExpr arg,
String timezone)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
FnExpr.adjustDateToTimezone(XsDateExpr arg,
XsDayTimeDurationExpr timezone)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateSeqExpr |
XsExpr.dateSeq(XsDateExpr... items)
Constructs a sequence of XsDateExpr items.
|
XsIntegerExpr |
FnExpr.dayFromDate(XsDateExpr arg)
Returns an xs:integer between 1 and 31, both inclusive, representing the day component in the localized value of arg.
|
XsStringExpr |
XdmpExpr.daynameFromDate(XsDateExpr arg)
Returns an xs:string representing the dayname value in the localized value of arg.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture,
String language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture,
String language,
String calendar)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture,
String language,
String calendar,
String country)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted date value based on the picture argument.
|
XsIntegerExpr |
FnExpr.monthFromDate(XsDateExpr arg)
Returns an xs:integer between 1 and 12, both inclusive, representing the month component in the localized value of arg.
|
XsStringExpr |
XdmpExpr.monthNameFromDate(XsDateExpr arg)
Returns month name, calculated from the localized value of arg.
|
XsIntegerExpr |
XdmpExpr.quarterFromDate(XsDateExpr arg)
Returns an xs:integer between 1 and 4, both inclusive, calculating the quarter component in the localized value of arg.
|
XsDayTimeDurationExpr |
FnExpr.timezoneFromDate(XsDateExpr arg)
Returns the timezone component of arg if any.
|
XsIntegerExpr |
XdmpExpr.weekdayFromDate(XsDateExpr arg)
Returns an xs:integer between 1 and 7, both inclusive, representing the weekday value in the localized value of arg.
|
XsIntegerExpr |
XdmpExpr.weekFromDate(XsDateExpr arg)
Returns an xs:integer between 1 and 53, both inclusive, representing the week value in the localized value of arg.
|
XsIntegerExpr |
XdmpExpr.yeardayFromDate(XsDateExpr arg)
Returns an xs:integer between 1 and 366, both inclusive, representing the yearday value in the localized value of arg.
|
XsIntegerExpr |
FnExpr.yearFromDate(XsDateExpr arg)
Returns an xs:integer representing the year component in the localized value of arg.
|
| 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 |
XsDateVal
An instance of a server date value.
|
Copyright © 2013-2017 MarkLogic Corporation.