org.apache.blur.lucene.serializer
Class TermWritable

java.lang.Object
  extended by org.apache.blur.lucene.serializer.TermWritable
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class TermWritable
extends Object
implements org.apache.hadoop.io.Writable


Constructor Summary
TermWritable()
           
TermWritable(Term term)
           
 
Method Summary
 Term getTerm()
           
 void readFields(DataInput in)
           
 void setTerm(Term term)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermWritable

public TermWritable()

TermWritable

public TermWritable(Term term)
Method Detail

getTerm

public Term getTerm()

setTerm

public void setTerm(Term term)

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

readFields

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


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.