
scala.googleapis.bigquery.SkewSource.scala Maven / Gradle / Ivy
package googleapis.bigquery
import io.circe._
import io.circe.syntax._
final case class SkewSource(
/** Output only. Stage id of the skew source stage.
*/
stageId: Option[Long] = None
)
object SkewSource {
implicit val encoder: Encoder[SkewSource] = Encoder.instance { x =>
Json.obj("stageId" := x.stageId)
}
implicit val decoder: Decoder[SkewSource] = Decoder.instance { c =>
for {
v0 <- c.get[Option[Long]]("stageId")
} yield SkewSource(v0)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy