Interface CorePlusInitializer

All Known Implementing Classes:
BinaryImportRequestInitializer, CorePlusQueryInitializer, CorePlusRunAndDoneInitializer, CorePlusRunAndDoneSimpleScriptInitializer, CsvImportRequestInitializer, JdbcImportRequestInitializer, MergeRequestInitializer, ThrowingInitializer, ValidateRequestInitializer, WorkspaceSnapshotRequestInitializer

public interface CorePlusInitializer
An interface defining methods required for initializing a CorePlus PQ
  • Method Details

    • doBeforeInitialize

      Executed before the PQ is initialized, for example to send pq-specific data to the worker
      Parameters:
      handle - a handle to the worker
    • initialize

      Executed when the PQ is ready to execute commands
      Parameters:
      handle - a handle to the worker
      Returns:
      the PQ state
    • getLanguage

      String getLanguage(PersistentQueryConfiguration config)
      Gets the requested script-language for this PQ instance
      Parameters:
      config - the PQ configuration, as known by the controller
      Returns:
      the requested script-language
    • hasNotebookClassLoader

      default boolean hasNotebookClassLoader()
      True if this PQ instance should enable the notebook class loader.
      Returns:
      true if this PQ instance should enable the notebook class loader.