cassandra

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cassandra

type Cassandra struct {
	Client        *gocql.Session
	Hosts         []string
	User          string
	Password      string
	Consistency   string
	Keyspace      string
	QueryKey      *bool
	Key           *string
	RetrieveQuery *schema.SqlQuery
	ClearQuery    *schema.SqlQuery
	FailQuery     *schema.SqlQuery
}

func (*Cassandra) Cleanup

func (d *Cassandra) Cleanup() error

func (*Cassandra) ClearWork

func (d *Cassandra) ClearWork() error

func (*Cassandra) GetWork

func (d *Cassandra) GetWork() (io.Reader, error)

func (*Cassandra) HandleFailure

func (d *Cassandra) HandleFailure() error

func (*Cassandra) Init

func (d *Cassandra) Init() error

func (*Cassandra) LoadEnv

func (d *Cassandra) LoadEnv(prefix string) error

func (*Cassandra) LoadFlags

func (d *Cassandra) LoadFlags() error

Jump to

Keyboard shortcuts

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