com.memsql.spark.connector

MemSQLConf

case class MemSQLConf(masterHost: String, masterPort: Int, user: String, password: String, defaultDBName: String, defaultSaveMode: SaveMode, defaultCreateMode: CreateMode, defaultInsertBatchSize: Int, defaultLoadDataCompression: CompressionType) extends Product with Serializable

Configuration for a MemSQL cluster. By default these parameters are set by the corresponding value in the Spark configuration.

masterHost

Hostname of the MemSQL Master Aggregator. Corresponds to "memsql.host" in the Spark configuration.

masterPort

Port of the MemSQL Master Aggregator. Corresponds to "memsql.port" in the Spark configuration.

user

Username to use when connecting to the MemSQL Master Aggregator. Corresponds to "memsql.user" in the Spark configuration.

password

Password to use when connecting to the MemSQL Master Aggregator. Corresponds to "memsql.password" in the Spark configuration.

defaultDBName

The default database to use when connecting to the cluster. Corresponds to "memsql.defaultDatabase" in the Spark configuration.

defaultSaveMode

The default org.apache.spark.sql.SaveMode to use when writingsaving org.apache.spark.sql.DataFrames to a MemSQL table. Corresponds to "memsql.defaultSaveMode" in the Spark configuration.

defaultCreateMode

The default org.apache.spark.sql.memsql.CreateMode to use when creating a MemSQL table. Corresponds to "memsql.defaultCreateMode" in the Spark configuration.

defaultInsertBatchSize

The default batch insert size to use when writing to a MemSQL table using org.apache.spark.sql.memsql.InsertStrategy. Corresponds to "memsql.defaultInsertBatchSize" in the Spark configuration.

defaultLoadDataCompression

The default org.apache.spark.sql.memsql.CompressionType to use when writing to a MemSQL table using org.apache.spark.sql.memsql.LoadDataStrategy. Corresponds to "memsql.defaultLoadDataCompression" in the Spark configuration.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MemSQLConf
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MemSQLConf(masterHost: String, masterPort: Int, user: String, password: String, defaultDBName: String, defaultSaveMode: SaveMode, defaultCreateMode: CreateMode, defaultInsertBatchSize: Int, defaultLoadDataCompression: CompressionType)

    masterHost

    Hostname of the MemSQL Master Aggregator. Corresponds to "memsql.host" in the Spark configuration.

    masterPort

    Port of the MemSQL Master Aggregator. Corresponds to "memsql.port" in the Spark configuration.

    user

    Username to use when connecting to the MemSQL Master Aggregator. Corresponds to "memsql.user" in the Spark configuration.

    password

    Password to use when connecting to the MemSQL Master Aggregator. Corresponds to "memsql.password" in the Spark configuration.

    defaultDBName

    The default database to use when connecting to the cluster. Corresponds to "memsql.defaultDatabase" in the Spark configuration.

    defaultSaveMode

    The default org.apache.spark.sql.SaveMode to use when writingsaving org.apache.spark.sql.DataFrames to a MemSQL table. Corresponds to "memsql.defaultSaveMode" in the Spark configuration.

    defaultCreateMode

    The default org.apache.spark.sql.memsql.CreateMode to use when creating a MemSQL table. Corresponds to "memsql.defaultCreateMode" in the Spark configuration.

    defaultInsertBatchSize

    The default batch insert size to use when writing to a MemSQL table using org.apache.spark.sql.memsql.InsertStrategy. Corresponds to "memsql.defaultInsertBatchSize" in the Spark configuration.

    defaultLoadDataCompression

    The default org.apache.spark.sql.memsql.CompressionType to use when writing to a MemSQL table using org.apache.spark.sql.memsql.LoadDataStrategy. Corresponds to "memsql.defaultLoadDataCompression" in the Spark configuration.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val defaultCreateMode: CreateMode

    The default org.apache.spark.sql.memsql.CreateMode to use when creating a MemSQL table.

    The default org.apache.spark.sql.memsql.CreateMode to use when creating a MemSQL table. Corresponds to "memsql.defaultCreateMode" in the Spark configuration.

  9. val defaultDBName: String

    The default database to use when connecting to the cluster.

    The default database to use when connecting to the cluster. Corresponds to "memsql.defaultDatabase" in the Spark configuration.

  10. val defaultInsertBatchSize: Int

    The default batch insert size to use when writing to a MemSQL table using org.apache.spark.sql.memsql.InsertStrategy.

    The default batch insert size to use when writing to a MemSQL table using org.apache.spark.sql.memsql.InsertStrategy. Corresponds to "memsql.defaultInsertBatchSize" in the Spark configuration.

  11. val defaultLoadDataCompression: CompressionType

    The default org.apache.spark.sql.memsql.CompressionType to use when writing to a MemSQL table using org.apache.spark.sql.memsql.LoadDataStrategy.

    The default org.apache.spark.sql.memsql.CompressionType to use when writing to a MemSQL table using org.apache.spark.sql.memsql.LoadDataStrategy. Corresponds to "memsql.defaultLoadDataCompression" in the Spark configuration.

  12. val defaultSaveMode: SaveMode

    The default org.apache.spark.sql.SaveMode to use when writingsaving org.apache.spark.sql.DataFrames to a MemSQL table.

    The default org.apache.spark.sql.SaveMode to use when writingsaving org.apache.spark.sql.DataFrames to a MemSQL table. Corresponds to "memsql.defaultSaveMode" in the Spark configuration.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val masterConnectionInfo: MemSQLConnectionInfo

  18. val masterHost: String

    Hostname of the MemSQL Master Aggregator.

    Hostname of the MemSQL Master Aggregator. Corresponds to "memsql.host" in the Spark configuration.

  19. val masterPort: Int

    Port of the MemSQL Master Aggregator.

    Port of the MemSQL Master Aggregator. Corresponds to "memsql.port" in the Spark configuration.

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val password: String

    Password to use when connecting to the MemSQL Master Aggregator.

    Password to use when connecting to the MemSQL Master Aggregator. Corresponds to "memsql.password" in the Spark configuration.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. val user: String

    Username to use when connecting to the MemSQL Master Aggregator.

    Username to use when connecting to the MemSQL Master Aggregator. Corresponds to "memsql.user" in the Spark configuration.

  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped