cassandra

package
v0.0.0-...-0a224c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2016 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CassandraClient

type CassandraClient struct {
	// contains filtered or unexported fields
}

func CreateCassandraClient

func CreateCassandraClient(clusterIp []string, clusterPort int,
	keyspace string, replicationStrategy string, timeout time.Duration) *CassandraClient

func (*CassandraClient) CloseSession

func (cassandraClient *CassandraClient) CloseSession()

func (*CassandraClient) CreateTableIfNotExist

func (cassandraClient *CassandraClient) CreateTableIfNotExist(tableSchema string, retryAmount int, retryInterval time.Duration) (returnedError error)

func (*CassandraClient) GetSession

func (cassandraClient *CassandraClient) GetSession() (returnedSession *gocql.Session, returnedError error)

func (*CassandraClient) ResetSession

func (cassandraClient *CassandraClient) ResetSession()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL