List of usage examples for org.apache.hadoop.io Writable interface-usage
From source file com.marklogic.contentpump.CombineDocumentSplit.java
/**
* InputSplit with multiple document files combined.
*
* @author jchen
*
*/
From source file com.marklogic.contentpump.examples.SimpleSequenceFileKey.java
public class SimpleSequenceFileKey implements SequenceFileKey, Writable { private DocumentURI uri = new DocumentURI(); public void setDocumentURI(DocumentURI uri) { this.uri = uri; }
From source file com.marklogic.contentpump.examples.SimpleSequenceFileValue.java
public class SimpleSequenceFileValue<T> implements SequenceFileValue<T>, Writable { private byte type; private T value; public void setValue(T v) { value = v;
From source file com.marklogic.mapreduce.CustomContent.java
/**
* This is a Writable Interface for custom content.
*
* Use this class with ContentOutputFormat and your own Reader to
* load documents into MarkLogic Server with finer grained control
* over permissions, properties, collections, and content quality
From source file com.marklogic.mapreduce.MarkLogicDocument.java
/**
* An abstraction of a document stored in a MarkLogic database.
*
* <p>
* This interface represents any type of MarkLogic document,
* regardless of content type or whether it is actively managed
From source file com.marklogic.mapreduce.MarkLogicInputSplit.java
/**
* MarkLogic-based InputSplit, used to represent a group of records returned by
* MarkLogic server, and identify originating host.
*
* @author jchen
*/
From source file com.marklogic.mapreduce.MarkLogicNode.java
/**
* A record returned by MarkLogic, used to represent an XML node. Currently
* only documents, elements and attributes are supported. Use with
* {@link NodeInputFormat} and {@link NodeOutputFormat}. May also be used
* with {@link KeyValueInputFormat} and {@link ValueInputFormat}.
*
From source file com.marklogic.mapreduce.StreamLocator.java
/** * Writable used to describe how to create and read from an input stream. * * @author jchen */ public class StreamLocator implements Writable {
From source file com.marklogic.mapreduce.utilities.ForestInfo.java
public class ForestInfo implements Writable { private String hostName; private long frangmentCount; private boolean updatable; public ForestInfo() {
From source file com.marklogic.tree.ExpandedTree.java
/** * Java equivalent of ExpandedTreeRep in Tree.h * * @author jchen */ public class ExpandedTree implements Writable {