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

com.landoop.streamreactor.connect.hive.StructUtils.scala Maven / Gradle / Ivy

The newest version!
package com.landoop.streamreactor.connect.hive

import org.apache.kafka.connect.data.Struct

import scala.collection.JavaConverters._

object StructUtils {
  def extractValues(struct: Struct): Vector[Any] = {
    struct.schema().fields().asScala.map(_.name).map(struct.get).toVector
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy