-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerated Synapse Spark SDK from tag package-spark-2020-12-01 (#24510)
- Loading branch information
Showing
13 changed files
with
453 additions
and
1,194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...pse-spark/src/main/java/com/azure/analytics/synapse/spark/models/LivyStatementStates.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.analytics.synapse.spark.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for LivyStatementStates. */ | ||
public final class LivyStatementStates extends ExpandableStringEnum<LivyStatementStates> { | ||
/** Static value waiting for LivyStatementStates. */ | ||
public static final LivyStatementStates WAITING = fromString("waiting"); | ||
|
||
/** Static value running for LivyStatementStates. */ | ||
public static final LivyStatementStates RUNNING = fromString("running"); | ||
|
||
/** Static value available for LivyStatementStates. */ | ||
public static final LivyStatementStates AVAILABLE = fromString("available"); | ||
|
||
/** Static value error for LivyStatementStates. */ | ||
public static final LivyStatementStates ERROR = fromString("error"); | ||
|
||
/** Static value cancelling for LivyStatementStates. */ | ||
public static final LivyStatementStates CANCELLING = fromString("cancelling"); | ||
|
||
/** Static value cancelled for LivyStatementStates. */ | ||
public static final LivyStatementStates CANCELLED = fromString("cancelled"); | ||
|
||
/** | ||
* Creates or finds a LivyStatementStates from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding LivyStatementStates. | ||
*/ | ||
@JsonCreator | ||
public static LivyStatementStates fromString(String name) { | ||
return fromString(name, LivyStatementStates.class); | ||
} | ||
|
||
/** @return known LivyStatementStates values. */ | ||
public static Collection<LivyStatementStates> values() { | ||
return values(LivyStatementStates.class); | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...tics-synapse-spark/src/main/java/com/azure/analytics/synapse/spark/models/LivyStates.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.analytics.synapse.spark.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for LivyStates. */ | ||
public final class LivyStates extends ExpandableStringEnum<LivyStates> { | ||
/** Static value not_started for LivyStates. */ | ||
public static final LivyStates NOT_STARTED = fromString("not_started"); | ||
|
||
/** Static value starting for LivyStates. */ | ||
public static final LivyStates STARTING = fromString("starting"); | ||
|
||
/** Static value idle for LivyStates. */ | ||
public static final LivyStates IDLE = fromString("idle"); | ||
|
||
/** Static value busy for LivyStates. */ | ||
public static final LivyStates BUSY = fromString("busy"); | ||
|
||
/** Static value shutting_down for LivyStates. */ | ||
public static final LivyStates SHUTTING_DOWN = fromString("shutting_down"); | ||
|
||
/** Static value error for LivyStates. */ | ||
public static final LivyStates ERROR = fromString("error"); | ||
|
||
/** Static value dead for LivyStates. */ | ||
public static final LivyStates DEAD = fromString("dead"); | ||
|
||
/** Static value killed for LivyStates. */ | ||
public static final LivyStates KILLED = fromString("killed"); | ||
|
||
/** Static value success for LivyStates. */ | ||
public static final LivyStates SUCCESS = fromString("success"); | ||
|
||
/** Static value running for LivyStates. */ | ||
public static final LivyStates RUNNING = fromString("running"); | ||
|
||
/** Static value recovering for LivyStates. */ | ||
public static final LivyStates RECOVERING = fromString("recovering"); | ||
|
||
/** | ||
* Creates or finds a LivyStates from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding LivyStates. | ||
*/ | ||
@JsonCreator | ||
public static LivyStates fromString(String name) { | ||
return fromString(name, LivyStates.class); | ||
} | ||
|
||
/** @return known LivyStates values. */ | ||
public static Collection<LivyStates> values() { | ||
return values(LivyStates.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
757 changes: 277 additions & 480 deletions
757
...se/azure-analytics-synapse-spark/src/test/resources/session-records/getSparkBatchJob.json
Large diffs are not rendered by default.
Oops, something went wrong.
700 changes: 10 additions & 690 deletions
700
...pse/azure-analytics-synapse-spark/src/test/resources/session-records/getSparkSession.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters