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

tech.ytsaurus.spyt.wrapper.table.YtTableSettings.scala Maven / Gradle / Ivy

The newest version!
package tech.ytsaurus.spyt.wrapper.table

import tech.ytsaurus.ysontree.{YTreeBuilder, YTreeNode}

trait YtTableSettings {
  def ytSchema: YTreeNode

  def optionsAny: Map[String, Any]

  def options: Map[String, YTreeNode] = {
    optionsAny.mapValues{v => new YTreeBuilder().value(v).build()} + ("schema" -> ytSchema)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy