@@ -105,11 +105,36 @@ public class FedXRepositoryConfig extends AbstractRepositoryImplConfig {
105105 */
106106 public static final IRI MEMBER = vf .createIRI (NAMESPACE , "member" );
107107
108+ /**
109+ * IRI of the property populating {@link FedXConfig#getJoinWorkerThreads()}
110+ */
111+ public static final IRI CONFIG_JOIN_WORKER_THREADS = vf .createIRI (NAMESPACE , "joinWorkerThreads" );
112+
113+ /**
114+ * IRI of the property populating {@link FedXConfig#getUnionWorkerThreads()}
115+ */
116+ public static final IRI CONFIG_UNION_WORKER_THREADS = vf .createIRI (NAMESPACE , "unionWorkerThreads" );
117+
118+ /**
119+ * IRI of the property populating {@link FedXConfig#getLeftJoinWorkerThreads()}
120+ */
121+ public static final IRI CONFIG_LEFT_JOIN_WORKER_THREADS = vf .createIRI (NAMESPACE , "leftJoinWorkerThreads" );
122+
123+ /**
124+ * IRI of the property populating {@link FedXConfig#getBoundJoinBlockSize()}
125+ */
126+ public static final IRI CONFIG_BOUND_JOIN_BLOCK_SIZE = vf .createIRI (NAMESPACE , "boundJoinBlockSize" );
127+
108128 /**
109129 * IRI of the property populating {@link FedXConfig#getEnforceMaxQueryTime()}
110130 */
111131 public static final IRI CONFIG_ENFORCE_MAX_QUERY_TIME = vf .createIRI (NAMESPACE , "enforceMaxQueryTime" );
112132
133+ /**
134+ * IRI of the property populating {@link FedXConfig#getEnableServiceAsBoundJoin()}
135+ */
136+ public static final IRI CONFIG_ENABLE_SERVICE_AS_BOUND_JOIN = vf .createIRI (NAMESPACE , "enableServiceAsBoundJoin" );
137+
113138 /**
114139 * IRI of the property populating {@link FedXConfig#isEnableMonitoring()}
115140 */
@@ -120,21 +145,36 @@ public class FedXRepositoryConfig extends AbstractRepositoryImplConfig {
120145 */
121146 public static final IRI CONFIG_LOG_QUERY_PLAN = vf .createIRI (NAMESPACE , "logQueryPlan" );
122147
148+ /**
149+ * IRI of the property populating {@link FedXConfig#isLogQueries()}
150+ */
151+ public static final IRI CONFIG_LOG_QUERIES = vf .createIRI (NAMESPACE , "logQueries" );
152+
123153 /**
124154 * IRI of the property populating {@link FedXConfig#isDebugQueryPlan()}
125155 */
126156 public static final IRI CONFIG_DEBUG_QUERY_PLAN = vf .createIRI (NAMESPACE , "debugQueryPlan" );
127157
128158 /**
129- * IRI of the property populating {@link FedXConfig#isLogQueries ()}
159+ * IRI of the property populating {@link FedXConfig#getIncludeInferredDefault ()}
130160 */
131- public static final IRI CONFIG_LOG_QUERIES = vf .createIRI (NAMESPACE , "logQueries " );
161+ public static final IRI CONFIG_INCLUDE_INFERRED_DEFAULT = vf .createIRI (NAMESPACE , "includeInferredDefault " );
132162
133163 /**
134164 * IRI of the property populating {@link FedXConfig#getSourceSelectionCacheSpec()}
135165 */
136166 public static final IRI CONFIG_SOURCE_SELECTION_CACHE_SPEC = vf .createIRI (NAMESPACE , "sourceSelectionCacheSpec" );
137167
168+ /**
169+ * IRI of the property populating {@link FedXConfig#getPrefixDeclarations()}
170+ */
171+ public static final IRI CONFIG_PREFIX_DECLARATIONS = vf .createIRI (NAMESPACE , "prefixDeclarations" );
172+
173+ /**
174+ * IRI of the property populating {@link FedXConfig#getConsumingIterationMax()}
175+ */
176+ public static final IRI CONFIG_CONSUMING_ITERATION_MAX = vf .createIRI (NAMESPACE , "consumingIterationMax" );
177+
138178 /**
139179 * the location of the data configuration
140180 */
@@ -273,23 +313,48 @@ private void parseFedXConfigInternal(Model m, Resource confNode) throws Reposito
273313 setConfig (new FedXConfig ());
274314 }
275315
316+ Models .objectLiteral (m .getStatements (confNode , CONFIG_JOIN_WORKER_THREADS , null ))
317+ .ifPresent (value -> config .withJoinWorkerThreads (value .intValue ()));
318+
319+ Models .objectLiteral (m .getStatements (confNode , CONFIG_UNION_WORKER_THREADS , null ))
320+ .ifPresent (value -> config .withUnionWorkerThreads (value .intValue ()));
321+
322+ Models .objectLiteral (m .getStatements (confNode , CONFIG_LEFT_JOIN_WORKER_THREADS , null ))
323+ .ifPresent (value -> config .withLeftJoinWorkerThreads (value .intValue ()));
324+
325+ Models .objectLiteral (m .getStatements (confNode , CONFIG_BOUND_JOIN_BLOCK_SIZE , null ))
326+ .ifPresent (value -> config .withBoundJoinBlockSize (value .intValue ()));
327+
276328 Models .objectLiteral (m .getStatements (confNode , CONFIG_ENFORCE_MAX_QUERY_TIME , null ))
277329 .ifPresent (value -> config .withEnforceMaxQueryTime (value .intValue ()));
278330
331+ Models .objectLiteral (m .getStatements (confNode , CONFIG_ENABLE_SERVICE_AS_BOUND_JOIN , null ))
332+ .ifPresent (value -> config .withEnableServiceAsBoundJoin (value .booleanValue ()));
333+
279334 Models .objectLiteral (m .getStatements (confNode , CONFIG_ENABLE_MONITORING , null ))
280335 .ifPresent (value -> config .withEnableMonitoring (value .booleanValue ()));
281336
282337 Models .objectLiteral (m .getStatements (confNode , CONFIG_LOG_QUERY_PLAN , null ))
283338 .ifPresent (value -> config .withLogQueryPlan (value .booleanValue ()));
284339
340+ Models .objectLiteral (m .getStatements (confNode , CONFIG_LOG_QUERIES , null ))
341+ .ifPresent (value -> config .withLogQueries (value .booleanValue ()));
342+
285343 Models .objectLiteral (m .getStatements (confNode , CONFIG_DEBUG_QUERY_PLAN , null ))
286344 .ifPresent (value -> config .withDebugQueryPlan (value .booleanValue ()));
287345
288- Models .objectLiteral (m .getStatements (confNode , CONFIG_LOG_QUERIES , null ))
289- .ifPresent (value -> config .withLogQueries (value .booleanValue ()));
346+ Models .objectLiteral (m .getStatements (confNode , CONFIG_INCLUDE_INFERRED_DEFAULT , null ))
347+ .ifPresent (value -> config .withIncludeInferredDefault (value .booleanValue ()));
290348
291349 Models .objectLiteral (m .getStatements (confNode , CONFIG_SOURCE_SELECTION_CACHE_SPEC , null ))
292350 .ifPresent (value -> config .withSourceSelectionCacheSpec (value .stringValue ()));
351+
352+ Models .objectLiteral (m .getStatements (confNode , CONFIG_PREFIX_DECLARATIONS , null ))
353+ .ifPresent (value -> config .withPrefixDeclarations (value .stringValue ()));
354+
355+ Models .objectLiteral (m .getStatements (confNode , CONFIG_CONSUMING_ITERATION_MAX , null ))
356+ .ifPresent (value -> config .withConsumingIterationMax (value .intValue ()));
357+
293358 }
294359
295360 /**
@@ -306,21 +371,41 @@ protected void exportFedXConfig(Model model, Resource implNode) {
306371
307372 BNode confNode = Values .bnode ();
308373
374+ model .add (confNode , CONFIG_JOIN_WORKER_THREADS , vf .createLiteral (config .getJoinWorkerThreads ()));
375+
376+ model .add (confNode , CONFIG_UNION_WORKER_THREADS , vf .createLiteral (config .getUnionWorkerThreads ()));
377+
378+ model .add (confNode , CONFIG_LEFT_JOIN_WORKER_THREADS , vf .createLiteral (config .getLeftJoinWorkerThreads ()));
379+
380+ model .add (confNode , CONFIG_BOUND_JOIN_BLOCK_SIZE , vf .createLiteral (config .getBoundJoinBlockSize ()));
381+
309382 model .add (confNode , CONFIG_ENFORCE_MAX_QUERY_TIME , vf .createLiteral (config .getEnforceMaxQueryTime ()));
310383
384+ model .add (confNode , CONFIG_ENABLE_SERVICE_AS_BOUND_JOIN ,
385+ vf .createLiteral (config .getEnableServiceAsBoundJoin ()));
386+
311387 model .add (confNode , CONFIG_ENABLE_MONITORING , vf .createLiteral (config .isEnableMonitoring ()));
312388
313389 model .add (confNode , CONFIG_LOG_QUERY_PLAN , vf .createLiteral (config .isLogQueryPlan ()));
314390
391+ model .add (confNode , CONFIG_LOG_QUERIES , vf .createLiteral (config .isLogQueries ()));
392+
315393 model .add (confNode , CONFIG_DEBUG_QUERY_PLAN , vf .createLiteral (config .isDebugQueryPlan ()));
316394
317- model .add (confNode , CONFIG_LOG_QUERIES , vf .createLiteral (config .isLogQueries ()));
395+ model .add (confNode , CONFIG_INCLUDE_INFERRED_DEFAULT , vf .createLiteral (config .getIncludeInferredDefault ()));
318396
319397 if (config .getSourceSelectionCacheSpec () != null ) {
320398 model .add (confNode , CONFIG_SOURCE_SELECTION_CACHE_SPEC ,
321399 vf .createLiteral (config .getSourceSelectionCacheSpec ()));
322400 }
323401
402+ if (config .getPrefixDeclarations () != null ) {
403+ model .add (confNode , CONFIG_PREFIX_DECLARATIONS ,
404+ vf .createLiteral (config .getPrefixDeclarations ()));
405+ }
406+
407+ model .add (confNode , CONFIG_CONSUMING_ITERATION_MAX , vf .createLiteral (config .getConsumingIterationMax ()));
408+
324409 model .add (implNode , FEDX_CONFIG , confNode );
325410 }
326411}
0 commit comments