Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
func GetConnection ¶
func GetConnection(config Config) (*Connection, error)
GetConnection will create(& return) a new Connection to Cassandra if there is not one yet, otherwise, will just return existing singleton connection.
type TransactionSession ¶
func (*TransactionSession) Begin ¶
func (trans *TransactionSession) Begin() error
func (*TransactionSession) CommitPhase1 ¶
func (trans *TransactionSession) CommitPhase1() error
CommitPhase1 commits all changes to each Btree modified during transaction.
func (*TransactionSession) CommitPhase2 ¶
func (trans *TransactionSession) CommitPhase2() error
CommitPhase2 finalize commits of each Btree modified during transaction.
func (*TransactionSession) Rollback ¶
func (trans *TransactionSession) Rollback() error
Rollback undoes any changes done to each Btree modified during transaction.
Click to show internal directories.
Click to hide internal directories.