public class DatabaseDocumentWithMeta extends DatabaseDocument
Modifier and Type | Field and Description |
---|---|
protected DocumentMetadata |
meta |
content, contentType, is, LOG
MAX_BUFFER_SIZE
Constructor and Description |
---|
DatabaseDocumentWithMeta() |
Modifier and Type | Method and Description |
---|---|
DocumentMetadata |
getMeta() |
String |
getProperties() |
void |
readFields(DataInput in) |
void |
setMeta(DocumentMetadata meta) |
void |
updateOptions(com.marklogic.xcc.ContentCreateOptions options) |
void |
write(DataOutput out) |
getContentAsByteArray, getContentAsByteStream, getContentAsMarkLogicNode, getContentAsString, getContentAsText, getContentSize, getContentType, isStreamable, set, setContent, setContentType
protected DocumentMetadata meta
public DocumentMetadata getMeta()
public void setMeta(DocumentMetadata meta)
public void updateOptions(com.marklogic.xcc.ContentCreateOptions options)
public String getProperties()
public void readFields(DataInput in) throws IOException
readFields
in interface MarkLogicDocument
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class DatabaseDocument
IOException
public void write(DataOutput out) throws IOException
write
in interface MarkLogicDocument
write
in interface org.apache.hadoop.io.Writable
write
in class DatabaseDocument
IOException
Copyright © 2021 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com