ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [10/48] incubator-ignite git commit: #ignite-738: Remove method createSqlQuery from CacheQueries.
Date Thu, 16 Apr 2015 08:38:10 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/36f6440c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/36f6440c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/36f6440c

Branch: refs/heads/ignite-737
Commit: 36f6440ca55d4c567a2244d8f2ef80991222f7bc
Parents: b388252
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Mon Apr 13 17:58:40 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Mon Apr 13 17:58:40 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/query/CacheQueries.java   | 10 ----------
 .../processors/cache/query/GridCacheQueriesProxy.java   | 12 ------------
 2 files changed, 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/36f6440c/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQueries.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQueries.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQueries.java
index 3dcb82a..aedf1b0 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQueries.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQueries.java
@@ -39,16 +39,6 @@ public interface CacheQueries<K, V> {
      * Creates user's SQL query, queried class, and query clause which is generally
      * a where clause. For more information refer to {@link CacheQuery} documentation.
      *
-     * @param cls Query class.
-     * @param clause Query clause.
-     * @return Created query.
-     */
-    public CacheQuery<Map.Entry<K, V>> createSqlQuery(Class<?> cls, String
clause);
-
-    /**
-     * Creates user's SQL query, queried class, and query clause which is generally
-     * a where clause. For more information refer to {@link CacheQuery} documentation.
-     *
      * @param clsName Query class name.
      * @param clause Query clause.
      * @return Created query.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/36f6440c/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesProxy.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesProxy.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesProxy.java
index 9178cec..07b422c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesProxy.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesProxy.java
@@ -78,18 +78,6 @@ public class GridCacheQueriesProxy<K, V> implements GridCacheQueriesEx<K,
V>, Ex
     }
 
     /** {@inheritDoc} */
-    @Override public CacheQuery<Map.Entry<K, V>> createSqlQuery(Class<?>
cls, String clause) {
-        GridCacheProjectionImpl<K, V> prev = gate.enter(prj);
-
-        try {
-            return delegate.createSqlQuery(cls, clause);
-        }
-        finally {
-            gate.leave(prev);
-        }
-    }
-
-    /** {@inheritDoc} */
     @Override public CacheQuery<Map.Entry<K, V>> createSqlQuery(String clsName,
String clause) {
         GridCacheProjectionImpl<K, V> prev = gate.enter(prj);
 


Mime
View raw message