cassandra

package
v0.0.0-...-a538128 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoRows error = errors.New("no results")
)

Functions

func Parse

func Parse(q *gocql.Query) ResultMapper

Parse is default implementation of Parser interface

func ParseCqlQuery

func ParseCqlQuery(q CqlQuery) ResultMapper

Parse is default implementation of Parser interface

Types

type CqlIterator

type CqlIterator interface {
	Columns() []gocql.ColumnInfo
	Scan(...interface{}) bool
	NumRows() int
	Close() error
}

type CqlQuery

type CqlQuery interface {
	Iter() CqlIterator
}

Jump to

Keyboard shortcuts

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