Documentation ¶
Index ¶
- type CQLIterator
- type CQLQuery
- func (q CQLQuery) Bind(v ...any) cassandra.Query
- func (q CQLQuery) Consistency(level cassandra.Consistency) cassandra.Query
- func (q CQLQuery) Exec() error
- func (q CQLQuery) Iter() cassandra.Iterator
- func (q CQLQuery) PageSize(n int) cassandra.Query
- func (q CQLQuery) ScanCAS(dest ...any) (bool, error)
- func (q CQLQuery) String() string
- type CQLSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CQLIterator ¶
type CQLIterator struct {
// contains filtered or unexported fields
}
CQLIterator is a wrapper around gocql.Iter.
func WrapCQLIterator ¶
func WrapCQLIterator(iter *gocql.Iter) CQLIterator
WrapCQLIterator creates an Iterator out of *gocql.Iter.
func (CQLIterator) Scan ¶
func (i CQLIterator) Scan(dest ...any) bool
Scan delegates to gocql.Iter#Scan.
type CQLQuery ¶
type CQLQuery struct {
// contains filtered or unexported fields
}
CQLQuery is a wrapper around gocql.Query.
func WrapCQLQuery ¶
WrapCQLQuery creates a Query out of *gocql.Query.
func (CQLQuery) Consistency ¶
func (q CQLQuery) Consistency(level cassandra.Consistency) cassandra.Query
Consistency delegates to gocql.Query#Consistency and wraps the result as Query.
func (CQLQuery) PageSize ¶
PageSize delegates to gocql.Query#PageSize and wraps the result as Query.
type CQLSession ¶
type CQLSession struct {
// contains filtered or unexported fields
}
CQLSession is a wrapper around gocql.Session.
func WrapCQLSession ¶
func WrapCQLSession(session *gocql.Session) CQLSession
WrapCQLSession creates a Session out of *gocql.Session.
Click to show internal directories.
Click to hide internal directories.