Partager via


SparkModelFactory.SparkSession Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

name
String
workspaceName
String
sparkPoolName
String
submitterName
String
submitterId
String
artifactId
String
jobType
Nullable<SparkJobType>

Type de travail.

scheduler
SparkScheduler
tags
IReadOnlyDictionary<String,String>

Dictionnaire de chaîne<>.

id
Int32
appId
String
appInfo
IReadOnlyDictionary<String,String>

Dictionnaire de chaîne<>.

state
Nullable<LivyStates>

État de session.

logLines
IEnumerable<String>

Retours

Une nouvelle SparkSession instance de moqueries.

S’applique à