SparkBatch class
SparkBatch'i temsil eden sınıf.
Oluşturucular
| Spark |
SparkBatch oluşturun. |
Yöntemler
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
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<SparkBatchCreateResponse>
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
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
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<SparkBatchGetResponse>
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
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.
- callback
Geri çağırma
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<SparkBatchListResponse>
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
- callback
Geri çağırma