public class InferentialTableBuilder extends Object implements TableBuilder
TableBuilder that| Constructor and Description |
|---|
InferentialTableBuilder(String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObservation(Document document) |
MutableTable |
buildTable()
Builds the
Table |
InferentialColumnBuilder |
getColumnBuilder(String columnName)
Gets the
ColumnBuilder of a named Column in the table. |
int |
getObservationCount()
Gets the number of observations that this table builder is basing it's
inference on.
|
void |
offerSource(DocumentSource documentSource)
Offers a
DocumentSource to the TableBuilder. |
public InferentialTableBuilder(String tableName)
public void addObservation(Document document)
public int getObservationCount()
public MutableTable buildTable()
TableBuilderTablebuildTable in interface TableBuilderpublic InferentialColumnBuilder getColumnBuilder(String columnName)
TableBuilderColumnBuilder of a named Column in the table.getColumnBuilder in interface TableBuilderpublic void offerSource(DocumentSource documentSource)
TableBuilderDocumentSource to the TableBuilder. The
TableBuilder may consume the source to build/detect a table based
on the observed documents in the source. It may also choose to ignore the
source, if the it does not need it.offerSource in interface TableBuilderCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.