Sha256: 869e3b90dccd38a9afff8272b044b2fd971783672727c351e7537f4b1e82f64f

Contents?: true

Size: 853 Bytes

Versions: 4

Compression:

Stored size: 853 Bytes

Contents

package org.embulk.parser.firebase_avro.column

import org.embulk.parser.firebase_avro.define.root.user_dim._
import org.embulk.spi.{Column => EmbulkColumn}
import org.embulk.spi.`type`.Types

object UserDimension {
  def apply(index: Int): Seq[Column] = {
    Columns.generate(index) {
      List(
        Column
          .getGeneral[org.embulk.parser.firebase_avro.define.root.User_Dim],
        (i: Int) =>
          List(
            Column("org.embulk.parser.firebase_avro.define.root.user_dim.user_properties",
                   new EmbulkColumn(i, "user_dim.user_property", Types.JSON))),
        Column.getGeneral[Device_Info],
        Column.getGeneral[Geo_Info],
        Column.getGeneral[App_Info],
        Column.getGeneral[Traffic_Source],
        Column.getGeneral[Bundle_Info],
        Column.getGeneral[Ltv_Info]
      )
    }

  }

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
embulk-parser-firebase_avro-0.1.3 src/main/scala/org/embulk/parser/firebase_avro/column/UserDimension.scala
embulk-parser-firebase_avro-0.1.2 src/main/scala/org/embulk/parser/firebase_avro/column/UserDimension.scala
embulk-parser-firebase_avro-0.1.1 src/main/scala/org/embulk/parser/firebase_avro/column/UserDimension.scala
embulk-parser-firebase_avro-0.1.0 src/main/scala/org/embulk/parser/firebase_avro/column/UserDimension.scala