Class CorePlusQueryInitializer
java.lang.Object
com.illumon.iris.controller.handle.CorePlusQueryInitializer
- All Implemented Interfaces:
CorePlusInitializer
- Direct Known Subclasses:
CorePlusRunAndDoneInitializer
This class is the generic DnD worker initialization. It will simply execute a script on the worker and process the
results
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecuted before the PQ is initialized, for example to send pq-specific data to the workerGets the requested script-language for this PQ instanceprotected StringExecuted when the PQ is ready to execute commandsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.controller.handle.CorePlusInitializer
hasNotebookClassLoader
-
Constructor Details
-
CorePlusQueryInitializer
public CorePlusQueryInitializer()
-
-
Method Details
-
initialize
Description copied from interface:CorePlusInitializerExecuted when the PQ is ready to execute commands- Specified by:
initializein interfaceCorePlusInitializer- Parameters:
handle- a handle to the worker- Returns:
- the PQ state
-
getLanguage
Description copied from interface:CorePlusInitializerGets the requested script-language for this PQ instance- Specified by:
getLanguagein interfaceCorePlusInitializer- Parameters:
config- the PQ configuration, as known by the controller- Returns:
- the requested script-language
-
getScriptCode
-
doBeforeInitialize
public CompletableFuture<Void> doBeforeInitialize(CommunityPersistentQueryHandle.CommunityWorkerHandle handle) Description copied from interface:CorePlusInitializerExecuted before the PQ is initialized, for example to send pq-specific data to the worker- Specified by:
doBeforeInitializein interfaceCorePlusInitializer- Parameters:
handle- a handle to the worker
-