SparkBatch class

SparkBatch'i temsil eden sınıf.

Oluşturucular

SparkBatch(SynapseClientContext)

SparkBatch oluşturun.

Yöntemler

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

Yeni Spark toplu işi oluşturun.

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

Çalışan spark toplu işlemini iptal eder.

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

Tek bir spark toplu işi alır.

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

Belirli bir spark havuzu altında çalışan tüm spark toplu işlerini listeleyin.

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

Oluşturucu Ayrıntıları

SparkBatch(SynapseClientContext)

SparkBatch oluşturun.

new SparkBatch(client: SynapseClientContext)

Parametreler

client
SynapseClientContext

Hizmet istemcisine başvuru.

Yöntem Ayrıntıları

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

livyRequest
ExtendedLivyBatchRequest

Livy uyumlu toplu iş isteği yükü.

callback

ServiceCallback<ExtendedLivyBatchResponse>

Geri çağırma

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)

Yeni Spark toplu işi oluşturun.

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

livyRequest
ExtendedLivyBatchRequest

Livy uyumlu toplu iş isteği yükü.

options
SparkBatchCreateOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.SparkBatchCreateResponse>

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

livyRequest
ExtendedLivyBatchRequest

Livy uyumlu toplu iş isteği yükü.

options
SparkBatchCreateOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<ExtendedLivyBatchResponse>

Geri çağırma

deleteMethod(string, string, number, RequestOptionsBase)

Çalışan spark toplu işlemini iptal eder.

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

batchId

number

Toplu işin tanımlayıcısı.

options
RequestOptionsBase

İsteğe bağlı parametreler

Döndürülenler

Promise<RestResponse>

promise<msRest.RestResponse>

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

batchId

number

Toplu işin tanımlayıcısı.

options
RequestOptionsBase

İsteğe bağlı parametreler

callback

ServiceCallback<void>

Geri çağırma

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

batchId

number

Toplu işin tanımlayıcısı.

callback

ServiceCallback<void>

Geri çağırma

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

batchId

number

Toplu işin tanımlayıcısı.

callback

ServiceCallback<ExtendedLivyBatchResponse>

Geri çağırma

get(string, string, number, SparkBatchGetOptionalParams)

Tek bir spark toplu işi alır.

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

batchId

number

Toplu işin tanımlayıcısı.

options
SparkBatchGetOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.SparkBatchGetResponse>

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

batchId

number

Toplu işin tanımlayıcısı.

options
SparkBatchGetOptionalParams

İsteğe bağlı parametreler

callback

ServiceCallback<ExtendedLivyBatchResponse>

Geri çağırma

list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

list(string, string, SparkBatchListOptionalParams)

Belirli bir spark havuzu altında çalışan tüm spark toplu işlerini listeleyin.

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

options
SparkBatchListOptionalParams

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.SparkBatchListResponse>

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

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

Parametreler

workspaceName

string

İşlemlerin yürütülecek çalışma alanının adı.

sparkPoolName

string

Spark havuzunun adı. "ondemand" ondemand havuzunu hedefler.

options
SparkBatchListOptionalParams

İsteğe bağlı parametreler