polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [06/12] polygene-java git commit: POLYGENE-235: Adding "query" and "indexing" tags to SQL Indexing
Date Sun, 05 Mar 2017 15:45:36 GMT
POLYGENE-235: Adding "query" and "indexing" tags to SQL Indexing


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

Branch: refs/heads/develop
Commit: 9f38f3f51ebef70a90d184db8ed9d3e74bc76f6d
Parents: 32492c0
Author: niclas <niclas@spicter.com>
Authored: Sun Mar 5 13:34:53 2017 +0800
Committer: niclas <niclas@spicter.com>
Committed: Sun Mar 5 13:34:53 2017 +0800

----------------------------------------------------------------------
 .../sql/assembly/AbstractSQLIndexQueryAssembler.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/9f38f3f5/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/assembly/AbstractSQLIndexQueryAssembler.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/assembly/AbstractSQLIndexQueryAssembler.java
b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/assembly/AbstractSQLIndexQueryAssembler.java
index ca02bcb..11f257e 100644
--- a/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/assembly/AbstractSQLIndexQueryAssembler.java
+++ b/extensions/indexing-sql/src/main/java/org/apache/polygene/index/sql/assembly/AbstractSQLIndexQueryAssembler.java
@@ -72,10 +72,11 @@ public abstract class AbstractSQLIndexQueryAssembler<AssemblerType>
                 throw new AssemblyException( "SQL Vendor could not be determined." );
             }
             module.services( getIndexQueryServiceType() )
-                .identifiedBy( identity() )
-                .setMetaInfo( sqlVendor )
-                .visibleIn( visibility() )
-                .instantiateOnStartup();
+                  .taggedWith( "sql", "query", "indexing" )
+                  .identifiedBy( identity() )
+                  .setMetaInfo( sqlVendor )
+                  .visibleIn( visibility() )
+                  .instantiateOnStartup();
         }
         catch( IOException ex )
         {
@@ -86,14 +87,13 @@ public abstract class AbstractSQLIndexQueryAssembler<AssemblerType>
             visibleIn( Visibility.module );
         module.services( ReindexingStrategy.class ).
             withMixins( reindexingStrategy ).
-            visibleIn( Visibility.module );
+                  visibleIn( Visibility.module );
 
         if( hasConfig() )
         {
             configModule().entities( SQLConfiguration.class,
                                      ReindexerConfiguration.class ).
-                visibleIn( configVisibility() );
+                              visibleIn( configVisibility() );
         }
     }
-
 }


Mime
View raw message