Package | Description |
---|---|
com.marklogic.client.dataservices | |
com.marklogic.client.extra.dom4j |
The package provides an adapter for using the dom4j Open Source library
to read and write XML documents, XML structured search, and other XML
data structures.
|
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.extra.jdom |
The package provides an adapter for using the JDOM Open Source library
to read and write XML documents, XML structured search, and other XML
data structures.
|
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.io.marker |
The package provides marker interfaces for reading and writing each kind of document format.
|
Modifier and Type | Method and Description |
---|---|
static <IC,IR,I extends BufferableContentHandle<IC,IR>> |
InputCaller.onHandles(DatabaseClient client,
JSONWriteHandle apiDecl,
I inputHandle)
Constructs an instance of the InputCaller interface.
|
static <IC,IR,OC,OR,I extends BufferableContentHandle<IC,IR>,O extends BufferableContentHandle<OC,OR>> |
InputOutputCaller.onHandles(DatabaseClient client,
JSONWriteHandle apiDecl,
I inputHandle,
O outputHandle)
Constructs an instance of the InputOutputCaller interface.
|
static <IC,IR,OC,OR,I extends BufferableContentHandle<IC,IR>,O extends BufferableContentHandle<OC,OR>> |
InputOutputCaller.onHandles(DatabaseClient client,
JSONWriteHandle apiDecl,
I inputHandle,
O outputHandle)
Constructs an instance of the InputOutputCaller interface.
|
static <OC,OR,O extends BufferableContentHandle<OC,OR>> |
OutputCaller.onHandles(DatabaseClient client,
JSONWriteHandle apiDecl,
O outputHandle)
Constructs an instance of the OutputCaller interface.
|
Modifier and Type | Method and Description |
---|---|
static <I> InputCaller<I> |
InputCaller.on(DatabaseClient client,
JSONWriteHandle apiDecl,
BufferableContentHandle<I,?> inputHandle)
Constructs an instance of the InputCaller interface.
|
static <I,O> InputOutputCaller<I,O> |
InputOutputCaller.on(DatabaseClient client,
JSONWriteHandle apiDecl,
BufferableContentHandle<I,?> inputHandle,
BufferableContentHandle<O,?> outputHandle)
Constructs an instance of the InputOutputCaller interface.
|
static <I,O> InputOutputCaller<I,O> |
InputOutputCaller.on(DatabaseClient client,
JSONWriteHandle apiDecl,
BufferableContentHandle<I,?> inputHandle,
BufferableContentHandle<O,?> outputHandle)
Constructs an instance of the InputOutputCaller interface.
|
static <O> OutputCaller<O> |
OutputCaller.on(DatabaseClient client,
JSONWriteHandle apiDecl,
BufferableContentHandle<O,?> outputHandle)
Constructs an instance of the OutputCaller interface.
|
Modifier and Type | Class and Description |
---|---|
class |
DOM4JHandle
A DOM4JHandle represents XML content as a dom4j document for reading or writing.
|
Modifier and Type | Class and Description |
---|---|
class |
GSONHandle
A GSONHandle represents JSON content as a GSON JsonElement for reading or
writing.
|
Modifier and Type | Class and Description |
---|---|
class |
JDOMHandle
A JDOM Handle represents XML content as a JDOM document for reading or writing.
|
Modifier and Type | Class and Description |
---|---|
class |
BytesHandle
A Bytes Handle represents document content as a byte array for reading or writing.
|
class |
DOMHandle
A DOM Handle represents XML content as a DOM document for reading or writing.
|
class |
FileHandle
A File Handle represents document content as a file for reading or writing.
|
class |
InputSourceHandle
An Input Source Handle represents XML content as an input source 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 |
JAXBHandle<C>
A JAXB Handle roundtrips a POJO (a Java data structure) to and from a database document.
|
class |
ReaderHandle
A Reader Handle represents a character content as a reader
for reading to or writing from the database.
|
class |
SourceHandle
A Source Handle represents XML content as a transform source for reading
or transforms a source into a result for writing.
|
class |
StringHandle
A String Handle represents document content as a string for reading or writing.
|
class |
XMLEventReaderHandle
An XML Event Reader Handle represents XML content as an XML event reader
for reading as a series of StAX events.
|
class |
XMLStreamReaderHandle
An XML Stream Reader Handle represents XML content as an XML stream reader
for reading as a StAX pull stream.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ResendableContentHandle<C,R>
A Resendable Content Handle provides an adapter for a content
representation that can be read multiple times for purposes
such as resending input when retrying after a failed request.
|
interface |
StreamingContentHandle<C,R>
A Streaming Content Handle provides an adapter for a streaming content
representation to make it possible to construct a bufferable content
representation so the content can be read multiple times for purposes
such as resending input when retrying after a
failed request.
|
Modifier and Type | Method and Description |
---|---|
BufferableContentHandle<C,R> |
BufferableContentHandle.newHandle() |
default BufferableContentHandle<C,R> |
BufferableContentHandle.newHandle(C content) |
default BufferableContentHandle<C,R>[] |
BufferableContentHandle.newHandleArray(int length)
Constructs an uninitialized array with the specified length with items
of the same content representation.
|
BufferableContentHandle<?,?> |
BufferableContentHandle.resendableHandleFor(C content)
Provides a handle that can resend the content.
|
default BufferableContentHandle<?,?> |
StreamingContentHandle.resendableHandleFor(C content) |
default BufferableContentHandle<?,?>[] |
BufferableContentHandle.resendableHandleFor(C[] content)
Provides an array of handles that can resend an array of content.
|
Copyright © 2013-2021 MarkLogic Corporation.