public abstract class CtsQueryBuilder
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
CtsExpr |
cts |
Builds expressions with cts server
functions.
|
FnExpr |
fn |
Builds expressions with fn server
functions.
|
GeoExpr |
geo |
Builds expressions with geo server
functions.
|
JsonExpr |
json |
Builds expressions with json server
functions.
|
MapExpr |
map |
Builds expressions with map server
functions.
|
MathExpr |
math |
Builds expressions with math server
functions.
|
RdfExpr |
rdf |
Builds expressions with rdf server
functions.
|
SemExpr |
sem |
Builds expressions with sem server
functions.
|
SpellExpr |
spell |
Builds expressions with spell server
functions.
|
SqlExpr |
sql |
Builds expressions with sql server
functions.
|
XdmpExpr |
xdmp |
Builds expressions with xdmp server
functions.
|
XsExpr |
xs |
Builds expressions with xs server
functions.
|
Modifier | Constructor | Description |
---|---|---|
protected |
CtsQueryBuilder(CtsExpr cts,
FnExpr fn,
GeoExpr geo,
JsonExpr json,
MapExpr map,
MathExpr math,
RdfExpr rdf,
SemExpr sem,
SpellExpr spell,
SqlExpr sql,
XdmpExpr xdmp,
XsExpr xs) |
Modifier and Type | Method | Description |
---|---|---|
abstract <T extends JSONReadHandle> |
export(CtsQueryExpr query,
T handle) |
Export cts query into a handle in AST
format
|
abstract CtsQueryDefinition |
newCtsQueryDefinition(CtsQueryExpr query) |
Create a CtsQueryDefinition based on a cts
query
|
abstract CtsQueryDefinition |
newCtsQueryDefinition(CtsQueryExpr query,
JSONWriteHandle queryOptions) |
Create a CtsQueryDefinition based on a cts query
and query options
|
public final CtsExpr cts
public final FnExpr fn
public final GeoExpr geo
public final JsonExpr json
public final MapExpr map
public final MathExpr math
public final RdfExpr rdf
public final SemExpr sem
public final SpellExpr spell
public final SqlExpr sql
public final XdmpExpr xdmp
public final XsExpr xs
public abstract CtsQueryDefinition newCtsQueryDefinition(CtsQueryExpr query)
query
- a cts querypublic abstract CtsQueryDefinition newCtsQueryDefinition(CtsQueryExpr query, JSONWriteHandle queryOptions)
query
- a cts queryqueryOptions
- query optionspublic abstract <T extends JSONReadHandle> T export(CtsQueryExpr query, T handle)
T
- the handle typequery
- the cts query to be exportedhandle
- the handle to store exported queryCopyright © 2022 MarkLogic Corporation