org.apache.blur.lucene.serializer
Class TermWritable
java.lang.Object
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
TermWritable
public TermWritable()
TermWritable
public TermWritable(org.apache.lucene.index.Term term)
getTerm
public org.apache.lucene.index.Term getTerm()
setTerm
public void setTerm(org.apache.lucene.index.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.