From c1c5722c348a092de63b13522f5f66c6191076d6 Mon Sep 17 00:00:00 2001 From: dmitry Date: Wed, 31 Oct 2018 16:50:17 +0500 Subject: [PATCH 01/13] support SelectQuery --- .../zapr/druid/druidry/query/QueryType.java | 3 +- .../query/select/DruidSelectQuery.java | 52 +++++++ .../druidry/query/select/PagingSpec.java | 21 +++ .../query/select/DruidSelectQueryTest.java | 134 ++++++++++++++++++ 4 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java create mode 100644 src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java create mode 100644 src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java diff --git a/src/main/java/in/zapr/druid/druidry/query/QueryType.java b/src/main/java/in/zapr/druid/druidry/query/QueryType.java index 7998f052..efb2be79 100644 --- a/src/main/java/in/zapr/druid/druidry/query/QueryType.java +++ b/src/main/java/in/zapr/druid/druidry/query/QueryType.java @@ -29,7 +29,8 @@ public enum QueryType { SEGMENT_METADATA("segmentMetadata"), DATASOURCE_METADATA("dataSourceMetadata"), SEARCH("search"), - SCAN("scan"); + SCAN("scan"), + SELECT("select"); private String value; diff --git a/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java b/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java new file mode 100644 index 00000000..b7256661 --- /dev/null +++ b/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java @@ -0,0 +1,52 @@ +package in.zapr.druid.druidry.query.select; + +import com.fasterxml.jackson.annotation.JsonInclude; +import in.zapr.druid.druidry.Context; +import in.zapr.druid.druidry.Interval; +import in.zapr.druid.druidry.dimension.DruidDimension; +import in.zapr.druid.druidry.filter.DruidFilter; +import in.zapr.druid.druidry.granularity.Granularity; +import in.zapr.druid.druidry.query.DruidQuery; +import in.zapr.druid.druidry.query.QueryType; +import lombok.Builder; +import lombok.EqualsAndHashCode; +import lombok.Getter; +import lombok.NonNull; + +import java.util.List; + +@Getter +@JsonInclude(JsonInclude.Include.NON_NULL) +@EqualsAndHashCode(callSuper = true) +public class DruidSelectQuery extends DruidQuery { + private List intervals; + private DruidFilter filter; + private Boolean descending; + private Granularity granularity; + private List dimensions; + private List metrics; + private PagingSpec pagingSpec; + + @Builder + public DruidSelectQuery( + @NonNull String dataSource, + DruidFilter filter, + Boolean descending, + Granularity granularity, + List dimensions, + List metrics, + @NonNull List intervals, + PagingSpec pagingSpec, + Context context) { + this.queryType = QueryType.SELECT; + this.context = context; + this.dataSource = dataSource; + this.filter = filter; + this.descending = descending; + this.granularity = granularity; + this.intervals = intervals; + this.dimensions = dimensions; + this.metrics = metrics; + this.pagingSpec = pagingSpec; + } +} diff --git a/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java b/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java new file mode 100644 index 00000000..8c9352c5 --- /dev/null +++ b/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java @@ -0,0 +1,21 @@ +package in.zapr.druid.druidry.query.select; + +import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.*; + +import java.util.Map; + +@Getter +@JsonInclude(JsonInclude.Include.NON_NULL) +@RequiredArgsConstructor +@AllArgsConstructor +@EqualsAndHashCode +public class PagingSpec { + @NonNull + private Integer threshold; + + private Boolean fromNext; + + @NonNull + private Map pagingIdentifiers; +} diff --git a/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java b/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java new file mode 100644 index 00000000..e6b67b66 --- /dev/null +++ b/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java @@ -0,0 +1,134 @@ +/* + * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package in.zapr.druid.druidry.query.select; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import in.zapr.druid.druidry.Interval; +import in.zapr.druid.druidry.filter.DruidFilter; +import in.zapr.druid.druidry.filter.SelectorFilter; +import in.zapr.druid.druidry.granularity.Granularity; +import in.zapr.druid.druidry.granularity.PredefinedGranularity; +import in.zapr.druid.druidry.granularity.SimpleGranularity; +import in.zapr.druid.druidry.query.scan.DruidScanQuery; +import in.zapr.druid.druidry.query.scan.ResultFormat; +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import org.json.JSONException; +import org.skyscreamer.jsonassert.JSONAssert; +import org.skyscreamer.jsonassert.JSONCompareMode; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; + +public class DruidSelectQueryTest { + private static ObjectMapper objectMapper; + + @BeforeClass + public void init() { + objectMapper = new ObjectMapper(); + } + + + @Test + public void testSampleQuery() throws JsonProcessingException, JSONException { + DateTime startTime = new DateTime(2013, 1, 1, 0, + 0, 0, DateTimeZone.UTC); + DateTime endTime = new DateTime(2013, 1, 2, 0, + 0, 0, DateTimeZone.UTC); + Interval interval = new Interval(startTime, endTime); + + PagingSpec pagingSpec = new PagingSpec(5, new HashMap<>()); + + Granularity granularity = new SimpleGranularity(PredefinedGranularity.ALL); + + DruidSelectQuery query = DruidSelectQuery.builder() + .dataSource("wikipedia") + .descending(false) + .granularity(granularity) + .intervals(Collections.singletonList(interval)) + .pagingSpec(pagingSpec) + .build(); + + String expectedJsonAsString = "{\n" + + " \"queryType\": \"select\",\n" + + " \"dataSource\": \"wikipedia\",\n" + + " \"intervals\": [" + + " \"2013-01-01T00:00:00.000Z/2013-01-02T00:00:00.000Z\"" + + " ]," + + " \"descending\": false,\n" + + " \"granularity\": \"all\",\n" + + " \"pagingSpec\": {\n" + + " \"threshold\": 5,\n" + + " \"pagingIdentifiers\": {}\n" + + " }\n" + + "}"; + + String actualJson = objectMapper.writeValueAsString(query); + JSONAssert.assertEquals(actualJson, expectedJsonAsString, JSONCompareMode.NON_EXTENSIBLE); + } + + @Test + public void testPagingQuery() throws JsonProcessingException, JSONException { + DateTime startTime = new DateTime(2013, 1, 1, 0, + 0, 0, DateTimeZone.UTC); + DateTime endTime = new DateTime(2013, 1, 2, 0, + 0, 0, DateTimeZone.UTC); + Interval interval = new Interval(startTime, endTime); + + HashMap pagingIdentifiers = new HashMap<>(); + pagingIdentifiers.put("pagingIdentifier", 5); + PagingSpec pagingSpec = new PagingSpec(5, false, pagingIdentifiers); + + Granularity granularity = new SimpleGranularity(PredefinedGranularity.ALL); + + DruidSelectQuery query = DruidSelectQuery.builder() + .dataSource("wikipedia") + .descending(false) + .granularity(granularity) + .intervals(Collections.singletonList(interval)) + .pagingSpec(pagingSpec) + .build(); + + String expectedJsonAsString = "{\n" + + " \"queryType\": \"select\",\n" + + " \"dataSource\": \"wikipedia\",\n" + + " \"intervals\": [" + + " \"2013-01-01T00:00:00.000Z/2013-01-02T00:00:00.000Z\"" + + " ]," + + " \"descending\": false,\n" + + " \"granularity\": \"all\",\n" + + " \"pagingSpec\": {\n" + + " \"threshold\": 5,\n" + + " \"fromNext\": false,\n" + + " \"pagingIdentifiers\": {" + + " \"pagingIdentifier\": 5" + + " }\n" + + " }\n" + + "}"; + + String actualJson = objectMapper.writeValueAsString(query); + JSONAssert.assertEquals(actualJson, expectedJsonAsString, JSONCompareMode.NON_EXTENSIBLE); + } +} + From 337dc45981f7e41195204eb95978fc2bdfbe77fc Mon Sep 17 00:00:00 2001 From: dmitry Date: Wed, 31 Oct 2018 16:56:50 +0500 Subject: [PATCH 02/13] support SelectQuery --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index befa529a..dc8356ab 100644 --- a/README.md +++ b/README.md @@ -177,11 +177,12 @@ Supported Features ------------------ #### Queries -Aggregation Queries -* TopN -* TimeSeries -* GroupBy +* Aggregation Queries + * TopN + * TimeSeries + * GroupBy * DruidScanQuery +* DruidSelectQuery #### Aggregators From 21ddd7aea3eb6ff378afcc0b27a509a5880c7eaa Mon Sep 17 00:00:00 2001 From: dmitry Date: Sun, 18 Nov 2018 21:09:24 +0500 Subject: [PATCH 03/13] add license --- .../druidry/query/select/DruidSelectQuery.java | 17 ++++++++++++++++- .../druid/druidry/query/select/PagingSpec.java | 15 +++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java b/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java index b7256661..41882dce 100644 --- a/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java +++ b/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. + * + * 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 in.zapr.druid.druidry.query.select; import com.fasterxml.jackson.annotation.JsonInclude; @@ -36,7 +51,7 @@ public DruidSelectQuery( List dimensions, List metrics, @NonNull List intervals, - PagingSpec pagingSpec, + @NonNull PagingSpec pagingSpec, Context context) { this.queryType = QueryType.SELECT; this.context = context; diff --git a/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java b/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java index 8c9352c5..d5099e0f 100644 --- a/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java +++ b/src/main/java/in/zapr/druid/druidry/query/select/PagingSpec.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. + * + * 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 in.zapr.druid.druidry.query.select; import com.fasterxml.jackson.annotation.JsonInclude; From 52a4be4b7147c704135a37abb31215470d524ad9 Mon Sep 17 00:00:00 2001 From: dmitry Date: Sun, 18 Nov 2018 21:09:40 +0500 Subject: [PATCH 04/13] add negative tests --- .../query/select/DruidSelectQueryTest.java | 59 +++++++++++++++++-- 1 file changed, 53 insertions(+), 6 deletions(-) diff --git a/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java b/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java index e6b67b66..a3fc9741 100644 --- a/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java @@ -21,25 +21,20 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import in.zapr.druid.druidry.Interval; -import in.zapr.druid.druidry.filter.DruidFilter; -import in.zapr.druid.druidry.filter.SelectorFilter; import in.zapr.druid.druidry.granularity.Granularity; import in.zapr.druid.druidry.granularity.PredefinedGranularity; import in.zapr.druid.druidry.granularity.SimpleGranularity; -import in.zapr.druid.druidry.query.scan.DruidScanQuery; -import in.zapr.druid.druidry.query.scan.ResultFormat; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.json.JSONException; import org.skyscreamer.jsonassert.JSONAssert; import org.skyscreamer.jsonassert.JSONCompareMode; +import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; -import java.util.Arrays; import java.util.Collections; import java.util.HashMap; -import java.util.List; public class DruidSelectQueryTest { private static ObjectMapper objectMapper; @@ -130,5 +125,57 @@ public void testPagingQuery() throws JsonProcessingException, JSONException { String actualJson = objectMapper.writeValueAsString(query); JSONAssert.assertEquals(actualJson, expectedJsonAsString, JSONCompareMode.NON_EXTENSIBLE); } + + @Test(expectedExceptions = NullPointerException.class) + public void testNullableDataSource() { + DateTime startTime = new DateTime(2013, 1, 1, 0, + 0, 0, DateTimeZone.UTC); + DateTime endTime = new DateTime(2013, 1, 2, 0, + 0, 0, DateTimeZone.UTC); + Interval interval = new Interval(startTime, endTime); + + PagingSpec pagingSpec = new PagingSpec(5, new HashMap<>()); + + Granularity granularity = new SimpleGranularity(PredefinedGranularity.ALL); + + DruidSelectQuery.builder() + .descending(false) + .granularity(granularity) + .intervals(Collections.singletonList(interval)) + .pagingSpec(pagingSpec) + .build(); + } + + @Test(expectedExceptions = NullPointerException.class) + public void testNullableInterval() { + PagingSpec pagingSpec = new PagingSpec(5, new HashMap<>()); + + Granularity granularity = new SimpleGranularity(PredefinedGranularity.ALL); + + DruidSelectQuery.builder() + .dataSource("dataSource") + .descending(false) + .granularity(granularity) + .pagingSpec(pagingSpec) + .build(); + } + + @Test(expectedExceptions = NullPointerException.class) + public void testNullablePagingSpec() { + DateTime startTime = new DateTime(2013, 1, 1, 0, + 0, 0, DateTimeZone.UTC); + DateTime endTime = new DateTime(2013, 1, 2, 0, + 0, 0, DateTimeZone.UTC); + Interval interval = new Interval(startTime, endTime); + + Granularity granularity = new SimpleGranularity(PredefinedGranularity.ALL); + + DruidSelectQuery.builder() + .dataSource("dataSource") + .descending(false) + .granularity(granularity) + .intervals(Collections.singletonList(interval)) + .build(); + } } From 9b9e0d5ab0ac56d9dabee4e52915aa202a928666 Mon Sep 17 00:00:00 2001 From: dmitry Date: Sun, 18 Nov 2018 21:18:14 +0500 Subject: [PATCH 05/13] add comment for DruidSelectQuery --- .../in/zapr/druid/druidry/query/select/DruidSelectQuery.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java b/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java index 41882dce..5eeda475 100644 --- a/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java +++ b/src/main/java/in/zapr/druid/druidry/query/select/DruidSelectQuery.java @@ -30,6 +30,10 @@ import java.util.List; +/** + * Generate Druid select query. + * See documentation http://druid.io/docs/latest/querying/select-query.html + */ @Getter @JsonInclude(JsonInclude.Include.NON_NULL) @EqualsAndHashCode(callSuper = true) From 99f3c763199befb6d531b1f57635397e1eced2c0 Mon Sep 17 00:00:00 2001 From: dmitry Date: Sun, 18 Nov 2018 21:22:16 +0500 Subject: [PATCH 06/13] update license in DruidSelectQueryTest --- .../query/select/DruidSelectQueryTest.java | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java b/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java index a3fc9741..8e5ed1f6 100644 --- a/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/select/DruidSelectQueryTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.query.select; From 3cd7d8c0fdb7cdcd7fd682ac6957b09cb3f2a5d8 Mon Sep 17 00:00:00 2001 From: Abhi Sapariya <43852557+abhi-zapr@users.noreply.github.com> Date: Mon, 3 Dec 2018 23:29:38 +0530 Subject: [PATCH 07/13] Version bumped to 2.11-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b766bd9c..58f24cf5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ in.zapr.druid druidry - 2.10 + 2.11-SNAPSHOT Druidry - Druid Java Client Druidry is an open-source Java based utility library which supports creating From aa4f838f990dc117a094dea0fe3e0c7daabf57fd Mon Sep 17 00:00:00 2001 From: vikram Date: Sun, 9 Dec 2018 22:16:51 +0530 Subject: [PATCH 08/13] Added constructor to SelectorFilter --- .../in/zapr/druid/druidry/filter/SelectorFilter.java | 5 +++++ .../druid/druidry/filter/SelectorFilterTest.java | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/main/java/in/zapr/druid/druidry/filter/SelectorFilter.java b/src/main/java/in/zapr/druid/druidry/filter/SelectorFilter.java index e537c578..25990518 100644 --- a/src/main/java/in/zapr/druid/druidry/filter/SelectorFilter.java +++ b/src/main/java/in/zapr/druid/druidry/filter/SelectorFilter.java @@ -45,4 +45,9 @@ public SelectorFilter(@NonNull String dimension, Integer value) { this(dimension); this.value = value; } + + public SelectorFilter(@NonNull String dimension, Long value) { + this(dimension); + this.value = value; + } } \ No newline at end of file diff --git a/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java index 63c46969..161885e6 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java @@ -63,6 +63,18 @@ public void testIntegerField() throws JSONException, JsonProcessingException { JSONAssert.assertEquals(expectedJSON, actualJSON, JSONCompareMode.NON_EXTENSIBLE); } + @Test + public void testLongField() throws JSONException, JsonProcessingException { + SelectorFilter filter = new SelectorFilter("Hello", 1488498926000L); + JSONObject jsonObject = new JSONObject(); + jsonObject.put("type", "selector"); + jsonObject.put("dimension", "Hello"); + jsonObject.put("value", 1488498926000L); + + String actualJSON = objectMapper.writeValueAsString(filter); + String expectedJSON = jsonObject.toString(); + JSONAssert.assertEquals(expectedJSON, actualJSON, JSONCompareMode.NON_EXTENSIBLE); + } @Test(expectedExceptions = NullPointerException.class) public void testDimensionMissing() { String dimension = null; From b3deb65bad2b4d95da766c3a46d396faf536d028 Mon Sep 17 00:00:00 2001 From: Gagan Gupta Date: Sun, 20 Jan 2019 19:02:09 +0530 Subject: [PATCH 09/13] #60 Changing license in Test cases --- .../in/zapr/druid/druidry/ContextTest.java | 22 +++++++++---------- .../in/zapr/druid/druidry/IntervalTest.java | 22 +++++++++---------- .../aggregator/CardinalityAggregatorTest.java | 22 +++++++++---------- .../aggregator/CountAggregatorTest.java | 22 +++++++++---------- .../aggregator/DoubleFirstAggregatorTest.java | 22 +++++++++---------- .../aggregator/DoubleLastAggregatorTest.java | 22 +++++++++---------- .../aggregator/DoubleMaxAggregatorTest.java | 22 +++++++++---------- .../aggregator/DoubleMinAggregatorTest.java | 22 +++++++++---------- .../aggregator/DoubleSumAggregatorTest.java | 22 +++++++++---------- .../aggregator/FilteredAggregatorTest.java | 22 +++++++++---------- .../aggregator/FloatFirstAggregatorTest.java | 22 +++++++++---------- .../aggregator/FloatLastAggregatorTest.java | 22 +++++++++---------- .../aggregator/HyperUniqueAggregatorTest.java | 22 +++++++++---------- .../aggregator/JavaScriptAggregatorTest.java | 22 +++++++++---------- .../aggregator/LongFirstAggregatorTest.java | 22 +++++++++---------- .../aggregator/LongLastAggregatorTest.java | 22 +++++++++---------- .../aggregator/LongMaxAggregatorTest.java | 22 +++++++++---------- .../aggregator/LongMinAggregatorTest.java | 22 +++++++++---------- .../aggregator/LongSumAggregatorTest.java | 22 +++++++++---------- .../client/DruidConfigurationTest.java | 22 +++++++++---------- .../dimension/DefaultDimensionTest.java | 22 +++++++++---------- .../dimension/ExtractionDimensionTest.java | 22 +++++++++---------- .../dimension/SimpleDimensionTest.java | 22 +++++++++---------- .../aggregator/ThetaSketchAggregatorTest.java | 22 +++++++++---------- ...ThetaSketchEstimatePostAggregatorTest.java | 22 +++++++++---------- .../ThetaSketchSetOpPostAggregatorTest.java | 22 +++++++++---------- .../DistinctCountAggregatorTest.java | 22 +++++++++---------- .../CascadeExtractionFunctionTest.java | 22 +++++++++---------- .../JavascriptExtractionFunctionTest.java | 22 +++++++++---------- .../PartialExtractionFunctionTest.java | 22 +++++++++---------- .../RegexExtractionFunctionTest.java | 22 +++++++++---------- .../SearchQueryExtractionFunctionTest.java | 22 +++++++++---------- .../StrLenExtractionFunctionTest.java | 22 +++++++++---------- .../SubStringExtractionFunctionTest.java | 22 +++++++++---------- .../TimeFormatExtractionFunctionTest.java | 22 +++++++++---------- .../TimeParsingExtractionFunctionTest.java | 22 +++++++++---------- .../druid/druidry/filter/AndFilterTest.java | 22 +++++++++---------- .../druid/druidry/filter/BoundFilterTest.java | 22 +++++++++---------- .../druid/druidry/filter/InFilterTest.java | 22 +++++++++---------- .../druidry/filter/IntervalFilterTest.java | 22 +++++++++---------- .../druidry/filter/JavascriptFilterTest.java | 22 +++++++++---------- .../druid/druidry/filter/NotFilterTest.java | 22 +++++++++---------- .../druid/druidry/filter/OrFilterTest.java | 22 +++++++++---------- .../druid/druidry/filter/RegexFilterTest.java | 22 +++++++++---------- .../druidry/filter/SelectorFilterTest.java | 22 +++++++++---------- .../ContainsSearchQuerySpecTest.java | 22 +++++++++---------- .../FragmentSearchQuerySpecTest.java | 22 +++++++++---------- ...nsensitiveContainsSearchQuerySpecTest.java | 22 +++++++++---------- .../RegexSearchQuerySpecTest.java | 22 +++++++++---------- .../granularity/DurationGranularityTest.java | 22 +++++++++---------- .../granularity/PeriodGranularityTest.java | 22 +++++++++---------- .../granularity/SimpleGranularityTest.java | 22 +++++++++---------- .../limitSpec/DefaultLimitSpecTest.java | 22 +++++++++---------- .../limitSpec/OrderByColumnSpecMapTest.java | 22 +++++++++---------- .../ArithmeticPostAggregatorTest.java | 22 +++++++++---------- .../ConstantPostAggregatorTest.java | 22 +++++++++---------- .../FieldAccessPostAggregatorTest.java | 22 +++++++++---------- ...erUniqueCardinalityPostAggregatorTest.java | 22 +++++++++---------- .../JavascriptPostAggregatorTest.java | 22 +++++++++---------- .../query/aggregation/GroupByTest.java | 22 +++++++++---------- .../query/aggregation/TimeSeriesTest.java | 22 +++++++++---------- .../query/aggregation/TopNQueryTest.java | 22 +++++++++---------- .../query/scan/DruidScanQueryTest.java | 22 +++++++++---------- .../query/search/DruidSearchQueryTest.java | 22 +++++++++---------- 64 files changed, 640 insertions(+), 768 deletions(-) diff --git a/src/test/java/in/zapr/druid/druidry/ContextTest.java b/src/test/java/in/zapr/druid/druidry/ContextTest.java index 3d21da0c..1311aa51 100644 --- a/src/test/java/in/zapr/druid/druidry/ContextTest.java +++ b/src/test/java/in/zapr/druid/druidry/ContextTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry;/* diff --git a/src/test/java/in/zapr/druid/druidry/IntervalTest.java b/src/test/java/in/zapr/druid/druidry/IntervalTest.java index 5f85ded7..2c90cd44 100644 --- a/src/test/java/in/zapr/druid/druidry/IntervalTest.java +++ b/src/test/java/in/zapr/druid/druidry/IntervalTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/CardinalityAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/CardinalityAggregatorTest.java index d369b948..bce8f486 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/CardinalityAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/CardinalityAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/CountAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/CountAggregatorTest.java index 61758d4a..94472ad6 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/CountAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/CountAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleFirstAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleFirstAggregatorTest.java index 94fd529a..9307a3fe 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleFirstAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleFirstAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleLastAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleLastAggregatorTest.java index e12cf7ba..3a50957f 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleLastAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleLastAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggregatorTest.java index afee8ffb..74d8245f 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMinAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMinAggregatorTest.java index 223ba53c..e84b2782 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMinAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleMinAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleSumAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleSumAggregatorTest.java index 3f8c7eba..f3b0ff75 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/DoubleSumAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/DoubleSumAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/FilteredAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/FilteredAggregatorTest.java index c319eefd..9ca567bb 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/FilteredAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/FilteredAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/FloatFirstAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/FloatFirstAggregatorTest.java index d4270663..dc987db1 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/FloatFirstAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/FloatFirstAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/FloatLastAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/FloatLastAggregatorTest.java index 6007cc0c..bc2d6848 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/FloatLastAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/FloatLastAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/HyperUniqueAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/HyperUniqueAggregatorTest.java index f5d38b65..f590f901 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/HyperUniqueAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/HyperUniqueAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/JavaScriptAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/JavaScriptAggregatorTest.java index d417f23d..272873c4 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/JavaScriptAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/JavaScriptAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/LongFirstAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/LongFirstAggregatorTest.java index 89b9e344..7045f16b 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/LongFirstAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/LongFirstAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/LongLastAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/LongLastAggregatorTest.java index c40150cc..35912c9a 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/LongLastAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/LongLastAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/LongMaxAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/LongMaxAggregatorTest.java index b5a20495..cd3aefa3 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/LongMaxAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/LongMaxAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/LongMinAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/LongMinAggregatorTest.java index 5e40bb9c..1a60f8c5 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/LongMinAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/LongMinAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/aggregator/LongSumAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/aggregator/LongSumAggregatorTest.java index 7886f118..5e4d1b13 100644 --- a/src/test/java/in/zapr/druid/druidry/aggregator/LongSumAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/aggregator/LongSumAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/client/DruidConfigurationTest.java b/src/test/java/in/zapr/druid/druidry/client/DruidConfigurationTest.java index 054276ed..667d6e96 100644 --- a/src/test/java/in/zapr/druid/druidry/client/DruidConfigurationTest.java +++ b/src/test/java/in/zapr/druid/druidry/client/DruidConfigurationTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.client; diff --git a/src/test/java/in/zapr/druid/druidry/dimension/DefaultDimensionTest.java b/src/test/java/in/zapr/druid/druidry/dimension/DefaultDimensionTest.java index 4d1d5bb4..36b614ab 100644 --- a/src/test/java/in/zapr/druid/druidry/dimension/DefaultDimensionTest.java +++ b/src/test/java/in/zapr/druid/druidry/dimension/DefaultDimensionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.dimension; diff --git a/src/test/java/in/zapr/druid/druidry/dimension/ExtractionDimensionTest.java b/src/test/java/in/zapr/druid/druidry/dimension/ExtractionDimensionTest.java index f7538e08..5e61f475 100644 --- a/src/test/java/in/zapr/druid/druidry/dimension/ExtractionDimensionTest.java +++ b/src/test/java/in/zapr/druid/druidry/dimension/ExtractionDimensionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.dimension; diff --git a/src/test/java/in/zapr/druid/druidry/dimension/SimpleDimensionTest.java b/src/test/java/in/zapr/druid/druidry/dimension/SimpleDimensionTest.java index 995e44ce..6c1d9982 100644 --- a/src/test/java/in/zapr/druid/druidry/dimension/SimpleDimensionTest.java +++ b/src/test/java/in/zapr/druid/druidry/dimension/SimpleDimensionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.dimension; diff --git a/src/test/java/in/zapr/druid/druidry/extensions/datasketches/aggregator/ThetaSketchAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/extensions/datasketches/aggregator/ThetaSketchAggregatorTest.java index 21b29f8d..e97c6554 100644 --- a/src/test/java/in/zapr/druid/druidry/extensions/datasketches/aggregator/ThetaSketchAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/extensions/datasketches/aggregator/ThetaSketchAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extensions.datasketches.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchEstimatePostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchEstimatePostAggregatorTest.java index f29cf0dd..4bd99fab 100644 --- a/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchEstimatePostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchEstimatePostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extensions.datasketches.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchSetOpPostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchSetOpPostAggregatorTest.java index 2bc8c736..568fad8b 100644 --- a/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchSetOpPostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/extensions/datasketches/postAggregator/ThetaSketchSetOpPostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extensions.datasketches.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/extensions/distinctcount/aggregator/DistinctCountAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/extensions/distinctcount/aggregator/DistinctCountAggregatorTest.java index 09993b17..8e6bb377 100644 --- a/src/test/java/in/zapr/druid/druidry/extensions/distinctcount/aggregator/DistinctCountAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/extensions/distinctcount/aggregator/DistinctCountAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extensions.distinctcount.aggregator; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/CascadeExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/CascadeExtractionFunctionTest.java index fc79fb94..be45e20f 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/CascadeExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/CascadeExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/JavascriptExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/JavascriptExtractionFunctionTest.java index 7bd76a36..25adee7e 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/JavascriptExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/JavascriptExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/PartialExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/PartialExtractionFunctionTest.java index 775632ae..77b81d01 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/PartialExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/PartialExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/RegexExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/RegexExtractionFunctionTest.java index cdca66b5..51950cfe 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/RegexExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/RegexExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/SearchQueryExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/SearchQueryExtractionFunctionTest.java index 4feafd03..2679b901 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/SearchQueryExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/SearchQueryExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/StrLenExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/StrLenExtractionFunctionTest.java index 713f59cb..7b5b4b42 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/StrLenExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/StrLenExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/SubStringExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/SubStringExtractionFunctionTest.java index da2498d8..4c514d46 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/SubStringExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/SubStringExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeFormatExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeFormatExtractionFunctionTest.java index 67ebea2b..628164ca 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeFormatExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeFormatExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeParsingExtractionFunctionTest.java b/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeParsingExtractionFunctionTest.java index 57a13480..7443b8b1 100644 --- a/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeParsingExtractionFunctionTest.java +++ b/src/test/java/in/zapr/druid/druidry/extractionFunctions/TimeParsingExtractionFunctionTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.extractionFunctions; diff --git a/src/test/java/in/zapr/druid/druidry/filter/AndFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/AndFilterTest.java index f5938d32..fab86984 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/AndFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/AndFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/BoundFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/BoundFilterTest.java index a86a3c09..5add90e7 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/BoundFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/BoundFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/InFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/InFilterTest.java index 71f4af0e..70257788 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/InFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/InFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/IntervalFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/IntervalFilterTest.java index 963d3e50..2f6ed7f6 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/IntervalFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/IntervalFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/JavascriptFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/JavascriptFilterTest.java index 2110c35a..fc8902a4 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/JavascriptFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/JavascriptFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/NotFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/NotFilterTest.java index aa53f82f..3db335a2 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/NotFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/NotFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/OrFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/OrFilterTest.java index 278ae4f1..2d7de6bf 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/OrFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/OrFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/RegexFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/RegexFilterTest.java index d34ece50..54663863 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/RegexFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/RegexFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java b/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java index 161885e6..2d4fbee1 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/SelectorFilterTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter; diff --git a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/ContainsSearchQuerySpecTest.java b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/ContainsSearchQuerySpecTest.java index 5a7d7940..f79a57b9 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/ContainsSearchQuerySpecTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/ContainsSearchQuerySpecTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter.searchQuerySpec; diff --git a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/FragmentSearchQuerySpecTest.java b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/FragmentSearchQuerySpecTest.java index 1a19625a..92ea2d78 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/FragmentSearchQuerySpecTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/FragmentSearchQuerySpecTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter.searchQuerySpec; diff --git a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/InsensitiveContainsSearchQuerySpecTest.java b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/InsensitiveContainsSearchQuerySpecTest.java index 7786552c..a7a7aff4 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/InsensitiveContainsSearchQuerySpecTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/InsensitiveContainsSearchQuerySpecTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter.searchQuerySpec; diff --git a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/RegexSearchQuerySpecTest.java b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/RegexSearchQuerySpecTest.java index 94260674..afac7230 100644 --- a/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/RegexSearchQuerySpecTest.java +++ b/src/test/java/in/zapr/druid/druidry/filter/searchQuerySpec/RegexSearchQuerySpecTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.filter.searchQuerySpec; diff --git a/src/test/java/in/zapr/druid/druidry/granularity/DurationGranularityTest.java b/src/test/java/in/zapr/druid/druidry/granularity/DurationGranularityTest.java index fde24471..26553ace 100644 --- a/src/test/java/in/zapr/druid/druidry/granularity/DurationGranularityTest.java +++ b/src/test/java/in/zapr/druid/druidry/granularity/DurationGranularityTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.granularity; diff --git a/src/test/java/in/zapr/druid/druidry/granularity/PeriodGranularityTest.java b/src/test/java/in/zapr/druid/druidry/granularity/PeriodGranularityTest.java index 9b2fa32f..16d3d475 100644 --- a/src/test/java/in/zapr/druid/druidry/granularity/PeriodGranularityTest.java +++ b/src/test/java/in/zapr/druid/druidry/granularity/PeriodGranularityTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.granularity; diff --git a/src/test/java/in/zapr/druid/druidry/granularity/SimpleGranularityTest.java b/src/test/java/in/zapr/druid/druidry/granularity/SimpleGranularityTest.java index c18f8293..fd2ee778 100644 --- a/src/test/java/in/zapr/druid/druidry/granularity/SimpleGranularityTest.java +++ b/src/test/java/in/zapr/druid/druidry/granularity/SimpleGranularityTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.granularity; diff --git a/src/test/java/in/zapr/druid/druidry/limitSpec/DefaultLimitSpecTest.java b/src/test/java/in/zapr/druid/druidry/limitSpec/DefaultLimitSpecTest.java index d2f97387..cdf86b0e 100644 --- a/src/test/java/in/zapr/druid/druidry/limitSpec/DefaultLimitSpecTest.java +++ b/src/test/java/in/zapr/druid/druidry/limitSpec/DefaultLimitSpecTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.limitSpec; diff --git a/src/test/java/in/zapr/druid/druidry/limitSpec/OrderByColumnSpecMapTest.java b/src/test/java/in/zapr/druid/druidry/limitSpec/OrderByColumnSpecMapTest.java index 1c127a9c..f181a046 100644 --- a/src/test/java/in/zapr/druid/druidry/limitSpec/OrderByColumnSpecMapTest.java +++ b/src/test/java/in/zapr/druid/druidry/limitSpec/OrderByColumnSpecMapTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.limitSpec; diff --git a/src/test/java/in/zapr/druid/druidry/postAggregator/ArithmeticPostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/postAggregator/ArithmeticPostAggregatorTest.java index 7058d425..12eebb83 100644 --- a/src/test/java/in/zapr/druid/druidry/postAggregator/ArithmeticPostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/postAggregator/ArithmeticPostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/postAggregator/ConstantPostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/postAggregator/ConstantPostAggregatorTest.java index 20cecafb..f7288915 100644 --- a/src/test/java/in/zapr/druid/druidry/postAggregator/ConstantPostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/postAggregator/ConstantPostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/postAggregator/FieldAccessPostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/postAggregator/FieldAccessPostAggregatorTest.java index 28177c0a..339ecb03 100644 --- a/src/test/java/in/zapr/druid/druidry/postAggregator/FieldAccessPostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/postAggregator/FieldAccessPostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/postAggregator/HyperUniqueCardinalityPostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/postAggregator/HyperUniqueCardinalityPostAggregatorTest.java index ee518096..189ee1e2 100644 --- a/src/test/java/in/zapr/druid/druidry/postAggregator/HyperUniqueCardinalityPostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/postAggregator/HyperUniqueCardinalityPostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/postAggregator/JavascriptPostAggregatorTest.java b/src/test/java/in/zapr/druid/druidry/postAggregator/JavascriptPostAggregatorTest.java index 1f4ada68..375317d7 100644 --- a/src/test/java/in/zapr/druid/druidry/postAggregator/JavascriptPostAggregatorTest.java +++ b/src/test/java/in/zapr/druid/druidry/postAggregator/JavascriptPostAggregatorTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.postAggregator; diff --git a/src/test/java/in/zapr/druid/druidry/query/aggregation/GroupByTest.java b/src/test/java/in/zapr/druid/druidry/query/aggregation/GroupByTest.java index 8b5de22f..dd1fb5fe 100644 --- a/src/test/java/in/zapr/druid/druidry/query/aggregation/GroupByTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/aggregation/GroupByTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.query.aggregation; diff --git a/src/test/java/in/zapr/druid/druidry/query/aggregation/TimeSeriesTest.java b/src/test/java/in/zapr/druid/druidry/query/aggregation/TimeSeriesTest.java index b5ca342a..38bfb1d7 100644 --- a/src/test/java/in/zapr/druid/druidry/query/aggregation/TimeSeriesTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/aggregation/TimeSeriesTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.query.aggregation; diff --git a/src/test/java/in/zapr/druid/druidry/query/aggregation/TopNQueryTest.java b/src/test/java/in/zapr/druid/druidry/query/aggregation/TopNQueryTest.java index 4a819ec8..0bfc495a 100644 --- a/src/test/java/in/zapr/druid/druidry/query/aggregation/TopNQueryTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/aggregation/TopNQueryTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.query.aggregation; diff --git a/src/test/java/in/zapr/druid/druidry/query/scan/DruidScanQueryTest.java b/src/test/java/in/zapr/druid/druidry/query/scan/DruidScanQueryTest.java index 8057cf3f..dad986c1 100644 --- a/src/test/java/in/zapr/druid/druidry/query/scan/DruidScanQueryTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/scan/DruidScanQueryTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.query.scan; diff --git a/src/test/java/in/zapr/druid/druidry/query/search/DruidSearchQueryTest.java b/src/test/java/in/zapr/druid/druidry/query/search/DruidSearchQueryTest.java index 82ac4c7c..83884b48 100644 --- a/src/test/java/in/zapr/druid/druidry/query/search/DruidSearchQueryTest.java +++ b/src/test/java/in/zapr/druid/druidry/query/search/DruidSearchQueryTest.java @@ -1,19 +1,17 @@ /* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. + * Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. Ltd. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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 in.zapr.druid.druidry.query.search; From cc9b268b237a76ad0a0fd14b3308a55ef3701cf5 Mon Sep 17 00:00:00 2001 From: Gagan Gupta Date: Sun, 20 Jan 2019 19:06:49 +0530 Subject: [PATCH 10/13] #60 Removed wrong License --- .../in/zapr/druid/druidry/ContextTest.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/test/java/in/zapr/druid/druidry/ContextTest.java b/src/test/java/in/zapr/druid/druidry/ContextTest.java index 1311aa51..4bb5442e 100644 --- a/src/test/java/in/zapr/druid/druidry/ContextTest.java +++ b/src/test/java/in/zapr/druid/druidry/ContextTest.java @@ -14,23 +14,7 @@ * limitations under the License. */ -package in.zapr.druid.druidry;/* - * Copyright (c) 2017-present, Red Brick Lane Marketing Solutions Pvt. Ltd. - * All rights reserved. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ +package in.zapr.druid.druidry; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; From 0b926225fee3d50b580e0cd1217683b119465ab4 Mon Sep 17 00:00:00 2001 From: Gagan Gupta Date: Sun, 20 Jan 2019 20:45:19 +0530 Subject: [PATCH 11/13] Updated Jackson version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 58f24cf5..b35b98d6 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ UTF-8 - 2.9.7 + 2.9.8 2.9.7 1.16.14 6.11 From 4d5600f3d27d3b71c5b1b00a4557bef8c5a860ef Mon Sep 17 00:00:00 2001 From: Gagan Gupta Date: Sun, 20 Jan 2019 20:46:04 +0530 Subject: [PATCH 12/13] Adding a new developer --- pom.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b35b98d6..8e0a1318 100644 --- a/pom.xml +++ b/pom.xml @@ -236,13 +236,19 @@ Gagan Gupta gagan@zapr.in ZAPR Media Labs - http://www.zapr.in + https://www.zapr.in Nihit Alamuru nihit@zapr.in ZAPR Media Labs - http://www.zapr.in + https://www.zapr.in + + + Abhi Sapariya + abhi@zapr.in + ZAPR Media Labs + https://www.zapr.in From 1889ef99bba463ec184fb93b4f0860a421300d9f Mon Sep 17 00:00:00 2001 From: Gagan Gupta Date: Sun, 20 Jan 2019 23:02:43 +0530 Subject: [PATCH 13/13] Version bumped to 2.11 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8e0a1318..ecdfe883 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ in.zapr.druid druidry - 2.11-SNAPSHOT + 2.11 Druidry - Druid Java Client Druidry is an open-source Java based utility library which supports creating