You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by am...@apache.org on 2016/10/04 07:59:00 UTC
lens git commit: Revert "LENS-1340 : Add DataCompletenessChecker"
Repository: lens
Updated Branches:
refs/heads/master 5a18cce85 -> 1a57cdd82
Revert "LENS-1340 : Add DataCompletenessChecker"
This reverts commit 47a3012edc9604e94795d1453a77ac4ee2b1b936.
Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/1a57cdd8
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/1a57cdd8
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/1a57cdd8
Branch: refs/heads/master
Commit: 1a57cdd82f6d89f37673bfced9fc1a2fb0c65f07
Parents: 5a18cce
Author: Amareshwari Sriramadasu <am...@apache.org>
Authored: Tue Oct 4 13:28:43 2016 +0530
Committer: Amareshwari Sriramadasu <am...@apache.org>
Committed: Tue Oct 4 13:28:43 2016 +0530
----------------------------------------------------------------------
.../cube/parse/DataCompletenessChecker.java | 55 --------------------
1 file changed, 55 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lens/blob/1a57cdd8/lens-cube/src/main/java/org/apache/lens/cube/parse/DataCompletenessChecker.java
----------------------------------------------------------------------
diff --git a/lens-cube/src/main/java/org/apache/lens/cube/parse/DataCompletenessChecker.java b/lens-cube/src/main/java/org/apache/lens/cube/parse/DataCompletenessChecker.java
deleted file mode 100644
index 026c9a9..0000000
--- a/lens-cube/src/main/java/org/apache/lens/cube/parse/DataCompletenessChecker.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.lens.cube.parse;
-
-import org.apache.lens.server.api.error.LensException;
-
-import java.util.Date;
-import java.util.Map;
-import java.util.Set;
-
-/**
- * DataCompletenessChecker is for identifying the completeness of data in a fact for the given set of measures, start
- * and end date. A fact will have a dataCompletenessTag, multiple facts can have the same dataCompletenessTag.
- * Similarly, measures will have a dataCompletenessTag, multiple measures can have the same dataCompletenessTag.
- * The api will take the dataCompletenessTag for the facts and measures and compute the completeness based on these
- * tags. The utility of having tags is that the similar kind of measures or facts which will have the same level of
- * completeness can use the same tag, thus we avoid the redundant completeness computation for similar measures
- * and facts.
- * The implementations of the interface can truncate the start and end date.
- */
-public interface DataCompletenessChecker {
-
- /**
- * Get completeness of the set of measures in a fact based on the dataCompletenessTag for the given starttime and
- * endtime.
- *
- * @param factTag 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.
- * @param start Start time of the query (Inclusive).
- * @param end End time of the query (Exclusive).
- * @param measureTag List of distinct tag of the measures in the query. Multiple measures can have the same
- * dataCompletenessTag.
- * @return map; key is the name of the dataCompletenessTag which refers to one or more measures. Value is the map
- * of date and %completeness.
- */
- Map<String, Map<Date, Float>> getCompleteness(String factTag, Date start, Date end, Set<String> measureTag)
- throws LensException;
-
-}