All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ywilkof.sparkrestclient.SparkResponse Maven / Gradle / Ivy

Go to download

Fluent utility client for interacting with Spark Standalone Mode's Rest API for submitting, killing and monitoring the state of jobs.

There is a newer version: 1.3.9
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy