public class DefaultChecker extends Object implements DataCompletenessChecker
| Constructor and Description |
|---|
DefaultChecker() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<Date,Float>> |
getCompleteness(String factTag,
Date start,
Date end,
Set<String> measureTag)
Get completeness of the set of measures in a fact based on the dataCompletenessTag for the given starttime and
endtime.
|
public Map<String,Map<Date,Float>> getCompleteness(String factTag, Date start, Date end, Set<String> measureTag) throws LensException
DataCompletenessCheckergetCompleteness in interface DataCompletenessCheckerfactTag - This is the dataCompletenessTag for a fact. The tag can be specified by setting the property
named dataCompletenessTag for the fact. Mutltiple facts can have the same dataCompletenessTag.start - Start time of the query (Inclusive).end - End time of the query (Exclusive).measureTag - List of distinct tag of the measures in the query. Multiple measures can have the same
dataCompletenessTag.LensExceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.