|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenericTable
Method Summary | |
---|---|
void |
close()
Closes the connection to the document reader. |
void |
createTable()
Creates a new instance of the HTable represented by this GenericTable |
void |
createTable(org.apache.hadoop.hbase.client.HConnection connector)
Creates a new instance of the HTable represented by this GenericTable |
Iterator<org.apache.hadoop.hbase.client.Result> |
iterator(org.apache.hadoop.hbase.client.Scan scan)
Returns an iterator over all of the rows accessible from this GenericTable . |
void |
setupScan(org.apache.hadoop.hbase.client.Scan scan)
Initializes a Scan such that it will request whatever columns and
column families are neccesary for processing as determined by the table
type. |
void |
setupScan(org.apache.hadoop.hbase.client.Scan scan,
String corpusName)
Initializes a Scan such that it will request columns and
column families are neccesary for extracting the raw document text,
dependency trees, and document source information from the specified
corpusName . |
org.apache.hadoop.hbase.client.HTable |
table()
Returns the HTable instance attached to this GenericTable . |
String |
tableName()
Returns the name of the HBase Table that this GenericTable
represents. |
Method Detail |
---|
void createTable()
HTable
represented by this GenericTable
void createTable(org.apache.hadoop.hbase.client.HConnection connector)
HTable
represented by this GenericTable
Iterator<org.apache.hadoop.hbase.client.Result> iterator(org.apache.hadoop.hbase.client.Scan scan)
GenericTable
.
String tableName()
GenericTable
represents.
org.apache.hadoop.hbase.client.HTable table()
HTable
instance attached to this GenericTable
.
void setupScan(org.apache.hadoop.hbase.client.Scan scan)
Scan
such that it will request whatever columns and
column families are neccesary for processing as determined by the table
type. This method will only be called once per job.
void setupScan(org.apache.hadoop.hbase.client.Scan scan, String corpusName)
Scan
such that it will request columns and
column families are neccesary for extracting the raw document text,
dependency trees, and document source information from the specified
corpusName
.
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |