Package com.marklogic.mapreduce
Class BinaryDocument
- java.lang.Object
-
- com.marklogic.mapreduce.ForestDocument
-
- com.marklogic.mapreduce.BinaryDocument
-
- All Implemented Interfaces:
MarkLogicDocument,org.apache.hadoop.io.Writable
- Direct Known Subclasses:
LargeBinaryDocument,RegularBinaryDocument
public abstract class BinaryDocument extends ForestDocument
AForestDocumentrepresenting a binary document in MarkLogic accessed via Direct Access.- See Also:
ForestInputFormat
-
-
Field Summary
-
Fields inherited from class com.marklogic.mapreduce.ForestDocument
LOG
-
-
Constructor Summary
Constructors Constructor Description BinaryDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.marklogic.xcc.ContentcreateContent(String uri, com.marklogic.xcc.ContentCreateOptions options, boolean copyCollections, boolean copyMetadata, boolean copyQuality)-
Methods inherited from class com.marklogic.mapreduce.ForestDocument
createDocument, getCollections, getContentAsByteStream, getContentSize, getFragmentOrdinal, getMetadata, getQuality, isStreamable, readFields, setContentOptions, setQuality, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.marklogic.mapreduce.MarkLogicDocument
getContentAsByteArray, getContentAsMarkLogicNode, getContentAsString, getContentAsText, getContentType
-
-
-
-
Method Detail
-
createContent
public com.marklogic.xcc.Content createContent(String uri, com.marklogic.xcc.ContentCreateOptions options, boolean copyCollections, boolean copyMetadata, boolean copyQuality) throws IOException
- Specified by:
createContentin classForestDocument- Throws:
IOException
-
-