ProtocolConfig

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.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product