You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/03/21 15:31:41 UTC

ignite git commit: IGNITE-3477 - Striped index

Repository: ignite
Updated Branches:
  refs/heads/ignite-3477-master f47522211 -> 16d653158


IGNITE-3477 - Striped index


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/16d65315
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/16d65315
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/16d65315

Branch: refs/heads/ignite-3477-master
Commit: 16d653158493417058312d32f8259a37132964f5
Parents: f475222
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Tue Mar 21 18:31:30 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Tue Mar 21 18:31:30 2017 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/database/H2TreeIndex.java    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/16d65315/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/H2TreeIndex.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/H2TreeIndex.java b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/H2TreeIndex.java
index 19f7bc6..0087fab 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/H2TreeIndex.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/H2TreeIndex.java
@@ -295,7 +295,12 @@ public class H2TreeIndex extends GridH2IndexBase {
     }
 
     /** {@inheritDoc} */
-    protected GridCursor<GridH2Row> doFind0(
+    @Override protected <K, V> IgniteTree<K, V> treeForRead(int segment) {
+        return (IgniteTree<K, V>)tree;
+    }
+
+    /** {@inheritDoc} */
+    @Override protected GridCursor<GridH2Row> doFind0(
         IgniteTree t,
         @Nullable SearchRow first,
         boolean includeFirst,