ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [24/50] [abbrv] ignite git commit: ignite-db - leaf
Date Tue, 19 Apr 2016 12:58:41 GMT
ignite-db - leaf


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

Branch: refs/heads/ignite-db-x-10884
Commit: 43326c6214dcb6dc531ed10f0b81a2f74bfc71e1
Parents: 8218c2d
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Wed Apr 13 00:44:41 2016 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Wed Apr 13 00:44:41 2016 +0300

----------------------------------------------------------------------
 .../cache/database/tree/io/BPlusLeafIO.java        | 17 ++++-------------
 .../processors/query/h2/database/io/H2LeafIO.java  |  5 -----
 2 files changed, 4 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/43326c62/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/io/BPlusLeafIO.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/io/BPlusLeafIO.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/io/BPlusLeafIO.java
index 73ba044..cc72a99 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/io/BPlusLeafIO.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/io/BPlusLeafIO.java
@@ -43,19 +43,10 @@ public abstract class BPlusLeafIO<L> extends BPlusIO<L> {
         return (buf.capacity() - ITEMS_OFF) >>> 3; // divide by ITEM_SIZE
     }
 
-//        /** {@inheritDoc} */
-//        @Override public long getLink(ByteBuffer buf, int idx) {
-//            assert idx < getCount(buf): idx;
-//
-//            return buf.getLong(offset(idx));
-//        }
-//
-//        /** {@inheritDoc} */
-//        @Override public void setLink(ByteBuffer buf, int idx, long link) {
-//            buf.putLong(offset(idx), link);
-//
-//            assert getLink(buf, idx) == link;
-//        }
+    /** {@inheritDoc} */
+    @Override public final boolean canGetRow() {
+        return true;
+    }
 
     /** {@inheritDoc} */
     @Override public void copyItems(ByteBuffer src, ByteBuffer dst, int srcIdx, int dstIdx,
int cnt,

http://git-wip-us.apache.org/repos/asf/ignite/blob/43326c62/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/io/H2LeafIO.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/io/H2LeafIO.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/io/H2LeafIO.java
index b06d557..215d856 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/io/H2LeafIO.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/io/H2LeafIO.java
@@ -62,11 +62,6 @@ public class H2LeafIO extends BPlusLeafIO<SearchRow> implements H2RowLinkIO
{
     }
 
     /** {@inheritDoc} */
-    @Override public boolean canGetRow() {
-        return true; // We can get row from link.
-    }
-
-    /** {@inheritDoc} */
     @Override public long getLink(ByteBuffer buf, int idx) {
         assert idx < getCount(buf): idx;
 


Mime
View raw message