package
flinkwrapper
Type Members
-
case class
CancelJobAccepted(requestId: Long, location: String) extends Product with Serializable
-
case class
CancellationStatusInfo(status: CancellationStatus, requestId: Long, savepointPath: Option[String], failureCause: Option[String]) extends Product with Serializable
-
case class
ClusterTaskManagers(taskManagers: Seq[TaskManager]) extends Product with Serializable
-
case class
FlinkClusterOverview(taskManagers: Int, totalSlots: Int, availableSlots: Int, runningJobs: Int, finishedJobs: Int, cancelledJobs: Int, failedJobs: Int) extends Product with Serializable
-
case class
FlinkConfig(key: String, value: String) extends Product with Serializable
-
case class
FlinkConfigInfo(refreshInterval: Int, timezoneOffset: Duration, timezoneName: String, flinkVersion: String, flinkRevision: String) extends Product with Serializable
-
-
-
case class
FlinkRestClientConfig(url: String, maybeActorSystem: Option[ActorSystem] = None, responseHandler: FlinkResponseHandler = FlinkResponseHandler) extends Product with Serializable
-
-
-
-
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
-
case class
JobExceptions(rootException: Option[String], allExceptions: Seq[TaskException], truncated: Boolean) extends Product with Serializable
-
case class
JobOverview(running: Seq[JobSummary], finished: Seq[JobSummary]) extends Product with Serializable
-
case class
JobPlan(jobId: String, name: String, nodes: Seq[JobPlanNode]) extends Product with Serializable
-
case class
JobPlanNode(id: String, parallelism: Int, operator: String, operatorStrategy: String, description: String, inputs: Option[Seq[NodeInput]], optimizerProperties: OptimizerProperties) extends Product with Serializable
-
case class
JobSummary(id: String, name: String, state: JobStatus, startTime: LocalDateTime, endTime: LocalDateTime, duration: Duration, lastModification: LocalDateTime, taskCounts: TaskCounts) extends Product with Serializable
-
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
-
case class
JobsList(running: Seq[String], finished: Seq[String], cancelled: Seq[String], failed: Seq[String]) extends Product with Serializable
-
case class
NodeInput(num: Long, id: String, shipStrategy: Option[String], localStrategy: Option[String], caching: Option[String], exchange: String) extends Product with Serializable
-
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
-
case class
RunProgramResult(jobId: String) extends Product with Serializable
-
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
-
case class
TaskCounts(total: Int, pending: Int, running: Int, finished: Int, canceling: Int, canceled: Int, failed: Int) extends Product with Serializable
-
case class
TaskException(exception: String, task: String, location: String) extends Product with Serializable
-
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
-
case class
UploadJarResult(status: String, filename: String) extends Product with Serializable
-
case class
VertexMetrics(readBytes: Long, writeBytes: Long, readRecords: Long, writeRecords: Long) extends Product with Serializable
-
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
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.