|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.ontology.text.hbase.DynamicDocument
public class DynamicDocument
Constructor Summary | |
---|---|
DynamicDocument(org.apache.hadoop.hbase.client.Result row,
String corpusNameColumn,
String rawTextColumn,
String originalTextColumn,
String keyColumn,
String idColumn,
String titleColumn,
String categoriesColumn)
|
Method Summary | |
---|---|
Set<String> |
categories()
Returns the set of categories that this document has, if any. |
long |
id()
Returns a unique identifier for this document. |
String |
key()
Returns a string name of this document. |
String |
originalText()
Returns the original, uncleaned text. |
String |
rawText()
Returns the raw text of the corpus. |
String |
sourceCorpus()
Returns the name of the source corpus. |
String |
title()
Returns the title of this document, if any exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicDocument(org.apache.hadoop.hbase.client.Result row, String corpusNameColumn, String rawTextColumn, String originalTextColumn, String keyColumn, String idColumn, String titleColumn, String categoriesColumn)
Method Detail |
---|
public String sourceCorpus()
sourceCorpus
in interface Document
public String rawText()
rawText
in interface Document
public String originalText()
originalText
in interface Document
public String key()
key
in interface Document
public long id()
id
in interface Document
public String title()
title
in interface Document
public Set<String> categories()
categories
in interface Document
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |