org.apache.accumulo.examples.wikisearch.ingest
Class ArticleExtractor.Article

java.lang.Object
  extended by 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


Constructor Summary
ArticleExtractor.Article()
           
 
Method Summary
 String getComments()
           
 Map<String,Object> getFieldValues()
           
 int getId()
           
 Map<String,String> getNormalizedFieldValues()
           
 String getText()
           
 long getTimestamp()
           
 String getTitle()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArticleExtractor.Article

public ArticleExtractor.Article()
Method Detail

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.