public class UniqueCountTable extends AbstractDataset
| Constructor and Description |
|---|
UniqueCountTable(DatasetSpecification spec,
Table uniqueCountTable,
Table entryCountTable) |
| Modifier and Type | Method and Description |
|---|---|
Long |
readUniqueCount()
Returns the current unique count.
|
void |
updateUniqueCount(String entry)
Adds the specified entry to the Table and augments the specified tuple with
a special field that will be used in the downstream Flowlet that this tuple is
sent to.
|
close, commitTx, getName, getTransactionAwareName, getTxChanges, postTxCommit, rollbackTx, setMetricsCollector, startTx, toString, updateTxpublic UniqueCountTable(DatasetSpecification spec, Table uniqueCountTable, Table entryCountTable)
public Long readUniqueCount()
public void updateUniqueCount(String entry)
updateUniqueCount(String).entry - entry to addCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.