Scylla Documentation Logo Documentation
  • Server
    • Scylla Open Source
    • Scylla Enterprise
    • Scylla Alternator
  • Cloud
    • Scylla Cloud
    • Scylla Cloud Docs
  • Tools
    • Scylla Manager
    • Scylla Monitoring Stack
    • Scylla Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
Menu

Caution

You're viewing documentation for a previous version of Scylla Python Driver. Switch to the latest stable version.

Scylla Python Driver API Documentation cassandra.connection - Low Level Connection Info

cassandra.connection - Low Level Connection Info¶

exception cassandra.connection.ConnectionException¶

An unrecoverable error was hit when attempting to use a connection, or the connection was already closed or defunct.

exception cassandra.connection.ConnectionShutdown¶

Raised when a connection has been marked as defunct or has been closed.

exception cassandra.connection.ConnectionBusy¶

An attempt was made to send a message through a Connection that was already at the max number of in-flight operations.

exception cassandra.connection.ProtocolError¶

Communication did not match the protocol that this driver expects.

class cassandra.connection.EndPoint¶

Represents the information to connect to a cassandra node.

property address¶

The IP address of the node. This is the RPC address the driver uses when connecting to the node

property port¶

The port of the node.

resolve()¶

Resolve the endpoint to an address/port. This is called only on socket connection.

property socket_family¶

The socket family of the endpoint.

property ssl_options¶

SSL options specific to this endpoint.

class cassandra.connection.EndPointFactory¶
configure(cluster)¶

This is called by the cluster during its initialization.

create(row)¶

Create an EndPoint from a system.peers row.

class cassandra.connection.SniEndPoint(proxy_address, server_name, port=9042)¶

SNI Proxy EndPoint implementation.

class cassandra.connection.SniEndPointFactory(proxy_address, port)¶
class cassandra.connection.UnixSocketEndPoint(unix_socket_path)¶

Unix Socket EndPoint implementation.

PREVIOUS
cassandra.concurrent - Utilities for Concurrent Statement Execution
NEXT
cassandra.util - Utilities
  • 3.21.0
    • 3.25.4
    • 3.24.8
    • 3.22.3
    • 3.21.0
  • API Documentation
    • cassandra - Exceptions and Enums
    • cassandra.cluster - Clusters and Sessions
    • cassandra.policies - Load balancing and Failure Handling Policies
    • cassandra.auth - Authentication
    • cassandra.graph - Graph Statements, Options, and Row Factories
    • cassandra.metadata - Schema and Ring Topology
    • cassandra.metrics - Performance Metrics
    • cassandra.query - Prepared Statements, Batch Statements, Tracing, and Row Factories
    • cassandra.pool - Hosts and Connection Pools
    • cassandra.protocol - Protocol Features
    • cassandra.encoder - Encoders for non-prepared Statements
    • cassandra.decoder - Data Return Formats
    • cassandra.concurrent - Utilities for Concurrent Statement Execution
    • cassandra.connection - Low Level Connection Info
    • cassandra.util - Utilities
    • cassandra.timestamps - Timestamp Generation
    • cassandra.io.asyncioreactor - asyncio Event Loop
    • cassandra.io.asyncorereactor - asyncore Event Loop
    • cassandra.io.eventletreactor - eventlet-compatible Connection
    • cassandra.io.libevreactor - libev Event Loop
    • cassandra.io.geventreactor - gevent-compatible Event Loop
    • cassandra.io.twistedreactor - Twisted Event Loop
    • cassandra.cqlengine.models - Table models for object mapping
    • cassandra.cqlengine.columns - Column types for object mapping models
    • cassandra.cqlengine.query - Query and filter model objects
    • cassandra.cqlengine.connection - Connection management for cqlengine
    • cassandra.cqlengine.management - Schema management for cqlengine
    • cassandra.cqlengine.usertype - Model classes for User Defined Types
    • cassandra.datastax.graph - Graph Statements, Options, and Row Factories
    • cassandra.datastax.graph.fluent
    • cassandra.datastax.graph.fluent.query
    • cassandra.datastax.graph.fluent.predicates
  • Installation
  • Getting Started
  • Upgrading
  • Execution Profiles
  • Performance Notes
  • Paging Large Queries
  • Lightweight Transactions (Compare-and-set)
  • Security
  • User Defined Types
  • Object Mapper
    • Upgrade Guide
    • Models
    • Making Queries
    • Batch Queries
    • Connections
    • Third party integrations
    • Frequently Asked Questions
  • Working with Dates and Times
  • Frequently Asked Questions
  • Create an issue
  • Edit this page
Logo
Docs Contact Us About Us
Mail List Icon Slack Icon
© ScyllaDB 2021 and © DataStax 2013-2017
Powered by Sphinx 4.3.2 & ScyllaDB Theme 1.2.2