Package

com.github.mjreid

flinkwrapper

Permalink

package flinkwrapper

Visibility
  1. Public
  2. All

Type Members

  1. case class CancelJobAccepted(requestId: Long, location: String) extends Product with Serializable

    Permalink
  2. case class CancellationStatusInfo(status: CancellationStatus, requestId: Long, savepointPath: Option[String], failureCause: Option[String]) extends Product with Serializable

    Permalink
  3. case class FlinkClusterOverview(taskManagers: Int, totalSlots: Int, availableSlots: Int, runningJobs: Int, finishedJobs: Int, cancelledJobs: Int, failedJobs: Int) extends Product with Serializable

    Permalink
  4. case class FlinkConfigInfo(refreshInterval: Int, timezoneOffset: Duration, timezoneName: String, flinkVersion: String, flinkRevision: String) extends Product with Serializable

    Permalink
  5. trait FlinkResponseHandler extends AnyRef

    Permalink
  6. class FlinkRestClient extends AutoCloseable

    Permalink

    FlinkRestClient is the primary contact point for the Flink REST server.

    FlinkRestClient is the primary contact point for the Flink REST server.

    While this class can be invoked manually with a custom client configuration, it's recommended to use one of the factory methods on the FlinkRestClient object to create a client instance.

  7. case class FlinkRestClientConfig(url: String, maybeActorSystem: Option[ActorSystem] = None, responseHandler: FlinkResponseHandler = FlinkResponseHandler) extends Product with Serializable

    Permalink
  8. trait FlinkWrapperException extends RuntimeException

    Permalink

    FlinkWrapperException is the base class for all exceptions returned in failed futures by the wrapper.

    FlinkWrapperException is the base class for all exceptions returned in failed futures by the wrapper. If you don't care about different error handling for invalid JSON vs timeouts (etc), just handle this.

  9. trait FlinkWrapperInvalidJsonException extends RuntimeException with FlinkWrapperException

    Permalink

    FlinkWrapperInvalidJsonException occurs when a valid HTTP status code is returned, but there's a problem parsing the response body into an object.

  10. case class FlinkWrapperUnexpectedStatusCodeException(code: Int, responseBody: String) extends RuntimeException with FlinkWrapperException with Product with Serializable

    Permalink

    FlinkWrapperUnexpectedStatusCodeException occurs when an HTTP response has an unexpected (i.e.

    FlinkWrapperUnexpectedStatusCodeException occurs when an HTTP response has an unexpected (i.e. non-200, 204, etc) status code.

  11. case class Job(id: String, name: String, isStoppable: Boolean, state: JobStatus, startTime: LocalDateTime, endTime: LocalDateTime, duration: Duration, now: LocalDateTime, stateTimestamps: StateTimes, vertices: Seq[JobVertex], statusCounts: VertexTaskCounts, plan: JobPlan) extends Product with Serializable

    Permalink
  12. case class JobExceptions(rootException: Option[String], allExceptions: Seq[TaskException], truncated: Boolean) extends Product with Serializable

    Permalink
  13. case class JobOverview(running: Seq[JobSummary], finished: Seq[JobSummary]) extends Product with Serializable

    Permalink

    JobOverview contains a summary of all jobs, grouped by status.

  14. case class JobPlan(jobId: String, name: String, nodes: Seq[JobPlanNode]) extends Product with Serializable

    Permalink
  15. case class JobPlanNode(id: String, parallelism: Int, operator: String, operatorStrategy: String, description: String, inputs: Option[Seq[NodeInput]], optimizerProperties: OptimizerProperties) extends Product with Serializable

    Permalink
  16. case class JobSummary(id: String, name: String, state: JobStatus, startTime: LocalDateTime, endTime: LocalDateTime, duration: Duration, lastModification: LocalDateTime, taskCounts: TaskCounts) extends Product with Serializable

    Permalink
  17. case class JobVertex(id: String, name: String, parallelism: Int, status: ExecutionStatus, startTime: Option[LocalDateTime], endTime: Option[LocalDateTime], duration: Option[Duration], taskCounts: VertexTaskCounts, metrics: VertexMetrics) extends Product with Serializable

    Permalink
  18. case class JobsList(running: Seq[String], finished: Seq[String], cancelled: Seq[String], failed: Seq[String]) extends Product with Serializable

    Permalink

    JobsList is the result of a call to GET /jobs.

    JobsList is the result of a call to GET /jobs. It contains IDs of the jobs grouped by their statuses.

  19. case class NodeInput(num: Long, id: String, shipStrategy: Option[String], localStrategy: Option[String], caching: Option[String], exchange: String) extends Product with Serializable

    Permalink
  20. case class OptimizerProperties(globalProperties: Option[Map[String, String]], localProperties: Option[Map[String, String]], estimates: Option[Map[String, String]], costs: Option[Map[String, String]], compilerHints: Option[Map[String, String]]) extends Product with Serializable

    Permalink
  21. case class RunProgramResult(jobId: String) extends Product with Serializable

    Permalink
  22. case class StateTimes(createdTime: Option[LocalDateTime], runningTime: Option[LocalDateTime], failingTime: Option[LocalDateTime], failedTime: Option[LocalDateTime], cancellingTime: Option[LocalDateTime], canceledTime: Option[LocalDateTime], finishedTime: Option[LocalDateTime], restartingTime: Option[LocalDateTime], suspendedTime: Option[LocalDateTime], reconcilingTime: Option[LocalDateTime]) extends Product with Serializable

    Permalink
  23. case class TaskCounts(total: Int, pending: Int, running: Int, finished: Int, canceling: Int, canceled: Int, failed: Int) extends Product with Serializable

    Permalink
  24. case class TaskException(exception: String, task: String, location: String) extends Product with Serializable

    Permalink
  25. case class UploadJarResult(status: String, filename: String) extends Product with Serializable

    Permalink
  26. case class VertexMetrics(readBytes: Long, writeBytes: Long, readRecords: Long, writeRecords: Long) extends Product with Serializable

    Permalink
  27. case class VertexTaskCounts(created: Long, scheduled: Long, deploying: Long, running: Long, finished: Long, canceling: Long, canceled: Long, failed: Long, reconciling: Long) extends Product with Serializable

    Permalink

Value Members

  1. object CancelJobAccepted extends Serializable

    Permalink
  2. object CancellationStatus

    Permalink
  3. object CancellationStatusInfo extends Serializable

    Permalink
  4. object ExecutionStatus

    Permalink
  5. object FlinkConfigInfo extends Serializable

    Permalink
  6. object FlinkRestClient

    Permalink
  7. object FlinkWrapperInvalidJsonException extends Serializable

    Permalink
  8. object Job extends Serializable

    Permalink
  9. object JobExceptions extends Serializable

    Permalink
  10. object JobOverview extends Serializable

    Permalink
  11. object JobPlan extends Serializable

    Permalink
  12. object JobPlanNode extends Serializable

    Permalink
  13. object JobStatus

    Permalink
  14. object JobSummary extends Serializable

    Permalink
  15. object JobVertex extends Serializable

    Permalink
  16. object JobsList extends Serializable

    Permalink
  17. object NodeInput extends Serializable

    Permalink
  18. object OptimizerProperties extends Serializable

    Permalink
  19. object RunProgramResult extends Serializable

    Permalink
  20. object StateTimes extends Serializable

    Permalink
  21. object TaskCounts extends Serializable

    Permalink
  22. object TaskException extends Serializable

    Permalink
  23. object UploadJarResult extends Serializable

    Permalink
  24. object VertexMetrics extends Serializable

    Permalink
  25. object VertexTaskCounts extends Serializable

    Permalink

Ungrouped