Class CounterSummary
java.lang.Object
org.apache.accumulo.core.client.summary.CounterSummary
This a convenience class for interpreting summary data generated by implementations of
 
CountingSummarizer- Since:
- 2.0.0
- 
Constructor SummaryConstructorsConstructorDescriptionCounterSummary(Summary summary) This method will callCounterSummary(Summary, boolean)with true.CounterSummary(Summary summary, boolean checkType) 
- 
Method Summary
- 
Constructor Details- 
CounterSummaryThis method will callCounterSummary(Summary, boolean)with true.
- 
CounterSummary- Parameters:
- summary- a summary
- checkType- If true will try to ensure the classname from- Summary.getSummarizerConfiguration()is an instance of- CountingSummarizer. However this check can only succeed if the class is on the classpath. For cases where the summary data needs to be used and the class is not on the classpath, set this to false.
 
 
- 
- 
Method Details- 
getSeenpublic long getSeen()- Returns:
- statistic for CountingSummarizer.SEEN_STAT
 
- 
getEmittedpublic long getEmitted()- Returns:
- statistic for CountingSummarizer.EMITTED_STAT
 
- 
getIgnoredpublic long getIgnored()- Returns:
- the sum of getTooLong()andgetTooLong()
 
- 
getTooLongpublic long getTooLong()- Returns:
- statistic for CountingSummarizer.TOO_LONG_STAT
 
- 
getTooManypublic long getTooMany()- Returns:
- statistic for CountingSummarizer.TOO_MANY_STAT
 
- 
getDeletesIgnoredpublic long getDeletesIgnored()- Returns:
- statistic for CountingSummarizer.DELETES_IGNORED_STAT
 
- 
getCounters- Returns:
- All statistics with a prefix of CountingSummarizer.COUNTER_STAT_PREFIXwith the prefix stripped off.
 
 
-