Sha256: 7b09c78b9c385d9116fe07b79bcb95759d0726f883ce16993d9304f159f884e2

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

package org.embulk.filter.key_in_redis

import com.google.common.base.Optional
import org.embulk.config.{Config, ConfigDefault, Task}
import org.embulk.spi.time.TimestampFormatter

trait PluginTask extends Task with TimestampFormatter.Task {

  @Config("redis_set_key")
  def getRedisSetKey: String

  @Config("match_as_md5")
  @ConfigDefault("false")
  def getMatchAsMD5: Boolean

  @Config("load_on_memory")
  @ConfigDefault("false")
  def getLoadOnMemory: Boolean

  @Config("key_with_index")
  @ConfigDefault("{}")
  def getKeyWithIndex: java.util.Map[String, String]

  @Config("json_key_with_index")
  @ConfigDefault("{}")
  def getJsonKeyWithIndex: java.util.Map[String, String]

  @Config("appender")
  @ConfigDefault("\"-\"")
  def getAppender: String

  @Config("host")
  @ConfigDefault("\"127.0.0.1\"")
  def getHost: String

  @Config("port")
  @ConfigDefault("6379")
  def getPort: Int

  @Config("replica_hosts")
  @ConfigDefault("{}")
  def getReplicaHosts: java.util.Map[String, String]

  @Config("db")
  @ConfigDefault("null")
  def getDb: Optional[Int]

}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
embulk-filter-key_in_redis-0.1.3 src/main/scala/org/embulk/filter/key_in_redis/PluginTask.scala
embulk-filter-key_in_redis-0.1.2 src/main/scala/org/embulk/filter/key_in_redis/PluginTask.scala
embulk-filter-key_in_redis-0.1.1 src/main/scala/org/embulk/filter/key_in_redis/PluginTask.scala