SparkModelFactory.SparkSession Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância do SparkSession.
public static Azure.Analytics.Synapse.Spark.Models.SparkSession SparkSession (Azure.Analytics.Synapse.Spark.Models.SparkSessionState livyInfo = default, string name = default, string workspaceName = default, string sparkPoolName = default, string submitterName = default, string submitterId = default, string artifactId = default, Azure.Analytics.Synapse.Spark.Models.SparkJobType? jobType = default, Azure.Analytics.Synapse.Spark.Models.SparkSessionResultType? result = default, Azure.Analytics.Synapse.Spark.Models.SparkScheduler scheduler = default, Azure.Analytics.Synapse.Spark.Models.SparkServicePlugin plugin = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Spark.Models.SparkServiceError> errors = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, int id = 0, string appId = default, System.Collections.Generic.IReadOnlyDictionary<string,string> appInfo = default, Azure.Analytics.Synapse.Spark.Models.LivyStates? state = default, System.Collections.Generic.IEnumerable<string> logLines = default);
static member SparkSession : Azure.Analytics.Synapse.Spark.Models.SparkSessionState * string * string * string * string * string * string * Nullable<Azure.Analytics.Synapse.Spark.Models.SparkJobType> * Nullable<Azure.Analytics.Synapse.Spark.Models.SparkSessionResultType> * Azure.Analytics.Synapse.Spark.Models.SparkScheduler * Azure.Analytics.Synapse.Spark.Models.SparkServicePlugin * seq<Azure.Analytics.Synapse.Spark.Models.SparkServiceError> * System.Collections.Generic.IReadOnlyDictionary<string, string> * int * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<Azure.Analytics.Synapse.Spark.Models.LivyStates> * seq<string> -> Azure.Analytics.Synapse.Spark.Models.SparkSession
Public Shared Function SparkSession (Optional livyInfo As SparkSessionState = Nothing, Optional name As String = Nothing, Optional workspaceName As String = Nothing, Optional sparkPoolName As String = Nothing, Optional submitterName As String = Nothing, Optional submitterId As String = Nothing, Optional artifactId As String = Nothing, Optional jobType As Nullable(Of SparkJobType) = Nothing, Optional result As Nullable(Of SparkSessionResultType) = Nothing, Optional scheduler As SparkScheduler = Nothing, Optional plugin As SparkServicePlugin = Nothing, Optional errors As IEnumerable(Of SparkServiceError) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional id As Integer = 0, Optional appId As String = Nothing, Optional appInfo As IReadOnlyDictionary(Of String, String) = Nothing, Optional state As Nullable(Of LivyStates) = Nothing, Optional logLines As IEnumerable(Of String) = Nothing) As SparkSession
Parâmetros
- livyInfo
- SparkSessionState
- name
- String
- workspaceName
- String
- sparkPoolName
- String
- submitterName
- String
- submitterId
- String
- artifactId
- String
- jobType
- Nullable<SparkJobType>
O tipo de trabalho.
- result
- Nullable<SparkSessionResultType>
- scheduler
- SparkScheduler
- plugin
- SparkServicePlugin
- errors
- IEnumerable<SparkServiceError>
- tags
- IReadOnlyDictionary<String,String>
Dicionário de cadeia de <caracteres>.
- id
- Int32
- appId
- String
- appInfo
- IReadOnlyDictionary<String,String>
Dicionário de cadeia de <caracteres>.
- state
- Nullable<LivyStates>
O estado da sessão.
- logLines
- IEnumerable<String>
Retornos
Uma nova SparkSession instância para zombar.
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET