public class SlidingResultsAssembler extends DefaultResultsAssembler implements ResultsAssembler
HBaseGraphAssembler,
Expr,
GraphRecognizerContext| Modifier and Type | Field and Description |
|---|---|
protected HBaseGraphAssembler |
graphAssembler |
protected List<org.plasma.sdo.PlasmaDataGraph> |
graphs |
endRange, ignoredResults, ignoredResultsPreceedingRange, orderingComparator, range, resultEndRangeReached, rootTableReader, startRange, unrecognizedResults, whereContext, whereSyntaxTree| Constructor and Description |
|---|
SlidingResultsAssembler(Expr graphRecognizerRootExpr,
Comparator<org.plasma.sdo.PlasmaDataGraph> orderingComparator,
TableReader rootTableReader,
HBaseGraphAssembler graphAssembler,
Integer startRange,
Integer endRange) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
collect(org.apache.hadoop.hbase.client.Result resultRow)
Determines whether the given row is to be added to the underlying
collection returning true if the given row is added and false if the given
row is not added.
|
org.plasma.sdo.PlasmaDataGraph |
getCurrentResult() |
org.plasma.sdo.PlasmaDataGraph[] |
getResults()
Returns results
|
int |
size()
Returns the current size of the collection
|
canIgnoreResults, currentResultIgnored, getIgnoredResults, getUnrecognizedResults, hasRange, isResultEndRangeReached, serializeGraphclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanIgnoreResults, currentResultIgnored, getIgnoredResults, getUnrecognizedResults, isResultEndRangeReachedprotected HBaseGraphAssembler graphAssembler
protected List<org.plasma.sdo.PlasmaDataGraph> graphs
public SlidingResultsAssembler(Expr graphRecognizerRootExpr, Comparator<org.plasma.sdo.PlasmaDataGraph> orderingComparator, TableReader rootTableReader, HBaseGraphAssembler graphAssembler, Integer startRange, Integer endRange)
public boolean collect(org.apache.hadoop.hbase.client.Result resultRow)
throws IOException
ResultsAssemblercollect in interface ResultsAssemblerresultRow - the rowIOExceptionpublic int size()
ResultsAssemblersize in interface ResultsAssemblerpublic org.plasma.sdo.PlasmaDataGraph[] getResults()
ResultsAssemblergetResults in interface ResultsAssemblerpublic org.plasma.sdo.PlasmaDataGraph getCurrentResult()
getCurrentResult in interface ResultsAssemblerCopyright © 2021. All Rights Reserved.