Repository: phoenix Updated Branches: refs/heads/master 86dae1ed7 -> 7d22ca582
PHOENIX-4255 Addendum Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/7d22ca58 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7d22ca58 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7d22ca58 Branch: refs/heads/master Commit: 7d22ca582665facda4d075bc27b64f7c0f8b5821 Parents: 86dae1e Author: Samarth Jain <sama...@apache.org> Authored: Thu Sep 28 23:49:17 2017 -0700 Committer: Samarth Jain <sama...@apache.org> Committed: Thu Sep 28 23:49:17 2017 -0700 ---------------------------------------------------------------------- ...mnEncodedImmutableNonTxStatsCollectorIT.java | 38 ++++++++++++++++++++ ...olumnEncodedImmutableTxStatsCollectorIT.java | 38 ++++++++++++++++++++ ...lumnEncodedMutableNonTxStatsCollectorIT.java | 38 ++++++++++++++++++++ .../ColumnEncodedMutableTxStatsCollectorIT.java | 38 ++++++++++++++++++++ ...mnEncodedImmutableNonTxStatsCollectorIT.java | 38 ++++++++++++++++++++ ...olumnEncodedImmutableTxStatsCollectorIT.java | 38 ++++++++++++++++++++ 6 files changed, 228 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/7d22ca58/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableNonTxStatsCollectorIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableNonTxStatsCollectorIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableNonTxStatsCollectorIT.java new file mode 100644 index 0000000..7ef825e --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableNonTxStatsCollectorIT.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import java.util.Arrays; +import java.util.Collection; + +import org.junit.runners.Parameterized.Parameters; + +public class ColumnEncodedImmutableNonTxStatsCollectorIT extends StatsCollectorIT { + + public ColumnEncodedImmutableNonTxStatsCollectorIT(boolean mutable, boolean transactional, + boolean userTableNamespaceMapped, boolean columnEncoded) { + super(mutable, transactional, userTableNamespaceMapped, columnEncoded); + } + + @Parameters(name="columnEncoded = {0}, mutable = {1}, transactional = {2}, isUserTableNamespaceMapped = {3}") + public static Collection<Boolean[]> data() { + return Arrays.asList(new Boolean[][] { + { true, false, false, false }, { true, false, false, true } + }); + } +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/7d22ca58/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableTxStatsCollectorIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableTxStatsCollectorIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableTxStatsCollectorIT.java new file mode 100644 index 0000000..0c6934b --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedImmutableTxStatsCollectorIT.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import java.util.Arrays; +import java.util.Collection; + +import org.junit.runners.Parameterized.Parameters; + +public class ColumnEncodedImmutableTxStatsCollectorIT extends StatsCollectorIT { + + public ColumnEncodedImmutableTxStatsCollectorIT(boolean mutable, boolean transactional, + boolean userTableNamespaceMapped, boolean columnEncoded) { + super(mutable, transactional, userTableNamespaceMapped, columnEncoded); + } + + @Parameters( + name = "columnEncoded = {0}, mutable = {1}, transactional = {2}, isUserTableNamespaceMapped = {3}") + public static Collection<Boolean[]> data() { + return Arrays.asList( + new Boolean[][] { { true, false, true, false }, { true, false, true, true }, }); + } +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/7d22ca58/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableNonTxStatsCollectorIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableNonTxStatsCollectorIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableNonTxStatsCollectorIT.java new file mode 100644 index 0000000..3cd81c7 --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableNonTxStatsCollectorIT.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import java.util.Arrays; +import java.util.Collection; + +import org.junit.runners.Parameterized.Parameters; + +public class ColumnEncodedMutableNonTxStatsCollectorIT extends StatsCollectorIT { + + public ColumnEncodedMutableNonTxStatsCollectorIT(boolean mutable, boolean transactional, + boolean userTableNamespaceMapped, boolean columnEncoded) { + super(mutable, transactional, userTableNamespaceMapped, columnEncoded); + } + + @Parameters( + name = "columnEncoded = {0}, mutable = {1}, transactional = {2}, isUserTableNamespaceMapped = {3}") + public static Collection<Boolean[]> data() { + return Arrays.asList( + new Boolean[][] { { true, true, false, false }, { true, true, false, true } }); + } +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/7d22ca58/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableTxStatsCollectorIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableTxStatsCollectorIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableTxStatsCollectorIT.java new file mode 100644 index 0000000..e4a2734 --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ColumnEncodedMutableTxStatsCollectorIT.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import java.util.Arrays; +import java.util.Collection; + +import org.junit.runners.Parameterized.Parameters; + +public class ColumnEncodedMutableTxStatsCollectorIT extends StatsCollectorIT { + + public ColumnEncodedMutableTxStatsCollectorIT(boolean mutable, boolean transactional, + boolean userTableNamespaceMapped, boolean columnEncoded) { + super(mutable, transactional, userTableNamespaceMapped, columnEncoded); + } + + @Parameters( + name = "columnEncoded = {0}, mutable = {1}, transactional = {2}, isUserTableNamespaceMapped = {3}") + public static Collection<Boolean[]> data() { + return Arrays.asList( + new Boolean[][] { { true, true, true, false }, { true, true, true, true } }); + } +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/7d22ca58/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableNonTxStatsCollectorIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableNonTxStatsCollectorIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableNonTxStatsCollectorIT.java new file mode 100644 index 0000000..792752f --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableNonTxStatsCollectorIT.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import java.util.Arrays; +import java.util.Collection; + +import org.junit.runners.Parameterized.Parameters; + +public class NonColumnEncodedImmutableNonTxStatsCollectorIT extends StatsCollectorIT { + + public NonColumnEncodedImmutableNonTxStatsCollectorIT(boolean mutable, boolean transactional, + boolean userTableNamespaceMapped, boolean columnEncoded) { + super(mutable, transactional, userTableNamespaceMapped, columnEncoded); + } + + @Parameters( + name = "columnEncoded = {0}, mutable = {1}, transactional = {2}, isUserTableNamespaceMapped = {3}") + public static Collection<Boolean[]> data() { + return Arrays.asList( + new Boolean[][] { { false, false, false, false }, { false, false, false, true } }); + } +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/7d22ca58/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableTxStatsCollectorIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableTxStatsCollectorIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableTxStatsCollectorIT.java new file mode 100644 index 0000000..8df50cb --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NonColumnEncodedImmutableTxStatsCollectorIT.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import java.util.Arrays; +import java.util.Collection; + +import org.junit.runners.Parameterized.Parameters; + +public class NonColumnEncodedImmutableTxStatsCollectorIT extends StatsCollectorIT { + + public NonColumnEncodedImmutableTxStatsCollectorIT(boolean mutable, boolean transactional, + boolean userTableNamespaceMapped, boolean columnEncoded) { + super(mutable, transactional, userTableNamespaceMapped, columnEncoded); + } + + @Parameters( + name = "columnEncoded = {0}, mutable = {1}, transactional = {2}, isUserTableNamespaceMapped = {3}") + public static Collection<Boolean[]> data() { + return Arrays.asList( + new Boolean[][] { { false, false, true, false }, { false, false, true, true } }); + } +}