You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/01/05 04:24:02 UTC
kylin git commit: KYLIN-1286 Add apache licenses in package
metadata.filter
Repository: kylin
Updated Branches:
refs/heads/2.0-rc 7dae0cf4a -> b33990e5a
KYLIN-1286 Add apache licenses in package metadata.filter
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/b33990e5
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/b33990e5
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/b33990e5
Branch: refs/heads/2.0-rc
Commit: b33990e5aa5daf11d7361d8e4faebccf30b206ba
Parents: 7dae0cf
Author: Li, Yang <ya...@ebay.com>
Authored: Tue Jan 5 11:23:26 2016 +0800
Committer: Li, Yang <ya...@ebay.com>
Committed: Tue Jan 5 11:23:53 2016 +0800
----------------------------------------------------------------------
.../kylin/metadata/filter/IFilterCodeSystem.java | 18 ++++++++++++++++++
.../kylin/metadata/filter/StringCodeSystem.java | 18 ++++++++++++++++++
.../filter/TimeConditionLiteralsReplacer.java | 19 +++++++++++++++++++
.../kylin/metadata/filter/TsConditionEraser.java | 18 ++++++++++++++++++
4 files changed, 73 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/b33990e5/core-metadata/src/main/java/org/apache/kylin/metadata/filter/IFilterCodeSystem.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/IFilterCodeSystem.java b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/IFilterCodeSystem.java
index 9bbf1c3..3cd1940 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/IFilterCodeSystem.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/IFilterCodeSystem.java
@@ -1,3 +1,21 @@
+/*
+ * 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.kylin.metadata.filter;
import java.nio.ByteBuffer;
http://git-wip-us.apache.org/repos/asf/kylin/blob/b33990e5/core-metadata/src/main/java/org/apache/kylin/metadata/filter/StringCodeSystem.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/StringCodeSystem.java b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/StringCodeSystem.java
index 2d5ac81..e20b2a0 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/StringCodeSystem.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/StringCodeSystem.java
@@ -1,3 +1,21 @@
+/*
+ * 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.kylin.metadata.filter;
import java.nio.ByteBuffer;
http://git-wip-us.apache.org/repos/asf/kylin/blob/b33990e5/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TimeConditionLiteralsReplacer.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TimeConditionLiteralsReplacer.java b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TimeConditionLiteralsReplacer.java
index 20fbe7a..a20a8ba 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TimeConditionLiteralsReplacer.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TimeConditionLiteralsReplacer.java
@@ -1,3 +1,21 @@
+/*
+ * 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.kylin.metadata.filter;
import java.util.Collection;
@@ -20,6 +38,7 @@ public class TimeConditionLiteralsReplacer implements TupleFilterSerializer.Deco
this.dateCompareTupleChildren = Maps.newIdentityHashMap();
}
+ @SuppressWarnings("unchecked")
@Override
public TupleFilter onSerialize(TupleFilter filter) {
http://git-wip-us.apache.org/repos/asf/kylin/blob/b33990e5/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TsConditionEraser.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TsConditionEraser.java b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TsConditionEraser.java
index dbbd50f..9b711f7 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TsConditionEraser.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/filter/TsConditionEraser.java
@@ -1,3 +1,21 @@
+/*
+ * 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.kylin.metadata.filter;
import java.util.IdentityHashMap;