Class ScriptSetupQuery

All Implemented Interfaces:
RemoteQuery<PersistentQueryState>, Serializable
Direct Known Subclasses:
InWorkerServiceSetupQuery, ReplaySetupQuery, RunAndDoneSetupQuery

public class ScriptSetupQuery extends ContextAwareRemoteQuery<PersistentQueryState>
Query to initialize a script based on the config and the loader state when the startup began.
See Also:
  • Field Details

    • DEFAULT_SCRIPT_LANGUAGE

      public static final String DEFAULT_SCRIPT_LANGUAGE
      See Also:
    • CREATE_PERFORMANCE_TABLES

      public static final boolean CREATE_PERFORMANCE_TABLES
    • PERFORMANCE_TOP_OFFENDERS_NAME

      public static final String PERFORMANCE_TOP_OFFENDERS_NAME
    • GC_ON_COMPLETION

      public static final boolean GC_ON_COMPLETION
    • wrappedConfig

      protected final PersistentQueryConfigurationWrapper wrappedConfig
  • Constructor Details

  • Method Details

    • execute

      public PersistentQueryState execute(Database db)
      Description copied from interface: RemoteQuery
      Execute a query on a remote host.
      Parameters:
      db - database to use for execution.
      Returns:
      result of the query.
    • createDefaultTables

      public static Map<String,Table> createDefaultTables(Database db)
      Create the default tables for monitoring the update performance of queries.
      Parameters:
      db - the database object to use for retrieving the tables
      Returns:
      a map from table variable names to the corresponding performance table
    • shouldGc

      public boolean shouldGc()