Class SimpleSequenceFileValue<T>
- java.lang.Object
-
- com.marklogic.contentpump.examples.SimpleSequenceFileValue<T>
-
- All Implemented Interfaces:
SequenceFileValue<T>,org.apache.hadoop.io.Writable
public class SimpleSequenceFileValue<T> extends Object implements SequenceFileValue<T>, org.apache.hadoop.io.Writable
-
-
Constructor Summary
Constructors Constructor Description SimpleSequenceFileValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetValue()voidreadFields(DataInput in)voidsetValue(T v)voidwrite(DataOutput out)
-
-
-
Method Detail
-
setValue
public void setValue(T v)
-
getValue
public T getValue()
- Specified by:
getValuein interfaceSequenceFileValue<T>
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
-