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

com.alibaba.hologres.spark.BaseSourceProvider.scala Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package com.alibaba.hologres.spark

class BaseSourceProvider() {
  val DATABASE = "database"
  val TABLE = "table"
  val USERNAME = "username"
  val PASSWORD = "password"
  val ENDPOINT = "endpoint"
  val JDBCURL = "jdbcurl"
  val WRITE_MODE = "write_mode"
  val WRITE_BATCH_SIZE = "write_batch_size"
  val WRITE_BATCH_BYTE_SIZE = "write_batch_byte_size"
  val USE_LEGACY_PUT_HANDLER = "use_legacy_put_handler"
  val WRITE_MAX_INTERVAL_MS = "write_max_interval_ms"
  val WRITE_FAIL_STRATEGY = "write_fail_strategy"
  val WRITE_THREAD_SIZE = "write_thread_size"
  val RETRY_COUNT = "retry_count"
  val RETRY_SLEEP_INIT_MS = "retry_sleep_init_ms"
  val RETRY_SLEEP_STEP_MS = "retry_sleep_step_ms"
  val CONNECTION_MAX_IDLE_MS = "connection_max_idle_ms"
  val DYNAMIC_PARTITION = "dynamic_partition"
  val FIXED_CONNECTION_MODE = "fixed_connection_mode"

  val COPY_WRITE_MODE = "copy_write_mode"
  val COPY_WRITE_FORMAT = "copy_write_format"
  val COPY_WRITE_DIRTY_DATA_CHECK = "copy_write_dirty_data_check"
  val COPY_WRITE_DIRECT_CONNECT = "copy_write_direct_connect"
  val BULK_LOAD = "bulk_load"
  val MAX_CELL_BUFFER_SIZE = "max_cell_buffer_size"
  val ENABLE_TARGET_SHARDS = "enable_target_shards"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy