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 ClusterTaskManagers(taskManagers: Seq[TaskManager]) extends Product with Serializable

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

    Permalink
  5. case class FlinkConfig(key: String, value: String) extends Product with Serializable

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

    Permalink
  7. trait FlinkResponseHandler extends AnyRef

    Permalink
  8. 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.

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

    Permalink
  10. 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.

  11. 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.

  12. 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.

  13. 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
  14. case class JobExceptions(rootException: Option[String], allExceptions: Seq[TaskException], truncated: Boolean) extends Product with Serializable

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

    Permalink

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

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

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

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

    Permalink
  19. 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
  20. 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.

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

    Permalink
  22. 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
  23. case class RunProgramResult(jobId: String) extends Product with Serializable

    Permalink
  24. 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
  25. case class TaskCounts(total: Int, pending: Int, running: Int, finished: Int, canceling: Int, canceled: Int, failed: Int) extends Product with Serializable

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

    Permalink
  27. case class TaskManager(id: String, path: String, dataPort: Int, timeSinceLastHeartbeat: LocalDateTime, slotsNumber: Int, freeSlots: Int, cpuCores: Int, physicalMemory: Long, freeMemory: Long, managedMemory: Long) extends Product with Serializable

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

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

    Permalink
  30. 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 ClusterTaskManagers extends Serializable

    Permalink
  5. object ExecutionStatus

    Permalink
  6. object FlinkClusterOverview extends Serializable

    Permalink
  7. object FlinkConfig extends Serializable

    Permalink
  8. object FlinkConfigInfo extends Serializable

    Permalink
  9. object FlinkRestClient

    Permalink
  10. object FlinkWrapperInvalidJsonException extends Serializable

    Permalink
  11. object Job extends Serializable

    Permalink
  12. object JobExceptions extends Serializable

    Permalink
  13. object JobOverview extends Serializable

    Permalink
  14. object JobPlan extends Serializable

    Permalink
  15. object JobPlanNode extends Serializable

    Permalink
  16. object JobStatus

    Permalink
  17. object JobSummary extends Serializable

    Permalink
  18. object JobVertex extends Serializable

    Permalink
  19. object JobsList extends Serializable

    Permalink
  20. object NodeInput extends Serializable

    Permalink
  21. object OptimizerProperties extends Serializable

    Permalink
  22. object RunProgramResult extends Serializable

    Permalink
  23. object StateTimes extends Serializable

    Permalink
  24. object TaskCounts extends Serializable

    Permalink
  25. object TaskException extends Serializable

    Permalink
  26. object TaskManager extends Serializable

    Permalink
  27. object UploadJarResult extends Serializable

    Permalink
  28. object VertexMetrics extends Serializable

    Permalink
  29. object VertexTaskCounts extends Serializable

    Permalink

Ungrouped