SparkBatch interface
Interface représentant un SparkBatch.
Méthodes
| cancel |
Annule une tâche de traitement par lots Spark en cours d’exécution. |
| create |
Créez un travail de traitement par lots Spark. |
| get |
Obtient un travail de traitement par lots Spark unique. |
| get |
Répertoriez tous les travaux de traitement par lots Spark qui s’exécutent sous un pool Spark particulier. |
Détails de la méthode
cancelSparkBatchJob(number, SparkBatchCancelSparkBatchJobOptionalParams)
Annule une tâche de traitement par lots Spark en cours d’exécution.
function cancelSparkBatchJob(batchId: number, options?: SparkBatchCancelSparkBatchJobOptionalParams): Promise<void>
Paramètres
- batchId
-
number
Identificateur du travail de traitement par lots.
Paramètres d’options.
Retours
Promise<void>
createSparkBatchJob(SparkBatchJobOptions, SparkBatchCreateSparkBatchJobOptionalParams)
Créez un travail de traitement par lots Spark.
function createSparkBatchJob(sparkBatchJobOptions: SparkBatchJobOptions, options?: SparkBatchCreateSparkBatchJobOptionalParams): Promise<SparkBatchJob>
Paramètres
- sparkBatchJobOptions
- SparkBatchJobOptions
Charge utile de demande de tâche de traitement par lots compatible livy.
Paramètres d’options.
Retours
Promise<SparkBatchJob>
getSparkBatchJob(number, SparkBatchGetSparkBatchJobOptionalParams)
Obtient un travail de traitement par lots Spark unique.
function getSparkBatchJob(batchId: number, options?: SparkBatchGetSparkBatchJobOptionalParams): Promise<SparkBatchJob>
Paramètres
- batchId
-
number
Identificateur du travail de traitement par lots.
Paramètres d’options.
Retours
Promise<SparkBatchJob>
getSparkBatchJobs(SparkBatchGetSparkBatchJobsOptionalParams)
Répertoriez tous les travaux de traitement par lots Spark qui s’exécutent sous un pool Spark particulier.
function getSparkBatchJobs(options?: SparkBatchGetSparkBatchJobsOptionalParams): Promise<SparkBatchJobCollection>
Paramètres
Paramètres d’options.
Retours
Promise<SparkBatchJobCollection>