Class RDFWritable<VALUE>

  • All Implemented Interfaces:
    CustomContent, org.apache.hadoop.io.Writable

    public class RDFWritable<VALUE>
    extends Object
    implements CustomContent
    Created with IntelliJ IDEA. User: ndw Date: 6/12/13 Time: 3:29 PM To change this template use File | Settings | File Templates.
    • Field Detail

      • LOG

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

      • RDFWritable

        public RDFWritable()
    • Method Detail

      • set

        public void set​(String value)
      • setGraph

        public void setGraph​(String uri)
      • setPermissions

        public void setPermissions​(com.marklogic.xcc.ContentPermission[] permissions)
      • getValue

        public VALUE getValue()
      • getContent

        public com.marklogic.xcc.Content getContent​(org.apache.hadoop.conf.Configuration conf,
                                                    com.marklogic.xcc.ContentCreateOptions options,
                                                    String uri)
        Description copied from interface: CustomContent
        Get the content that is about to inserted.
        Specified by:
        getContent in interface CustomContent
        Parameters:
        conf - job configuration
        options - a template for ContentCreateOptions to be used for the content to be created.
        uri - URI String of DocumentURI
        Returns:
        Content
      • readFields

        public void readFields​(DataInput in)
                        throws IOException
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Throws:
        IOException