Class JobConfigArguments
JobConfig.getArgument(String) method.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe key under which caller marks analyzed job.static final StringThe key under which the SQL engine stores detected partitions to apply member pruning technique.static final StringThe key under which the SQL engine stores the SQL query text inJobConfig.getArgument(String).static final StringThe key under which the SQL engine stores whether the job backing an SQL query is bounded or unbounded (returning infinite rows).static final StringThe key under which the associated User Code Namespace for this job is stored.static final StringJob configuration argument key that controls whether an initial snapshot is required for the job. -
Method Summary
-
Field Details
-
KEY_SQL_QUERY_TEXT
The key under which the SQL engine stores the SQL query text inJobConfig.getArgument(String). It's set for all jobs backing an SQL query.- See Also:
-
KEY_SQL_UNBOUNDED
The key under which the SQL engine stores whether the job backing an SQL query is bounded or unbounded (returning infinite rows). Use forJobConfig.getArgument(String). Contains aBooleanvalue.- See Also:
-
KEY_REQUIRED_PARTITIONS
The key under which the SQL engine stores detected partitions to apply member pruning technique.- See Also:
-
KEY_JOB_IS_SUSPENDABLE
The key under which caller marks analyzed job. The reason for not having a separate flag inJobConfigis that we want to preserve Jet's independence from SQL.The value for that key supposed to have
Boolean'false' value to prevent job suspension.By default, any normal Jet job is suspendable.
- See Also:
-
REQUIRE_SNAPSHOT_BEFORE_PROCESSING
Job configuration argument key that controls whether an initial snapshot is required for the job.If this argument is set to
true, the following guarantees are provided:- An initial snapshot is triggered before the job starts normal execution, regardless of the configured snapshot interval.
- No entries are processed until the initial snapshot has completed successfully.
-
The job will not transition to the
JobStatus.RUNNINGstate until the initial snapshot has completed successfully.
Regular periodic snapshots are scheduled and executed according to the configured snapshot interval, unchanged from the default behavior.
Default value is
false.- See Also:
-
KEY_USER_CODE_NAMESPACE
The key under which the associated User Code Namespace for this job is stored.NOTE: The User Code Namespace defined by this key should only be used if there is no
ClassLoaderfactory defined atJobConfig.getClassLoaderFactory(). IfJobConfig.getClassLoaderFactory()is defined in addition to a User Code Namespace being provided, anInvalidConfigurationExceptionwill be thrown at Job creation.This argument should be set by calling
JobConfig.setUserCodeNamespace(String).By default, this key will not exist and a User Code Namespace will not be used.
- See Also:
-