SparkBatch class

Classe représentant un SparkBatch.

Constructeurs

SparkBatch(SynapseClientContext)

Créez un SparkBatch.

Méthodes

create(string, string, ExtendedLivyBatchRequest, ServiceCallback<ExtendedLivyBatchResponse>)
create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)

Créez un travail de traitement par lots Spark.

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)
deleteMethod(string, string, number, RequestOptionsBase)

Annule une tâche de traitement par lots Spark en cours d’exécution.

deleteMethod(string, string, number, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, number, ServiceCallback<void>)
get(string, string, number, ServiceCallback<ExtendedLivyBatchResponse>)
get(string, string, number, SparkBatchGetOptionalParams)

Obtient un travail de traitement par lots Spark unique.

get(string, string, number, SparkBatchGetOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)
list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)
list(string, string, SparkBatchListOptionalParams)

Répertoriez tous les travaux de traitement par lots Spark qui s’exécutent sous un pool Spark particulier.

list(string, string, SparkBatchListOptionalParams, ServiceCallback<ExtendedLivyListBatchResponse>)

Détails du constructeur

SparkBatch(SynapseClientContext)

Créez un SparkBatch.

new SparkBatch(client: SynapseClientContext)

Paramètres

client
SynapseClientContext

Référence au client de service.

Détails de la méthode

create(string, string, ExtendedLivyBatchRequest, ServiceCallback<ExtendedLivyBatchResponse>)

function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, callback: ServiceCallback<ExtendedLivyBatchResponse>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

livyRequest
ExtendedLivyBatchRequest

Charge utile de demande de tâche de traitement par lots compatible livy.

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)

Créez un travail de traitement par lots Spark.

function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, options?: SparkBatchCreateOptionalParams): Promise<SparkBatchCreateResponse>

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

livyRequest
ExtendedLivyBatchRequest

Charge utile de demande de tâche de traitement par lots compatible livy.

options
SparkBatchCreateOptionalParams

Paramètres facultatifs

Retours

Promise<Models.SparkBatchCreateResponse>

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)

function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, options: SparkBatchCreateOptionalParams, callback: ServiceCallback<ExtendedLivyBatchResponse>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

livyRequest
ExtendedLivyBatchRequest

Charge utile de demande de tâche de traitement par lots compatible livy.

options
SparkBatchCreateOptionalParams

Paramètres facultatifs

deleteMethod(string, string, number, RequestOptionsBase)

Annule une tâche de traitement par lots Spark en cours d’exécution.

function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

batchId

number

Identificateur du travail de traitement par lots.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, number, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

batchId

number

Identificateur du travail de traitement par lots.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, number, ServiceCallback<void>)

function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, callback: ServiceCallback<void>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

batchId

number

Identificateur du travail de traitement par lots.

callback

ServiceCallback<void>

Rappel

get(string, string, number, ServiceCallback<ExtendedLivyBatchResponse>)

function get(workspaceName: string, sparkPoolName: string, batchId: number, callback: ServiceCallback<ExtendedLivyBatchResponse>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

batchId

number

Identificateur du travail de traitement par lots.

get(string, string, number, SparkBatchGetOptionalParams)

Obtient un travail de traitement par lots Spark unique.

function get(workspaceName: string, sparkPoolName: string, batchId: number, options?: SparkBatchGetOptionalParams): Promise<SparkBatchGetResponse>

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

batchId

number

Identificateur du travail de traitement par lots.

options
SparkBatchGetOptionalParams

Paramètres facultatifs

Retours

Promise<Models.SparkBatchGetResponse>

get(string, string, number, SparkBatchGetOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)

function get(workspaceName: string, sparkPoolName: string, batchId: number, options: SparkBatchGetOptionalParams, callback: ServiceCallback<ExtendedLivyBatchResponse>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

batchId

number

Identificateur du travail de traitement par lots.

options
SparkBatchGetOptionalParams

Paramètres facultatifs

list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)

function list(workspaceName: string, sparkPoolName: string, callback: ServiceCallback<ExtendedLivyListBatchResponse>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

list(string, string, SparkBatchListOptionalParams)

Répertoriez tous les travaux de traitement par lots Spark qui s’exécutent sous un pool Spark particulier.

function list(workspaceName: string, sparkPoolName: string, options?: SparkBatchListOptionalParams): Promise<SparkBatchListResponse>

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

options
SparkBatchListOptionalParams

Paramètres facultatifs

Retours

Promise<Models.SparkBatchListResponse>

list(string, string, SparkBatchListOptionalParams, ServiceCallback<ExtendedLivyListBatchResponse>)

function list(workspaceName: string, sparkPoolName: string, options: SparkBatchListOptionalParams, callback: ServiceCallback<ExtendedLivyListBatchResponse>)

Paramètres

workspaceName

string

Nom de l’espace de travail sur lequel exécuter des opérations.

sparkPoolName

string

Nom du pool Spark. « ondemand » cible la piscine ondemand.

options
SparkBatchListOptionalParams

Paramètres facultatifs