Documentation
¶
Index ¶
- func SetDefaultSession(s *gocql.Session)
- type Counter
- type Iterator
- type Keyspace
- func (ks Keyspace) Create(replication map[string]interface{}, durableWrites bool) error
- func (ks Keyspace) Drop() error
- func (ks Keyspace) Name() string
- func (ks Keyspace) NewTable(name string, rowKeys, rangeKeys []string, row interface{}) Table
- func (ks Keyspace) Session() *gocql.Session
- func (ks *Keyspace) SetSession(session *gocql.Session)
- func (ks Keyspace) Tables() ([]string, error)
- type KeyspaceInterface
- type Query
- type Table
- func (t Table) Create() error
- func (t Table) CreateWithProperties(props ...string) error
- func (t Table) Drop() error
- func (t Table) Keyspace() Keyspace
- func (t Table) Name() string
- func (t Table) Query(statement string, values ...interface{}) Query
- func (t Table) RangeKeys() []string
- func (t Table) Row() interface{}
- func (t Table) RowKeys() []string
- type TableInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultSession ¶
Types ¶
type Keyspace ¶
type Keyspace struct {
// contains filtered or unexported fields
}
func NewKeyspace ¶
func (*Keyspace) SetSession ¶
type KeyspaceInterface ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (Table) CreateWithProperties ¶
Directories
¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/code.google.com/p/snappy-go/snappy
Package snappy implements the snappy block-based compression format.
|
Package snappy implements the snappy block-based compression format. |
_workspace/src/github.com/gocql/gocql
Package gocql implements a fast and robust Cassandra driver for the Go programming language.
|
Package gocql implements a fast and robust Cassandra driver for the Go programming language. |
_workspace/src/github.com/golang/groupcache/lru
Package lru implements an LRU cache.
|
Package lru implements an LRU cache. |
_workspace/src/speter.net/go/exp/math/dec/inf
Package inf (type inf.Dec) implements "infinite-precision" decimal arithmetic.
|
Package inf (type inf.Dec) implements "infinite-precision" decimal arithmetic. |
examples
|
|
This package provides some punk-rock reflection which is not in the stdlib.
|
This package provides some punk-rock reflection which is not in the stdlib. |