You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2017/09/27 09:24:11 UTC
[4/4] ignite git commit: IGNITE-6331: Removed unused SQL-related code
and fixed warnings. This closes #2760.
IGNITE-6331: Removed unused SQL-related code and fixed warnings. This closes #2760.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4a095674
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4a095674
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4a095674
Branch: refs/heads/master
Commit: 4a095674e3ba327a1366ebcc311daf2297bb4d24
Parents: 7f82340
Author: devozerov <vo...@gridgain.com>
Authored: Wed Sep 27 12:23:53 2017 +0300
Committer: devozerov <vo...@gridgain.com>
Committed: Wed Sep 27 12:23:53 2017 +0300
----------------------------------------------------------------------
.../offheap/unsafe/GridOffHeapSmartPointer.java | 38 -
.../unsafe/GridOffHeapSmartPointerFactory.java | 29 -
.../offheap/unsafe/GridOffHeapSnapTreeMap.java | 4525 ------------------
.../unsafe/GridUnsafeCompoundMemory.java | 35 -
.../util/offheap/unsafe/GridUnsafeGuard.java | 376 --
.../unsafe/GridOffheapSnapTreeSelfTest.java | 326 --
.../unsafe/GridUnsafeMemoryPerformanceTest.java | 65 -
.../unsafe/GridUnsafeMemorySelfTest.java | 192 -
.../IgniteSpiIndexingSelfTestSuite.java | 38 -
.../ignite/testsuites/IgniteSpiTestSuite.java | 3 -
.../query/h2/opt/GridH2SpatialIndex.java | 11 +-
.../cache/query/CacheQueryPartitionInfo.java | 1 +
.../query/h2/DmlStatementsProcessor.java | 2 +-
.../processors/query/h2/H2DatabaseType.java | 2 +-
.../query/h2/H2ResultSetIterator.java | 3 +-
.../processors/query/h2/H2RowDescriptor.java | 79 +-
.../internal/processors/query/h2/H2Schema.java | 11 -
.../processors/query/h2/H2TableDescriptor.java | 18 +-
.../query/h2/H2TwoStepCachedQueryKey.java | 1 +
.../processors/query/h2/IgniteH2Indexing.java | 17 +-
.../query/h2/database/H2PkHashIndex.java | 26 -
.../processors/query/h2/database/H2Tree.java | 1 +
.../query/h2/database/H2TreeIndex.java | 14 -
.../query/h2/database/InlineIndexHelper.java | 3 +-
.../query/h2/database/io/H2ExtrasInnerIO.java | 6 +-
.../query/h2/database/io/H2ExtrasLeafIO.java | 2 +
.../query/h2/database/util/CompareUtils.java | 332 --
.../query/h2/dml/UpdatePlanBuilder.java | 6 +-
.../query/h2/opt/GridH2AbstractKeyValueRow.java | 454 --
.../query/h2/opt/GridH2CollocationModel.java | 18 +-
.../query/h2/opt/GridH2IndexBase.java | 12 +-
.../query/h2/opt/GridH2KeyValueRowOffheap.java | 328 --
.../query/h2/opt/GridH2KeyValueRowOnheap.java | 242 +-
.../query/h2/opt/GridH2QueryContext.java | 4 +
.../processors/query/h2/opt/GridH2Row.java | 17 +-
.../query/h2/opt/GridH2RowDescriptor.java | 37 +-
.../processors/query/h2/opt/GridH2Table.java | 44 +-
.../query/h2/opt/GridLuceneDirectory.java | 12 +-
.../processors/query/h2/opt/GridLuceneFile.java | 6 +-
.../query/h2/opt/GridLuceneIndex.java | 11 +-
.../query/h2/opt/GridSearchRowPointer.java | 28 -
.../processors/query/h2/sql/DmlAstUtils.java | 13 +-
.../processors/query/h2/sql/GridSqlArray.java | 8 -
.../processors/query/h2/sql/GridSqlColumn.java | 7 -
.../query/h2/sql/GridSqlFunction.java | 2 +-
.../query/h2/sql/GridSqlQuerySplitter.java | 14 +-
.../query/h2/twostep/GridMergeIndex.java | 1 +
.../query/h2/twostep/msg/GridH2Geometry.java | 2 +-
.../query/h2/twostep/msg/GridH2Null.java | 1 +
.../cache/index/DynamicColumnsAbstractTest.java | 4 +-
50 files changed, 303 insertions(+), 7124 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/4a095674/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointer.java b/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointer.java
deleted file mode 100644
index 273ea89..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointer.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.internal.util.offheap.unsafe;
-
-/**
- * Smart pointer with reference counting.
- */
-public interface GridOffHeapSmartPointer {
- /**
- * @return Pointer address.
- */
- public long pointer();
-
- /**
- * Increment reference count.
- */
- public void incrementRefCount();
-
- /**
- * Decrement reference count.
- */
- public void decrementRefCount();
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ignite/blob/4a095674/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointerFactory.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointerFactory.java b/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointerFactory.java
deleted file mode 100644
index b8b24bb..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridOffHeapSmartPointerFactory.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.internal.util.offheap.unsafe;
-
-/**
- * Factory to create smart pointer instances.
- */
-public interface GridOffHeapSmartPointerFactory<T extends GridOffHeapSmartPointer> {
- /**
- * @param ptr Pointer.
- * @return Smart pointer instance (may or may not return the same instance multiple times).
- */
- public T createPointer(long ptr);
-}
\ No newline at end of file