ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: # IGNITE-32: fixed typo.
Date Mon, 02 Feb 2015 06:55:28 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-32 1a14dacc9 -> e1b03b7e4


# IGNITE-32: fixed typo.


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

Branch: refs/heads/ignite-32
Commit: e1b03b7e4ebe3e65f94384cae3e86b6f3d967444
Parents: 1a14dac
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Feb 2 13:55:34 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Feb 2 13:55:34 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/cache/query/CacheQueryTableMetadata.java | 6 +++---
 .../org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java     | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e1b03b7e/modules/core/src/main/java/org/apache/ignite/cache/query/CacheQueryTableMetadata.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/query/CacheQueryTableMetadata.java
b/modules/core/src/main/java/org/apache/ignite/cache/query/CacheQueryTableMetadata.java
index d2418d6..13e584e 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/query/CacheQueryTableMetadata.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/query/CacheQueryTableMetadata.java
@@ -54,7 +54,7 @@ public class CacheQueryTableMetadata {
      */
     public CacheQueryTableMetadata(CacheQueryTableMetadata src) {
         schema = src.getSchema();
-        tbl = src.getTableName();
+        tbl = src.getTable();
 
         keyCols = new ArrayList<>(src.getKeyColumns());
         valCols = new ArrayList<>(src.getValueColumns());
@@ -83,7 +83,7 @@ public class CacheQueryTableMetadata {
      *
      * @return Table name in database.
      */
-    public String getTableName() {
+    public String getTable() {
         return tbl;
     }
 
@@ -92,7 +92,7 @@ public class CacheQueryTableMetadata {
      *
      * @param tbl Table name in database.
      */
-    public void setTableName(String tbl) {
+    public void setTable(String tbl) {
         this.tbl = tbl;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e1b03b7e/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
index b6887f0..41a4024 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
@@ -1177,7 +1177,7 @@ public abstract class JdbcCacheStore<K, V> extends CacheStore<K,
V> {
 
             String schema = tblMeta.getSchema();
 
-            String tblName = tblMeta.getTableName();
+            String tblName = tblMeta.getTable();
 
             keyCols = databaseColumns(keyFields);
 
@@ -1234,7 +1234,7 @@ public abstract class JdbcCacheStore<K, V> extends CacheStore<K,
V> {
             if (keyCnt == 1)
                 return loadQrySingle;
 
-            return dialect.loadQuery(tblMeta.getSchema(), tblMeta.getTableName(), keyCols,
cols, keyCnt);
+            return dialect.loadQuery(tblMeta.getSchema(), tblMeta.getTable(), keyCols, cols,
keyCnt);
         }
         /**
          * Construct query for select values in range.
@@ -1244,7 +1244,7 @@ public abstract class JdbcCacheStore<K, V> extends CacheStore<K,
V> {
          * @return Query with range.
          */
         protected String loadCacheRangeQuery(boolean appendLowerBound, boolean appendUpperBound)
{
-            return dialect.loadCacheRangeQuery(tblMeta.getSchema(), tblMeta.getTableName(),
keyCols, cols,
+            return dialect.loadCacheRangeQuery(tblMeta.getSchema(), tblMeta.getTable(), keyCols,
cols,
                 appendLowerBound, appendUpperBound);
         }
 


Mime
View raw message