Package org.apache.accumulo.core.summary
Class SummaryCollection
- java.lang.Object
-
- org.apache.accumulo.core.summary.SummaryCollection
-
public class SummaryCollection extends Object
This class facilitates merging, storing, and serializing (to/from thrift) intermediate summary information.
-
-
Constructor Summary
Constructors Constructor Description SummaryCollection()
SummaryCollection(TSummaries tsums)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Summary>
getSummaries()
long
getTotalFiles()
void
merge(SummaryCollection other, SummarizerFactory factory)
static SummaryCollection
merge(SummaryCollection sc1, SummaryCollection sc2, SummarizerFactory factory)
TSummaries
toThrift()
-
-
-
Constructor Detail
-
SummaryCollection
public SummaryCollection()
-
SummaryCollection
public SummaryCollection(TSummaries tsums)
-
-
Method Detail
-
merge
public void merge(SummaryCollection other, SummarizerFactory factory)
-
merge
public static SummaryCollection merge(SummaryCollection sc1, SummaryCollection sc2, SummarizerFactory factory)
-
getTotalFiles
public long getTotalFiles()
-
toThrift
public TSummaries toThrift()
-
-