org.apache.accumulo.examples.wikisearch.ingest
Class ArticleExtractor.Article
java.lang.Object
org.apache.accumulo.examples.wikisearch.ingest.ArticleExtractor.Article
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- ArticleExtractor
public static class ArticleExtractor.Article
- extends Object
- implements org.apache.hadoop.io.Writable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArticleExtractor.Article
public ArticleExtractor.Article()
getId
public int getId()
getTitle
public String getTitle()
getComments
public String getComments()
getText
public String getText()
getTimestamp
public long getTimestamp()
getFieldValues
public Map<String,Object> getFieldValues()
getNormalizedFieldValues
public Map<String,String> getNormalizedFieldValues()
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.