APEXMALHAR-2366 Added license references, this closes #521
Project: http://git-wip-us.apache.org/repos/asf/apex-malhar/repo Commit: http://git-wip-us.apache.org/repos/asf/apex-malhar/commit/07869c82 Tree: http://git-wip-us.apache.org/repos/asf/apex-malhar/tree/07869c82 Diff: http://git-wip-us.apache.org/repos/asf/apex-malhar/diff/07869c82 Branch: refs/heads/master Commit: 07869c82986dd721346aeb6c7e552175db27141d Parents: 3c3a017 Author: Pramod Immaneni <[email protected]> Authored: Thu Jun 1 14:02:26 2017 -0700 Committer: Pramod Immaneni <[email protected]> Committed: Wed Jun 7 02:34:19 2017 -0700 ---------------------------------------------------------------------- LICENSE | 45 +++++++++++++++++++ .../lib/state/managed/SliceBloomFilter.java | 46 ++++++++++++++++++++ 2 files changed, 91 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/apex-malhar/blob/07869c82/LICENSE ---------------------------------------------------------------------- diff --git a/LICENSE b/LICENSE index d645695..3c7d6d1 100644 --- a/LICENSE +++ b/LICENSE @@ -200,3 +200,48 @@ 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. + +For org.apache.apex.malhar.lib.state.managed.SliceBloomFilter + +/** + * + * bloomfilter - Bloom filters for Java + * Copyright (c) 2014-2015, Sandeep Gupta + * + * http://sangupta.com/projects/bloomfilter + * + * Licensed 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. + * + */ + +/** + * + * murmurhash - Pure Java implementation of the Murmur Hash algorithms. + * Copyright (c) 2014, Sandeep Gupta + * + * http://sangupta.com/projects/murmur + * + * Licensed 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. + * + */ + http://git-wip-us.apache.org/repos/asf/apex-malhar/blob/07869c82/library/src/main/java/org/apache/apex/malhar/lib/state/managed/SliceBloomFilter.java ---------------------------------------------------------------------- diff --git a/library/src/main/java/org/apache/apex/malhar/lib/state/managed/SliceBloomFilter.java b/library/src/main/java/org/apache/apex/malhar/lib/state/managed/SliceBloomFilter.java index 4fd9e02..5cbc03e 100644 --- a/library/src/main/java/org/apache/apex/malhar/lib/state/managed/SliceBloomFilter.java +++ b/library/src/main/java/org/apache/apex/malhar/lib/state/managed/SliceBloomFilter.java @@ -16,6 +16,49 @@ * specific language governing permissions and limitations * under the License. */ + +/** + * + * bloomfilter - Bloom filters for Java + * Copyright (c) 2014-2015, Sandeep Gupta + * + * http://sangupta.com/projects/bloomfilter + * + * Licensed 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. + * + */ + +/** + * + * murmurhash - Pure Java implementation of the Murmur Hash algorithms. + * Copyright (c) 2014, Sandeep Gupta + * + * http://sangupta.com/projects/murmur + * + * Licensed 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.apex.malhar.lib.state.managed; import java.util.BitSet; @@ -24,6 +67,9 @@ import com.datatorrent.netlet.util.Slice; /** * This class implemented BloomFilter algorithm, the key is Slice + * Bloom filter and murmur hash implementations originally from Sandeep Gupta + * <a href="https://github.com/sangupta/bloomfilter/blob/master/src/main/java/com/sangupta/bloomfilter/BloomFilter.java">BloomFilter.java</a> + * <a href="https://github.com/sangupta/murmur/blob/master/src/main/java/com/sangupta/murmur/Murmur3.java">Murmur3.java</a> * */ public class SliceBloomFilter
