polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [14/50] [abbrv] polygene-java git commit: :extensions:indexing-sql refine
Date Tue, 16 May 2017 18:51:06 GMT
:extensions:indexing-sql refine


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/fc8d5740
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/fc8d5740
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/fc8d5740

Branch: refs/heads/master
Commit: fc8d5740f2a23aeda335a66d48c2419377618642
Parents: 6828f35
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon May 15 11:11:22 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon May 15 11:11:22 2017 +0200

----------------------------------------------------------------------
 .../apache/polygene/index/sql/SQLIndexingEngineService.java    | 3 +--
 .../org/apache/polygene/index/sql/support/api/SQLQuerying.java | 6 +++---
 .../polygene/index/sql/support/common/RebuildingStrategy.java  | 6 +++---
 .../polygene/index/sql/support/common/ReindexingStrategy.java  | 6 +++---
 .../index/sql/support/postgresql/PostgreSQLTypeHelper.java     | 2 +-
 5 files changed, 11 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/fc8d5740/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/SQLIndexingEngineService.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/SQLIndexingEngineService.java
b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/SQLIndexingEngineService.java
index c38ecac..e43d465 100644
--- a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/SQLIndexingEngineService.java
+++ b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/SQLIndexingEngineService.java
@@ -20,7 +20,6 @@
 package org.apache.polygene.index.sql;
 
 import org.apache.polygene.api.mixin.Mixins;
-import org.apache.polygene.api.service.ServiceComposite;
 import org.apache.polygene.index.sql.internal.SQLEntityFinder;
 import org.apache.polygene.index.sql.internal.SQLStateChangeListener;
 import org.apache.polygene.spi.entitystore.StateChangeListener;
@@ -40,6 +39,6 @@ import org.apache.polygene.spi.query.EntityFinder;
     SQLStateChangeListener.class
 } )
 public interface SQLIndexingEngineService
-        extends StateChangeListener, EntityFinder, ServiceComposite
+        extends StateChangeListener, EntityFinder
 {
 }

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/fc8d5740/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/api/SQLQuerying.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/api/SQLQuerying.java
b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/api/SQLQuerying.java
index 2f22fbe..e5722df 100644
--- a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/api/SQLQuerying.java
+++ b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/api/SQLQuerying.java
@@ -53,7 +53,7 @@ public interface SQLQuerying
      * @return The SQL query, which may be used with {@link PreparedStatement}.
      * @throws EntityFinderException If SQLException or something else bad happens.
      */
-    public String constructQuery( //
+    String constructQuery( //
         Class<?> resultType, //
         @Optional Predicate<Composite> whereClause, //
         @Optional List<OrderBy> orderBySegments, //
@@ -66,9 +66,9 @@ public interface SQLQuerying
     )
         throws EntityFinderException;
 
-    public Boolean isFirstResultSettingSupported();
+    Boolean isFirstResultSettingSupported();
 
-    public Integer getResultSetType( //
+    Integer getResultSetType( //
         @Optional Integer firstResult, //
         @Optional Integer maxResults //
     );

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/fc8d5740/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/RebuildingStrategy.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/RebuildingStrategy.java
b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/RebuildingStrategy.java
index d0fefa7..3d76262 100644
--- a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/RebuildingStrategy.java
+++ b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/RebuildingStrategy.java
@@ -36,7 +36,7 @@ public interface RebuildingStrategy
      * The re-building strategy which ALWAYS re-builds the database schema. Useful with tests
and
      * during early development stage of application.
      */
-    public class AlwaysNeed
+    class AlwaysNeed
         implements RebuildingStrategy
     {
         @Override
@@ -50,7 +50,7 @@ public interface RebuildingStrategy
      * The re-building strategy which NEVER re-builds the database schema. Useful when current
      * Polygene-related database schema structure must be preserved at all costs.
      */
-    public class NeverNeed
+    class NeverNeed
         implements RebuildingStrategy
     {
         @Override
@@ -65,7 +65,7 @@ public interface RebuildingStrategy
      * when migration from versions is implemented, or when application structure changes
along with
      * version (but not during same version).
      */
-    public class NeedOnChange
+    class NeedOnChange
         implements RebuildingStrategy
     {
         @Override

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/fc8d5740/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/ReindexingStrategy.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/ReindexingStrategy.java
b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/ReindexingStrategy.java
index 807b24a..7606cdf 100644
--- a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/ReindexingStrategy.java
+++ b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/common/ReindexingStrategy.java
@@ -36,7 +36,7 @@ public interface ReindexingStrategy
      * The re-indexing strategy which ALWAYS re-indexes everything. Useful with tests and
during
      * early development stage of application.
      */
-    public class AlwaysNeed
+    class AlwaysNeed
         implements ReindexingStrategy
     {
         @Override
@@ -50,7 +50,7 @@ public interface ReindexingStrategy
      * The re-indexing strategy which NEVER re-indexes anything. Useful when deleting and
re-reading
      * data is something to be avoided at all costs.
      */
-    public class NeverNeed
+    class NeverNeed
         implements ReindexingStrategy
     {
         @Override
@@ -65,7 +65,7 @@ public interface ReindexingStrategy
      * Useful when migration from versions is implemented, or when application structure
changes
      * along with version (but not during same version).
      */
-    public class NeedOnChange
+    class NeedOnChange
         implements ReindexingStrategy
     {
         @Override

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/fc8d5740/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/postgresql/PostgreSQLTypeHelper.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/postgresql/PostgreSQLTypeHelper.java
b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/postgresql/PostgreSQLTypeHelper.java
index 0ef14c6..f3c4b4d 100644
--- a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/postgresql/PostgreSQLTypeHelper.java
+++ b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/support/postgresql/PostgreSQLTypeHelper.java
@@ -52,7 +52,7 @@ public interface PostgreSQLTypeHelper
 
     Integer getSQLType( Object primitive );
 
-    public class SQLTypeHelperMixin
+    class SQLTypeHelperMixin
         implements PostgreSQLTypeHelper
     {
 


Mime
View raw message