public class QueryEngineFactoryBase extends Object implements IQueryEngineFactory
IQueryEngineFactory
implementation.Constructor and Description |
---|
QueryEngineFactoryBase() |
Modifier and Type | Method and Description |
---|---|
QueryEngine |
getExistingQueryController(IBTreeManager indexManager)
Singleton factory test (does not create the query controller) for
standalone or scale-out.
|
FederatedQueryEngine |
getFederatedQueryController(IBigdataFederation<?> fed)
New query controller for scale-out.
|
QueryEngine |
getQueryController(IIndexManager indexManager)
Singleton factory for standalone or scale-out.
|
int |
getQueryControllerCount()
Return the #of live query controllers.
|
QueryEngine |
getStandaloneQueryController(IBTreeManager indexManager)
Singleton factory for standalone.
|
protected QueryEngine |
newStandaloneQueryEngine(IBTreeManager indexManager)
Initialize a new query engine for the journal.
|
public QueryEngine getExistingQueryController(IBTreeManager indexManager)
IQueryEngineFactory
getExistingQueryController
in interface IQueryEngineFactory
indexManager
- The database.public QueryEngine getQueryController(IIndexManager indexManager)
IQueryEngineFactory
getQueryController
in interface IQueryEngineFactory
indexManager
- The database.public QueryEngine getStandaloneQueryController(IBTreeManager indexManager)
IQueryEngineFactory
getStandaloneQueryController
in interface IQueryEngineFactory
indexManager
- The index manager. Can be a TemporaryStore
or
Journal
.protected QueryEngine newStandaloneQueryEngine(IBTreeManager indexManager)
indexManager
- The journal.public FederatedQueryEngine getFederatedQueryController(IBigdataFederation<?> fed)
IQueryEngineFactory
Note: This is NOT used for the QueryEngine
that is embedded
within the DataService
. That instance is setup by the
DataService
itself and relies on a view of the shards as locally
available to the DataService
getFederatedQueryController
in interface IQueryEngineFactory
fed
- The federation.public int getQueryControllerCount()
IQueryEngineFactory
getQueryControllerCount
in interface IQueryEngineFactory
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.