SparkBatchJobState Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. SparkBatchJobState
- com.
public final class SparkBatchJobState
The SparkBatchJobState model.
Constructor Summary
Constructor | Description |
---|---|
SparkBatchJobState() |
Creates an instance of Spark |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getCurrentState()
Get the current |
Offset |
getDeadAt()
Get the dead |
Spark |
getJobCreationRequest()
Get the job |
Offset |
getNotStartedAt()
Get the not |
Offset |
getRecoveringAt()
Get the recovering |
Offset |
getRunningAt()
Get the running |
Offset |
getStartingAt()
Get the starting |
Offset |
getSuccessAt()
Get the success |
Offset |
getTerminatedAt()
Get the terminated |
Spark |
setCurrentState(String currentState)
Set the current |
Spark |
setDeadAt(OffsetDateTime deadAt)
Set the dead |
Spark |
setJobCreationRequest(SparkRequest jobCreationRequest)
Set the job |
Spark |
setNotStartedAt(OffsetDateTime notStartedAt)
Set the not |
Spark |
setRecoveringAt(OffsetDateTime recoveringAt)
Set the recovering |
Spark |
setRunningAt(OffsetDateTime runningAt)
Set the running |
Spark |
setStartingAt(OffsetDateTime startingAt)
Set the starting |
Spark |
setSuccessAt(OffsetDateTime successAt)
Set the success |
Spark |
setTerminatedAt(OffsetDateTime terminatedAt)
Set the terminated |
Methods inherited from java.lang.Object
Constructor Details
SparkBatchJobState
public SparkBatchJobState()
Creates an instance of SparkBatchJobState class.
Method Details
getCurrentState
public String getCurrentState()
Get the currentState property: the Spark job state.
Returns:
getDeadAt
public OffsetDateTime getDeadAt()
Get the deadAt property: time that at which "dead" livy state was first seen.
Returns:
getJobCreationRequest
public SparkRequest getJobCreationRequest()
Get the jobCreationRequest property: The jobCreationRequest property.
Returns:
getNotStartedAt
public OffsetDateTime getNotStartedAt()
Get the notStartedAt property: the time that at which "not_started" livy state was first seen.
Returns:
getRecoveringAt
public OffsetDateTime getRecoveringAt()
Get the recoveringAt property: the time that at which "recovering" livy state was first seen.
Returns:
getRunningAt
public OffsetDateTime getRunningAt()
Get the runningAt property: the time that at which "running" livy state was first seen.
Returns:
getStartingAt
public OffsetDateTime getStartingAt()
Get the startingAt property: the time that at which "starting" livy state was first seen.
Returns:
getSuccessAt
public OffsetDateTime getSuccessAt()
Get the successAt property: the time that at which "success" livy state was first seen.
Returns:
getTerminatedAt
public OffsetDateTime getTerminatedAt()
Get the terminatedAt property: the time that at which "killed" livy state was first seen.
Returns:
setCurrentState
public SparkBatchJobState setCurrentState(String currentState)
Set the currentState property: the Spark job state.
Parameters:
Returns:
setDeadAt
public SparkBatchJobState setDeadAt(OffsetDateTime deadAt)
Set the deadAt property: time that at which "dead" livy state was first seen.
Parameters:
Returns:
setJobCreationRequest
public SparkBatchJobState setJobCreationRequest(SparkRequest jobCreationRequest)
Set the jobCreationRequest property: The jobCreationRequest property.
Parameters:
Returns:
setNotStartedAt
public SparkBatchJobState setNotStartedAt(OffsetDateTime notStartedAt)
Set the notStartedAt property: the time that at which "not_started" livy state was first seen.
Parameters:
Returns:
setRecoveringAt
public SparkBatchJobState setRecoveringAt(OffsetDateTime recoveringAt)
Set the recoveringAt property: the time that at which "recovering" livy state was first seen.
Parameters:
Returns:
setRunningAt
public SparkBatchJobState setRunningAt(OffsetDateTime runningAt)
Set the runningAt property: the time that at which "running" livy state was first seen.
Parameters:
Returns:
setStartingAt
public SparkBatchJobState setStartingAt(OffsetDateTime startingAt)
Set the startingAt property: the time that at which "starting" livy state was first seen.
Parameters:
Returns:
setSuccessAt
public SparkBatchJobState setSuccessAt(OffsetDateTime successAt)
Set the successAt property: the time that at which "success" livy state was first seen.
Parameters:
Returns:
setTerminatedAt
public SparkBatchJobState setTerminatedAt(OffsetDateTime terminatedAt)
Set the terminatedAt property: the time that at which "killed" livy state was first seen.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for