SparkBatchJobState Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.SparkBatchJobState

public final class SparkBatchJobState

The SparkBatchJobState model.

Constructor Summary

Constructor Description
SparkBatchJobState()

Creates an instance of SparkBatchJobState class.

Method Summary

Modifier and Type Method and Description
String getCurrentState()

Get the currentState property: the Spark job state.

OffsetDateTime getDeadAt()

Get the deadAt property: time that at which "dead" livy state was first seen.

SparkRequest getJobCreationRequest()

Get the jobCreationRequest property: The jobCreationRequest property.

OffsetDateTime getNotStartedAt()

Get the notStartedAt property: the time that at which "not_started" livy state was first seen.

OffsetDateTime getRecoveringAt()

Get the recoveringAt property: the time that at which "recovering" livy state was first seen.

OffsetDateTime getRunningAt()

Get the runningAt property: the time that at which "running" livy state was first seen.

OffsetDateTime getStartingAt()

Get the startingAt property: the time that at which "starting" livy state was first seen.

OffsetDateTime getSuccessAt()

Get the successAt property: the time that at which "success" livy state was first seen.

OffsetDateTime getTerminatedAt()

Get the terminatedAt property: the time that at which "killed" livy state was first seen.

SparkBatchJobState setCurrentState(String currentState)

Set the currentState property: the Spark job state.

SparkBatchJobState setDeadAt(OffsetDateTime deadAt)

Set the deadAt property: time that at which "dead" livy state was first seen.

SparkBatchJobState setJobCreationRequest(SparkRequest jobCreationRequest)

Set the jobCreationRequest property: The jobCreationRequest property.

SparkBatchJobState setNotStartedAt(OffsetDateTime notStartedAt)

Set the notStartedAt property: the time that at which "not_started" livy state was first seen.

SparkBatchJobState setRecoveringAt(OffsetDateTime recoveringAt)

Set the recoveringAt property: the time that at which "recovering" livy state was first seen.

SparkBatchJobState setRunningAt(OffsetDateTime runningAt)

Set the runningAt property: the time that at which "running" livy state was first seen.

SparkBatchJobState setStartingAt(OffsetDateTime startingAt)

Set the startingAt property: the time that at which "starting" livy state was first seen.

SparkBatchJobState setSuccessAt(OffsetDateTime successAt)

Set the successAt property: the time that at which "success" livy state was first seen.

SparkBatchJobState setTerminatedAt(OffsetDateTime terminatedAt)

Set the terminatedAt property: the time that at which "killed" livy state was first seen.

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:

the currentState value.

getDeadAt

public OffsetDateTime getDeadAt()

Get the deadAt property: time that at which "dead" livy state was first seen.

Returns:

the deadAt value.

getJobCreationRequest

public SparkRequest getJobCreationRequest()

Get the jobCreationRequest property: The jobCreationRequest property.

Returns:

the jobCreationRequest value.

getNotStartedAt

public OffsetDateTime getNotStartedAt()

Get the notStartedAt property: the time that at which "not_started" livy state was first seen.

Returns:

the notStartedAt value.

getRecoveringAt

public OffsetDateTime getRecoveringAt()

Get the recoveringAt property: the time that at which "recovering" livy state was first seen.

Returns:

the recoveringAt value.

getRunningAt

public OffsetDateTime getRunningAt()

Get the runningAt property: the time that at which "running" livy state was first seen.

Returns:

the runningAt value.

getStartingAt

public OffsetDateTime getStartingAt()

Get the startingAt property: the time that at which "starting" livy state was first seen.

Returns:

the startingAt value.

getSuccessAt

public OffsetDateTime getSuccessAt()

Get the successAt property: the time that at which "success" livy state was first seen.

Returns:

the successAt value.

getTerminatedAt

public OffsetDateTime getTerminatedAt()

Get the terminatedAt property: the time that at which "killed" livy state was first seen.

Returns:

the terminatedAt value.

setCurrentState

public SparkBatchJobState setCurrentState(String currentState)

Set the currentState property: the Spark job state.

Parameters:

currentState - the currentState value to set.

Returns:

the SparkBatchJobState object itself.

setDeadAt

public SparkBatchJobState setDeadAt(OffsetDateTime deadAt)

Set the deadAt property: time that at which "dead" livy state was first seen.

Parameters:

deadAt - the deadAt value to set.

Returns:

the SparkBatchJobState object itself.

setJobCreationRequest

public SparkBatchJobState setJobCreationRequest(SparkRequest jobCreationRequest)

Set the jobCreationRequest property: The jobCreationRequest property.

Parameters:

jobCreationRequest - the jobCreationRequest value to set.

Returns:

the SparkBatchJobState object itself.

setNotStartedAt

public SparkBatchJobState setNotStartedAt(OffsetDateTime notStartedAt)

Set the notStartedAt property: the time that at which "not_started" livy state was first seen.

Parameters:

notStartedAt - the notStartedAt value to set.

Returns:

the SparkBatchJobState object itself.

setRecoveringAt

public SparkBatchJobState setRecoveringAt(OffsetDateTime recoveringAt)

Set the recoveringAt property: the time that at which "recovering" livy state was first seen.

Parameters:

recoveringAt - the recoveringAt value to set.

Returns:

the SparkBatchJobState object itself.

setRunningAt

public SparkBatchJobState setRunningAt(OffsetDateTime runningAt)

Set the runningAt property: the time that at which "running" livy state was first seen.

Parameters:

runningAt - the runningAt value to set.

Returns:

the SparkBatchJobState object itself.

setStartingAt

public SparkBatchJobState setStartingAt(OffsetDateTime startingAt)

Set the startingAt property: the time that at which "starting" livy state was first seen.

Parameters:

startingAt - the startingAt value to set.

Returns:

the SparkBatchJobState object itself.

setSuccessAt

public SparkBatchJobState setSuccessAt(OffsetDateTime successAt)

Set the successAt property: the time that at which "success" livy state was first seen.

Parameters:

successAt - the successAt value to set.

Returns:

the SparkBatchJobState object itself.

setTerminatedAt

public SparkBatchJobState setTerminatedAt(OffsetDateTime terminatedAt)

Set the terminatedAt property: the time that at which "killed" livy state was first seen.

Parameters:

terminatedAt - the terminatedAt value to set.

Returns:

the SparkBatchJobState object itself.

Applies to