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.extra.gson |
The package provides an adapter for using the
GSON Open Source library to read and write JSON documents, JSON
structured search, and other JSON input and output.
|
com.marklogic.client.io |
The package provides the handle classes with
different representations for document content when you read
documents from the database or write documents to the
database.
|
com.marklogic.client.row |
The package provides classes for sending plan
requests to and processing row responses from the REST
server.
|
Modifier and Type | Method | Description |
---|---|---|
abstract <T extends JSONReadHandle> |
CtsQueryBuilder.export(CtsQueryExpr query,
T handle) |
Export cts query into a handle in AST
format
|
<T extends JSONReadHandle> |
PlanBuilderBase.ExportablePlanBase.export(T handle) |
This method exports the plan to an AST (Abstract
Sytax Tree) using the specified JSON handle.
|
Modifier and Type | Class | Description |
---|---|---|
class |
GSONHandle |
A GSONHandle represents JSON content as a GSON
JsonElement for reading or writing.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BytesHandle |
A Bytes Handle represents document content as a
byte array for reading or writing.
|
class |
FileHandle |
A File Handle represents document content as a
file for reading or writing.
|
class |
InputStreamHandle |
An InputStreamHandle represents a resource as an
InputStream for reading or writing.
|
class |
JacksonDatabindHandle<T> |
An adapter for using the Jackson Open Source
library for JSON; represents JSON content for reading or writing as
objects of the specified POJO class.
|
class |
JacksonHandle |
An adapter for using the Jackson Open Source
library for JSON; represents JSON content as a Jackson JsonNode for
reading or writing.
|
class |
JacksonParserHandle |
An adapter for using the streaming capabilities
of the Jackson Open Source library.
|
class |
ReaderHandle |
A Reader Handle represents a character content
as a reader for reading to or writing from the database.
|
class |
StringHandle |
A String Handle represents document content as a
string for reading or writing.
|
Modifier and Type | Method | Description |
---|---|---|
<T extends JSONReadHandle> |
RowManager.columnInfo(PlanBuilder.Plan plan,
T handle) |
This function can be used to inspect the state
of a plan before execution.
|
<T extends JSONReadHandle> |
RowRecord.getContainer(PlanExprCol col,
T containerHandle) |
|
<T extends JSONReadHandle> |
RowRecord.getContainer(java.lang.String columnName,
T containerHandle) |
|
<T extends JSONReadHandle> |
RowManager.graphql(JSONWriteHandle query,
T resultsHandle) |
Executes a GraphQL query against the database
and returns the results as a JSON object.
|
Copyright © 2022 MarkLogic Corporation