com.github.ywilkof.sparkrestclient.SparkResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-jobs-rest-client Show documentation
Show all versions of spark-jobs-rest-client Show documentation
Fluent utility client for interacting with Spark Standalone Mode's Rest API for submitting, killing and monitoring the state of jobs.
package com.github.ywilkof.sparkrestclient;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
/**
* Created by yonatan on 08.10.15.
*/
@Getter
@Setter(AccessLevel.PACKAGE)
@JsonIgnoreProperties(ignoreUnknown = true)
class SparkResponse {
SparkResponse() {}
private Action action;
/**
* Message status.
*/
private String message;
/**
* Spark version.
*/
private String serverSparkVersion;
/**
* The submission ID as assigned by Spark.
*/
private String submissionId;
/**
* Marks the success or failure of the submission.
*/
private Boolean success;
}