ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [11/48] incubator-ignite git commit: #ignite-738: Remove method createSqlQuery from CacheQueries.
Date Thu, 16 Apr 2015 08:38:11 GMT
#ignite-738: Remove method createSqlQuery from CacheQueries.


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

Branch: refs/heads/ignite-737
Commit: ec2d55e309042f592fa116f3240c9ae413a7fcac
Parents: 36f6440
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Mon Apr 13 17:59:15 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Mon Apr 13 17:59:15 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/query/GridCacheQueriesImpl.java  | 14 --------------
 1 file changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ec2d55e3/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
index aca1ff0..535ab14 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
@@ -63,20 +63,6 @@ public class GridCacheQueriesImpl<K, V> implements GridCacheQueriesEx<K,
V> {
     }
 
     /** {@inheritDoc} */
-    @Override public CacheQuery<Map.Entry<K, V>> createSqlQuery(Class<?>
cls, String clause) {
-        A.notNull(cls, "cls");
-        A.notNull(clause, "clause");
-
-        return new GridCacheQueryAdapter<>(ctx,
-            SQL,
-            ctx.kernalContext().query().typeName(U.box(cls)),
-            clause,
-            null,
-            false,
-            prj != null && prj.isKeepPortable());
-    }
-
-    /** {@inheritDoc} */
     @Override public CacheQuery<Map.Entry<K, V>> createSqlQuery(String clsName,
String clause) {
         A.notNull("clsName", clsName);
         A.notNull("clause", clause);


Mime
View raw message