ProtocolConfig

com.avast.sst.datastax.config.ProtocolConfig
See theProtocolConfig companion object
final case class ProtocolConfig(version: Option[String], compression: Option[String], maxFrameLength: Int)

Protocol for query connection.

Value parameters

compression

The name of the algorithm used to compress protocol frames.

maxFrameLength

The maximum length of the frames supported by the driver in megabytes. Beyond that limit, requests will fail with an exception.

version

The native protocol version to use. If this option is absent, the driver looks up the versions of the nodes at startup (by default in "system.peers.release_version"), and chooses the highest common protocol version.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product