#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-gg-9613
Commit: ec2d55e309042f592fa116f3240c9ae413a7fcac
Parents: 36f6440
Author: ivasilinets <ivasilin...@gridgain.com>
Authored: Mon Apr 13 17:59:15 2015 +0300
Committer: ivasilinets <ivasilin...@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);

Reply via email to