Class ForestDocument

    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • ForestDocument

        public ForestDocument()
    • Method Detail

      • createDocument

        public static ForestDocument createDocument​(org.apache.hadoop.conf.Configuration conf,
                                                    org.apache.hadoop.fs.Path forestDir,
                                                    ExpandedTree tree,
                                                    String uri)
      • getFragmentOrdinal

        public long getFragmentOrdinal()
      • getCollections

        public String[] getCollections()
      • getQuality

        public int getQuality()
      • setQuality

        public void setQuality​(int quality)
      • isStreamable

        public boolean isStreamable()
        Description copied from interface: MarkLogicDocument
        Whether the content can be streamed.
        Specified by:
        isStreamable in interface MarkLogicDocument
        Returns:
        true for LargeBinaryDocument, false for the rest.
      • createContent

        public abstract com.marklogic.xcc.Content createContent​(String uri,
                                                                com.marklogic.xcc.ContentCreateOptions options,
                                                                boolean copyCollections,
                                                                boolean copyMetadata,
                                                                boolean copyQuality)
                                                         throws IOException
        Throws:
        IOException
      • setContentOptions

        protected void setContentOptions​(com.marklogic.xcc.ContentCreateOptions options,
                                         boolean copyCollections,
                                         boolean copyMetadata,
                                         boolean copyQuality)