query

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2013 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package query contains artifacts shared across other packages in query processing.

Package query contains artifacts shared across other packages in query processing.

Index

Constants

View Source
const (
	EXCEPTION = iota
	WARNING
	NOTICE
	INFO
	LOG
	DEBUG
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error interface {
	error
	Code() int32
	TranslationKey() string
	Cause() error
	Level() int
	IsFatal() bool
}

Error will eventually include code, message key, and internal error object (cause) and message

func NewBucketDoesNotExist

func NewBucketDoesNotExist(bucket string) Error

func NewDebug

func NewDebug(internalMsg string) Error

func NewError

func NewError(e error, internalMsg string) Error

func NewInfo

func NewInfo(internalMsg string) Error

func NewLog

func NewLog(internalMsg string) Error

func NewNotice

func NewNotice(internalMsg string) Error

func NewParseError

func NewParseError(e error, msg string) Error

func NewPoolDoesNotExist

func NewPoolDoesNotExist(pool string) Error

func NewSemanticError

func NewSemanticError(e error, msg string) Error

func NewTimeoutError added in v0.6.0

func NewTimeoutError(timeout *time.Duration) Error

func NewTotalElapsedTimeInfo

func NewTotalElapsedTimeInfo(time string) Error

func NewTotalRowsInfo

func NewTotalRowsInfo(rows int) Error

func NewWarning

func NewWarning(internalMsg string) Error

type ErrorChannel

type ErrorChannel chan Error

Jump to

Keyboard shortcuts

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