syncql

package
Version: v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: BSD-3-Clause Imports: 6 Imported by: 8

Documentation

Overview

The ResultStream interface is used to iterate over query results.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadFieldInWhere                 = verror.NewIDAction("v.io/v23/query/syncql.BadFieldInWhere", verror.NoRetry)
	ErrBoolInvalidExpression           = verror.NewIDAction("v.io/v23/query/syncql.BoolInvalidExpression", verror.NoRetry)
	ErrCheckOfUnknownStatementType     = verror.NewIDAction("v.io/v23/query/syncql.CheckOfUnknownStatementType", verror.NoRetry)
	ErrCouldNotConvert                 = verror.NewIDAction("v.io/v23/query/syncql.CouldNotConvert", verror.NoRetry)
	ErrDotNotationDisallowedForKey     = verror.NewIDAction("v.io/v23/query/syncql.DotNotationDisallowedForKey", verror.NoRetry)
	ErrExecOfUnknownStatementType      = verror.NewIDAction("v.io/v23/query/syncql.ExecOfUnknownStatementType", verror.NoRetry)
	ErrExpected                        = verror.NewIDAction("v.io/v23/query/syncql.Expected", verror.NoRetry)
	ErrExpectedFrom                    = verror.NewIDAction("v.io/v23/query/syncql.ExpectedFrom", verror.NoRetry)
	ErrExpectedIdentifier              = verror.NewIDAction("v.io/v23/query/syncql.ExpectedIdentifier", verror.NoRetry)
	ErrExpectedOperand                 = verror.NewIDAction("v.io/v23/query/syncql.ExpectedOperand", verror.NoRetry)
	ErrExpectedOperator                = verror.NewIDAction("v.io/v23/query/syncql.ExpectedOperator", verror.NoRetry)
	ErrFunctionArgCount                = verror.NewIDAction("v.io/v23/query/syncql.FunctionArgCount", verror.NoRetry)
	ErrFunctionAtLeastArgCount         = verror.NewIDAction("v.io/v23/query/syncql.FunctionAtLeastArgCount", verror.NoRetry)
	ErrFunctionTypeInvalidArg          = verror.NewIDAction("v.io/v23/query/syncql.FunctionTypeInvalidArg", verror.NoRetry)
	ErrFunctionLenInvalidArg           = verror.NewIDAction("v.io/v23/query/syncql.FunctionLenInvalidArg", verror.NoRetry)
	ErrFunctionArgBad                  = verror.NewIDAction("v.io/v23/query/syncql.FunctionArgBad", verror.NoRetry)
	ErrFunctionNotFound                = verror.NewIDAction("v.io/v23/query/syncql.FunctionNotFound", verror.NoRetry)
	ErrArgMustBeField                  = verror.NewIDAction("v.io/v23/query/syncql.ArgMustBeField", verror.NoRetry)
	ErrBigIntConversionError           = verror.NewIDAction("v.io/v23/query/syncql.BigIntConversionError", verror.NoRetry)
	ErrBigRatConversionError           = verror.NewIDAction("v.io/v23/query/syncql.BigRatConversionError", verror.NoRetry)
	ErrBoolConversionError             = verror.NewIDAction("v.io/v23/query/syncql.BoolConversionError", verror.NoRetry)
	ErrComplexConversionError          = verror.NewIDAction("v.io/v23/query/syncql.ComplexConversionError", verror.NoRetry)
	ErrUintConversionError             = verror.NewIDAction("v.io/v23/query/syncql.UintConversionError", verror.NoRetry)
	ErrTimeConversionError             = verror.NewIDAction("v.io/v23/query/syncql.TimeConversionError", verror.NoRetry)
	ErrLocationConversionError         = verror.NewIDAction("v.io/v23/query/syncql.LocationConversionError", verror.NoRetry)
	ErrStringConversionError           = verror.NewIDAction("v.io/v23/query/syncql.StringConversionError", verror.NoRetry)
	ErrFloatConversionError            = verror.NewIDAction("v.io/v23/query/syncql.FloatConversionError", verror.NoRetry)
	ErrIntConversionError              = verror.NewIDAction("v.io/v23/query/syncql.IntConversionError", verror.NoRetry)
	ErrIsIsNotRequireLhsValue          = verror.NewIDAction("v.io/v23/query/syncql.IsIsNotRequireLhsValue", verror.NoRetry)
	ErrIsIsNotRequireRhsNil            = verror.NewIDAction("v.io/v23/query/syncql.IsIsNotRequireRhsNil", verror.NoRetry)
	ErrInvalidLikePattern              = verror.NewIDAction("v.io/v23/query/syncql.InvalidLikePattern", verror.NoRetry)
	ErrInvalidSelectField              = verror.NewIDAction("v.io/v23/query/syncql.InvalidSelectField", verror.NoRetry)
	ErrKeyExpressionLiteral            = verror.NewIDAction("v.io/v23/query/syncql.KeyExpressionLiteral", verror.NoRetry)
	ErrKeyValueStreamError             = verror.NewIDAction("v.io/v23/query/syncql.KeyValueStreamError", verror.NoRetry)
	ErrLikeExpressionsRequireRhsString = verror.NewIDAction("v.io/v23/query/syncql.LikeExpressionsRequireRhsString", verror.NoRetry)
	ErrLimitMustBeGt0                  = verror.NewIDAction("v.io/v23/query/syncql.LimitMustBeGt0", verror.NoRetry)
	ErrMaxStatementLenExceeded         = verror.NewIDAction("v.io/v23/query/syncql.MaxStatementLenExceeded", verror.NoRetry)
	ErrNoStatementFound                = verror.NewIDAction("v.io/v23/query/syncql.NoStatementFound", verror.NoRetry)
	ErrOffsetMustBeGe0                 = verror.NewIDAction("v.io/v23/query/syncql.OffsetMustBeGe0", verror.NoRetry)
	ErrScanError                       = verror.NewIDAction("v.io/v23/query/syncql.ScanError", verror.NoRetry)
	ErrTableCantAccess                 = verror.NewIDAction("v.io/v23/query/syncql.TableCantAccess", verror.NoRetry)
	ErrUnexpected                      = verror.NewIDAction("v.io/v23/query/syncql.Unexpected", verror.NoRetry)
	ErrUnexpectedEndOfStatement        = verror.NewIDAction("v.io/v23/query/syncql.UnexpectedEndOfStatement", verror.NoRetry)
	ErrUnknownIdentifier               = verror.NewIDAction("v.io/v23/query/syncql.UnknownIdentifier", verror.NoRetry)
	ErrInvalidEscapeChar               = verror.NewIDAction("v.io/v23/query/syncql.InvalidEscapeChar", verror.NoRetry)
	ErrDidYouMeanLowercaseK            = verror.NewIDAction("v.io/v23/query/syncql.DidYouMeanLowercaseK", verror.NoRetry)
	ErrDidYouMeanLowercaseV            = verror.NewIDAction("v.io/v23/query/syncql.DidYouMeanLowercaseV", verror.NoRetry)
	ErrDidYouMeanFunction              = verror.NewIDAction("v.io/v23/query/syncql.DidYouMeanFunction", verror.NoRetry)
	ErrNotEnoughParamValuesSpecified   = verror.NewIDAction("v.io/v23/query/syncql.NotEnoughParamValuesSpecified", verror.NoRetry)
	ErrTooManyParamValuesSpecified     = verror.NewIDAction("v.io/v23/query/syncql.TooManyParamValuesSpecified", verror.NoRetry)
	ErrPreparedStatementNotFound       = verror.NewIDAction("v.io/v23/query/syncql.PreparedStatementNotFound", verror.NoRetry)
	ErrIndexKindNotSupported           = verror.NewIDAction("v.io/v23/query/syncql.IndexKindNotSupported", verror.NoRetry)
	ErrInvalidIndexField               = verror.NewIDAction("v.io/v23/query/syncql.InvalidIndexField", verror.NoRetry)
	ErrNotWritable                     = verror.NewIDAction("v.io/v23/query/syncql.NotWritable", verror.NoRetry)
	ErrOperationNotSupported           = verror.NewIDAction("v.io/v23/query/syncql.OperationNotSupported", verror.NoRetry)
)

Functions

func ErrorfArgMustBeField added in v0.1.10

func ErrorfArgMustBeField(ctx *context.T, format string, off int64) error

ErrorfArgMustBeField calls ErrArgMustBeField.Errorf with the supplied arguments.

func ErrorfBadFieldInWhere added in v0.1.10

func ErrorfBadFieldInWhere(ctx *context.T, format string, off int64) error

ErrorfBadFieldInWhere calls ErrBadFieldInWhere.Errorf with the supplied arguments.

func ErrorfBigIntConversionError added in v0.1.10

func ErrorfBigIntConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfBigIntConversionError calls ErrBigIntConversionError.Errorf with the supplied arguments.

func ErrorfBigRatConversionError added in v0.1.10

func ErrorfBigRatConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfBigRatConversionError calls ErrBigRatConversionError.Errorf with the supplied arguments.

func ErrorfBoolConversionError added in v0.1.10

func ErrorfBoolConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfBoolConversionError calls ErrBoolConversionError.Errorf with the supplied arguments.

func ErrorfBoolInvalidExpression added in v0.1.10

func ErrorfBoolInvalidExpression(ctx *context.T, format string, off int64) error

ErrorfBoolInvalidExpression calls ErrBoolInvalidExpression.Errorf with the supplied arguments.

func ErrorfCheckOfUnknownStatementType added in v0.1.10

func ErrorfCheckOfUnknownStatementType(ctx *context.T, format string, off int64) error

ErrorfCheckOfUnknownStatementType calls ErrCheckOfUnknownStatementType.Errorf with the supplied arguments.

func ErrorfComplexConversionError added in v0.1.10

func ErrorfComplexConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfComplexConversionError calls ErrComplexConversionError.Errorf with the supplied arguments.

func ErrorfCouldNotConvert added in v0.1.10

func ErrorfCouldNotConvert(ctx *context.T, format string, off int64, from string, to string) error

ErrorfCouldNotConvert calls ErrCouldNotConvert.Errorf with the supplied arguments.

func ErrorfDidYouMeanFunction added in v0.1.10

func ErrorfDidYouMeanFunction(ctx *context.T, format string, off int64, correctName string) error

ErrorfDidYouMeanFunction calls ErrDidYouMeanFunction.Errorf with the supplied arguments.

func ErrorfDidYouMeanLowercaseK added in v0.1.10

func ErrorfDidYouMeanLowercaseK(ctx *context.T, format string, off int64) error

ErrorfDidYouMeanLowercaseK calls ErrDidYouMeanLowercaseK.Errorf with the supplied arguments.

func ErrorfDidYouMeanLowercaseV added in v0.1.10

func ErrorfDidYouMeanLowercaseV(ctx *context.T, format string, off int64) error

ErrorfDidYouMeanLowercaseV calls ErrDidYouMeanLowercaseV.Errorf with the supplied arguments.

func ErrorfDotNotationDisallowedForKey added in v0.1.10

func ErrorfDotNotationDisallowedForKey(ctx *context.T, format string, off int64) error

ErrorfDotNotationDisallowedForKey calls ErrDotNotationDisallowedForKey.Errorf with the supplied arguments.

func ErrorfExecOfUnknownStatementType added in v0.1.10

func ErrorfExecOfUnknownStatementType(ctx *context.T, format string, off int64, statementType string) error

ErrorfExecOfUnknownStatementType calls ErrExecOfUnknownStatementType.Errorf with the supplied arguments.

func ErrorfExpected added in v0.1.10

func ErrorfExpected(ctx *context.T, format string, off int64, expected string) error

ErrorfExpected calls ErrExpected.Errorf with the supplied arguments.

func ErrorfExpectedFrom added in v0.1.10

func ErrorfExpectedFrom(ctx *context.T, format string, off int64, found string) error

ErrorfExpectedFrom calls ErrExpectedFrom.Errorf with the supplied arguments.

func ErrorfExpectedIdentifier added in v0.1.10

func ErrorfExpectedIdentifier(ctx *context.T, format string, off int64, found string) error

ErrorfExpectedIdentifier calls ErrExpectedIdentifier.Errorf with the supplied arguments.

func ErrorfExpectedOperand added in v0.1.10

func ErrorfExpectedOperand(ctx *context.T, format string, off int64, found string) error

ErrorfExpectedOperand calls ErrExpectedOperand.Errorf with the supplied arguments.

func ErrorfExpectedOperator added in v0.1.10

func ErrorfExpectedOperator(ctx *context.T, format string, off int64, found string) error

ErrorfExpectedOperator calls ErrExpectedOperator.Errorf with the supplied arguments.

func ErrorfFloatConversionError added in v0.1.10

func ErrorfFloatConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfFloatConversionError calls ErrFloatConversionError.Errorf with the supplied arguments.

func ErrorfFunctionArgBad added in v0.1.10

func ErrorfFunctionArgBad(ctx *context.T, format string, off int64, funcName string, argName string) error

ErrorfFunctionArgBad calls ErrFunctionArgBad.Errorf with the supplied arguments.

func ErrorfFunctionArgCount added in v0.1.10

func ErrorfFunctionArgCount(ctx *context.T, format string, off int64, name string, expected int64, found int64) error

ErrorfFunctionArgCount calls ErrFunctionArgCount.Errorf with the supplied arguments.

func ErrorfFunctionAtLeastArgCount added in v0.1.10

func ErrorfFunctionAtLeastArgCount(ctx *context.T, format string, off int64, name string, expected int64, found int64) error

ErrorfFunctionAtLeastArgCount calls ErrFunctionAtLeastArgCount.Errorf with the supplied arguments.

func ErrorfFunctionLenInvalidArg added in v0.1.10

func ErrorfFunctionLenInvalidArg(ctx *context.T, format string, off int64) error

ErrorfFunctionLenInvalidArg calls ErrFunctionLenInvalidArg.Errorf with the supplied arguments.

func ErrorfFunctionNotFound added in v0.1.10

func ErrorfFunctionNotFound(ctx *context.T, format string, off int64, name string) error

ErrorfFunctionNotFound calls ErrFunctionNotFound.Errorf with the supplied arguments.

func ErrorfFunctionTypeInvalidArg added in v0.1.10

func ErrorfFunctionTypeInvalidArg(ctx *context.T, format string, off int64) error

ErrorfFunctionTypeInvalidArg calls ErrFunctionTypeInvalidArg.Errorf with the supplied arguments.

func ErrorfIndexKindNotSupported added in v0.1.10

func ErrorfIndexKindNotSupported(ctx *context.T, format string, off int64, kind string, fieldName string, table string) error

ErrorfIndexKindNotSupported calls ErrIndexKindNotSupported.Errorf with the supplied arguments.

func ErrorfIntConversionError added in v0.1.10

func ErrorfIntConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfIntConversionError calls ErrIntConversionError.Errorf with the supplied arguments.

func ErrorfInvalidEscapeChar added in v0.1.10

func ErrorfInvalidEscapeChar(ctx *context.T, format string, off int64, escChar string) error

ErrorfInvalidEscapeChar calls ErrInvalidEscapeChar.Errorf with the supplied arguments.

func ErrorfInvalidIndexField added in v0.1.10

func ErrorfInvalidIndexField(ctx *context.T, format string, off int64, fieldName string, table string) error

ErrorfInvalidIndexField calls ErrInvalidIndexField.Errorf with the supplied arguments.

func ErrorfInvalidLikePattern added in v0.1.10

func ErrorfInvalidLikePattern(ctx *context.T, format string, off int64, err error) error

ErrorfInvalidLikePattern calls ErrInvalidLikePattern.Errorf with the supplied arguments.

func ErrorfInvalidSelectField added in v0.1.10

func ErrorfInvalidSelectField(ctx *context.T, format string, off int64) error

ErrorfInvalidSelectField calls ErrInvalidSelectField.Errorf with the supplied arguments.

func ErrorfIsIsNotRequireLhsValue added in v0.1.10

func ErrorfIsIsNotRequireLhsValue(ctx *context.T, format string, off int64) error

ErrorfIsIsNotRequireLhsValue calls ErrIsIsNotRequireLhsValue.Errorf with the supplied arguments.

func ErrorfIsIsNotRequireRhsNil added in v0.1.10

func ErrorfIsIsNotRequireRhsNil(ctx *context.T, format string, off int64) error

ErrorfIsIsNotRequireRhsNil calls ErrIsIsNotRequireRhsNil.Errorf with the supplied arguments.

func ErrorfKeyExpressionLiteral added in v0.1.10

func ErrorfKeyExpressionLiteral(ctx *context.T, format string, off int64) error

ErrorfKeyExpressionLiteral calls ErrKeyExpressionLiteral.Errorf with the supplied arguments.

func ErrorfKeyValueStreamError added in v0.1.10

func ErrorfKeyValueStreamError(ctx *context.T, format string, off int64, err error) error

ErrorfKeyValueStreamError calls ErrKeyValueStreamError.Errorf with the supplied arguments.

func ErrorfLikeExpressionsRequireRhsString added in v0.1.10

func ErrorfLikeExpressionsRequireRhsString(ctx *context.T, format string, off int64) error

ErrorfLikeExpressionsRequireRhsString calls ErrLikeExpressionsRequireRhsString.Errorf with the supplied arguments.

func ErrorfLimitMustBeGt0 added in v0.1.10

func ErrorfLimitMustBeGt0(ctx *context.T, format string, off int64) error

ErrorfLimitMustBeGt0 calls ErrLimitMustBeGt0.Errorf with the supplied arguments.

func ErrorfLocationConversionError added in v0.1.10

func ErrorfLocationConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfLocationConversionError calls ErrLocationConversionError.Errorf with the supplied arguments.

func ErrorfMaxStatementLenExceeded added in v0.1.10

func ErrorfMaxStatementLenExceeded(ctx *context.T, format string, off int64, max int64, found int64) error

ErrorfMaxStatementLenExceeded calls ErrMaxStatementLenExceeded.Errorf with the supplied arguments.

func ErrorfNoStatementFound added in v0.1.10

func ErrorfNoStatementFound(ctx *context.T, format string, off int64) error

ErrorfNoStatementFound calls ErrNoStatementFound.Errorf with the supplied arguments.

func ErrorfNotEnoughParamValuesSpecified added in v0.1.10

func ErrorfNotEnoughParamValuesSpecified(ctx *context.T, format string, off int64) error

ErrorfNotEnoughParamValuesSpecified calls ErrNotEnoughParamValuesSpecified.Errorf with the supplied arguments.

func ErrorfNotWritable added in v0.1.10

func ErrorfNotWritable(ctx *context.T, format string, table string) error

ErrorfNotWritable calls ErrNotWritable.Errorf with the supplied arguments.

func ErrorfOffsetMustBeGe0 added in v0.1.10

func ErrorfOffsetMustBeGe0(ctx *context.T, format string, off int64) error

ErrorfOffsetMustBeGe0 calls ErrOffsetMustBeGe0.Errorf with the supplied arguments.

func ErrorfOperationNotSupported added in v0.1.10

func ErrorfOperationNotSupported(ctx *context.T, format string, operation string) error

ErrorfOperationNotSupported calls ErrOperationNotSupported.Errorf with the supplied arguments.

func ErrorfPreparedStatementNotFound added in v0.1.10

func ErrorfPreparedStatementNotFound(ctx *context.T, format string) error

ErrorfPreparedStatementNotFound calls ErrPreparedStatementNotFound.Errorf with the supplied arguments.

func ErrorfScanError added in v0.1.10

func ErrorfScanError(ctx *context.T, format string, off int64, err error) error

ErrorfScanError calls ErrScanError.Errorf with the supplied arguments.

func ErrorfStringConversionError added in v0.1.10

func ErrorfStringConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfStringConversionError calls ErrStringConversionError.Errorf with the supplied arguments.

func ErrorfTableCantAccess added in v0.1.10

func ErrorfTableCantAccess(ctx *context.T, format string, off int64, table string, err error) error

ErrorfTableCantAccess calls ErrTableCantAccess.Errorf with the supplied arguments.

func ErrorfTimeConversionError added in v0.1.10

func ErrorfTimeConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfTimeConversionError calls ErrTimeConversionError.Errorf with the supplied arguments.

func ErrorfTooManyParamValuesSpecified added in v0.1.10

func ErrorfTooManyParamValuesSpecified(ctx *context.T, format string, off int64) error

ErrorfTooManyParamValuesSpecified calls ErrTooManyParamValuesSpecified.Errorf with the supplied arguments.

func ErrorfUintConversionError added in v0.1.10

func ErrorfUintConversionError(ctx *context.T, format string, off int64, err error) error

ErrorfUintConversionError calls ErrUintConversionError.Errorf with the supplied arguments.

func ErrorfUnexpected added in v0.1.10

func ErrorfUnexpected(ctx *context.T, format string, off int64, found string) error

ErrorfUnexpected calls ErrUnexpected.Errorf with the supplied arguments.

func ErrorfUnexpectedEndOfStatement added in v0.1.10

func ErrorfUnexpectedEndOfStatement(ctx *context.T, format string, off int64) error

ErrorfUnexpectedEndOfStatement calls ErrUnexpectedEndOfStatement.Errorf with the supplied arguments.

func ErrorfUnknownIdentifier added in v0.1.10

func ErrorfUnknownIdentifier(ctx *context.T, format string, off int64, found string) error

ErrorfUnknownIdentifier calls ErrUnknownIdentifier.Errorf with the supplied arguments.

func MessageArgMustBeField added in v0.1.10

func MessageArgMustBeField(ctx *context.T, message string, off int64) error

MessageArgMustBeField calls ErrArgMustBeField.Message with the supplied arguments.

func MessageBadFieldInWhere added in v0.1.10

func MessageBadFieldInWhere(ctx *context.T, message string, off int64) error

MessageBadFieldInWhere calls ErrBadFieldInWhere.Message with the supplied arguments.

func MessageBigIntConversionError added in v0.1.10

func MessageBigIntConversionError(ctx *context.T, message string, off int64, err error) error

MessageBigIntConversionError calls ErrBigIntConversionError.Message with the supplied arguments.

func MessageBigRatConversionError added in v0.1.10

func MessageBigRatConversionError(ctx *context.T, message string, off int64, err error) error

MessageBigRatConversionError calls ErrBigRatConversionError.Message with the supplied arguments.

func MessageBoolConversionError added in v0.1.10

func MessageBoolConversionError(ctx *context.T, message string, off int64, err error) error

MessageBoolConversionError calls ErrBoolConversionError.Message with the supplied arguments.

func MessageBoolInvalidExpression added in v0.1.10

func MessageBoolInvalidExpression(ctx *context.T, message string, off int64) error

MessageBoolInvalidExpression calls ErrBoolInvalidExpression.Message with the supplied arguments.

func MessageCheckOfUnknownStatementType added in v0.1.10

func MessageCheckOfUnknownStatementType(ctx *context.T, message string, off int64) error

MessageCheckOfUnknownStatementType calls ErrCheckOfUnknownStatementType.Message with the supplied arguments.

func MessageComplexConversionError added in v0.1.10

func MessageComplexConversionError(ctx *context.T, message string, off int64, err error) error

MessageComplexConversionError calls ErrComplexConversionError.Message with the supplied arguments.

func MessageCouldNotConvert added in v0.1.10

func MessageCouldNotConvert(ctx *context.T, message string, off int64, from string, to string) error

MessageCouldNotConvert calls ErrCouldNotConvert.Message with the supplied arguments.

func MessageDidYouMeanFunction added in v0.1.10

func MessageDidYouMeanFunction(ctx *context.T, message string, off int64, correctName string) error

MessageDidYouMeanFunction calls ErrDidYouMeanFunction.Message with the supplied arguments.

func MessageDidYouMeanLowercaseK added in v0.1.10

func MessageDidYouMeanLowercaseK(ctx *context.T, message string, off int64) error

MessageDidYouMeanLowercaseK calls ErrDidYouMeanLowercaseK.Message with the supplied arguments.

func MessageDidYouMeanLowercaseV added in v0.1.10

func MessageDidYouMeanLowercaseV(ctx *context.T, message string, off int64) error

MessageDidYouMeanLowercaseV calls ErrDidYouMeanLowercaseV.Message with the supplied arguments.

func MessageDotNotationDisallowedForKey added in v0.1.10

func MessageDotNotationDisallowedForKey(ctx *context.T, message string, off int64) error

MessageDotNotationDisallowedForKey calls ErrDotNotationDisallowedForKey.Message with the supplied arguments.

func MessageExecOfUnknownStatementType added in v0.1.10

func MessageExecOfUnknownStatementType(ctx *context.T, message string, off int64, statementType string) error

MessageExecOfUnknownStatementType calls ErrExecOfUnknownStatementType.Message with the supplied arguments.

func MessageExpected added in v0.1.10

func MessageExpected(ctx *context.T, message string, off int64, expected string) error

MessageExpected calls ErrExpected.Message with the supplied arguments.

func MessageExpectedFrom added in v0.1.10

func MessageExpectedFrom(ctx *context.T, message string, off int64, found string) error

MessageExpectedFrom calls ErrExpectedFrom.Message with the supplied arguments.

func MessageExpectedIdentifier added in v0.1.10

func MessageExpectedIdentifier(ctx *context.T, message string, off int64, found string) error

MessageExpectedIdentifier calls ErrExpectedIdentifier.Message with the supplied arguments.

func MessageExpectedOperand added in v0.1.10

func MessageExpectedOperand(ctx *context.T, message string, off int64, found string) error

MessageExpectedOperand calls ErrExpectedOperand.Message with the supplied arguments.

func MessageExpectedOperator added in v0.1.10

func MessageExpectedOperator(ctx *context.T, message string, off int64, found string) error

MessageExpectedOperator calls ErrExpectedOperator.Message with the supplied arguments.

func MessageFloatConversionError added in v0.1.10

func MessageFloatConversionError(ctx *context.T, message string, off int64, err error) error

MessageFloatConversionError calls ErrFloatConversionError.Message with the supplied arguments.

func MessageFunctionArgBad added in v0.1.10

func MessageFunctionArgBad(ctx *context.T, message string, off int64, funcName string, argName string) error

MessageFunctionArgBad calls ErrFunctionArgBad.Message with the supplied arguments.

func MessageFunctionArgCount added in v0.1.10

func MessageFunctionArgCount(ctx *context.T, message string, off int64, name string, expected int64, found int64) error

MessageFunctionArgCount calls ErrFunctionArgCount.Message with the supplied arguments.

func MessageFunctionAtLeastArgCount added in v0.1.10

func MessageFunctionAtLeastArgCount(ctx *context.T, message string, off int64, name string, expected int64, found int64) error

MessageFunctionAtLeastArgCount calls ErrFunctionAtLeastArgCount.Message with the supplied arguments.

func MessageFunctionLenInvalidArg added in v0.1.10

func MessageFunctionLenInvalidArg(ctx *context.T, message string, off int64) error

MessageFunctionLenInvalidArg calls ErrFunctionLenInvalidArg.Message with the supplied arguments.

func MessageFunctionNotFound added in v0.1.10

func MessageFunctionNotFound(ctx *context.T, message string, off int64, name string) error

MessageFunctionNotFound calls ErrFunctionNotFound.Message with the supplied arguments.

func MessageFunctionTypeInvalidArg added in v0.1.10

func MessageFunctionTypeInvalidArg(ctx *context.T, message string, off int64) error

MessageFunctionTypeInvalidArg calls ErrFunctionTypeInvalidArg.Message with the supplied arguments.

func MessageIndexKindNotSupported added in v0.1.10

func MessageIndexKindNotSupported(ctx *context.T, message string, off int64, kind string, fieldName string, table string) error

MessageIndexKindNotSupported calls ErrIndexKindNotSupported.Message with the supplied arguments.

func MessageIntConversionError added in v0.1.10

func MessageIntConversionError(ctx *context.T, message string, off int64, err error) error

MessageIntConversionError calls ErrIntConversionError.Message with the supplied arguments.

func MessageInvalidEscapeChar added in v0.1.10

func MessageInvalidEscapeChar(ctx *context.T, message string, off int64, escChar string) error

MessageInvalidEscapeChar calls ErrInvalidEscapeChar.Message with the supplied arguments.

func MessageInvalidIndexField added in v0.1.10

func MessageInvalidIndexField(ctx *context.T, message string, off int64, fieldName string, table string) error

MessageInvalidIndexField calls ErrInvalidIndexField.Message with the supplied arguments.

func MessageInvalidLikePattern added in v0.1.10

func MessageInvalidLikePattern(ctx *context.T, message string, off int64, err error) error

MessageInvalidLikePattern calls ErrInvalidLikePattern.Message with the supplied arguments.

func MessageInvalidSelectField added in v0.1.10

func MessageInvalidSelectField(ctx *context.T, message string, off int64) error

MessageInvalidSelectField calls ErrInvalidSelectField.Message with the supplied arguments.

func MessageIsIsNotRequireLhsValue added in v0.1.10

func MessageIsIsNotRequireLhsValue(ctx *context.T, message string, off int64) error

MessageIsIsNotRequireLhsValue calls ErrIsIsNotRequireLhsValue.Message with the supplied arguments.

func MessageIsIsNotRequireRhsNil added in v0.1.10

func MessageIsIsNotRequireRhsNil(ctx *context.T, message string, off int64) error

MessageIsIsNotRequireRhsNil calls ErrIsIsNotRequireRhsNil.Message with the supplied arguments.

func MessageKeyExpressionLiteral added in v0.1.10

func MessageKeyExpressionLiteral(ctx *context.T, message string, off int64) error

MessageKeyExpressionLiteral calls ErrKeyExpressionLiteral.Message with the supplied arguments.

func MessageKeyValueStreamError added in v0.1.10

func MessageKeyValueStreamError(ctx *context.T, message string, off int64, err error) error

MessageKeyValueStreamError calls ErrKeyValueStreamError.Message with the supplied arguments.

func MessageLikeExpressionsRequireRhsString added in v0.1.10

func MessageLikeExpressionsRequireRhsString(ctx *context.T, message string, off int64) error

MessageLikeExpressionsRequireRhsString calls ErrLikeExpressionsRequireRhsString.Message with the supplied arguments.

func MessageLimitMustBeGt0 added in v0.1.10

func MessageLimitMustBeGt0(ctx *context.T, message string, off int64) error

MessageLimitMustBeGt0 calls ErrLimitMustBeGt0.Message with the supplied arguments.

func MessageLocationConversionError added in v0.1.10

func MessageLocationConversionError(ctx *context.T, message string, off int64, err error) error

MessageLocationConversionError calls ErrLocationConversionError.Message with the supplied arguments.

func MessageMaxStatementLenExceeded added in v0.1.10

func MessageMaxStatementLenExceeded(ctx *context.T, message string, off int64, max int64, found int64) error

MessageMaxStatementLenExceeded calls ErrMaxStatementLenExceeded.Message with the supplied arguments.

func MessageNoStatementFound added in v0.1.10

func MessageNoStatementFound(ctx *context.T, message string, off int64) error

MessageNoStatementFound calls ErrNoStatementFound.Message with the supplied arguments.

func MessageNotEnoughParamValuesSpecified added in v0.1.10

func MessageNotEnoughParamValuesSpecified(ctx *context.T, message string, off int64) error

MessageNotEnoughParamValuesSpecified calls ErrNotEnoughParamValuesSpecified.Message with the supplied arguments.

func MessageNotWritable added in v0.1.10

func MessageNotWritable(ctx *context.T, message string, table string) error

MessageNotWritable calls ErrNotWritable.Message with the supplied arguments.

func MessageOffsetMustBeGe0 added in v0.1.10

func MessageOffsetMustBeGe0(ctx *context.T, message string, off int64) error

MessageOffsetMustBeGe0 calls ErrOffsetMustBeGe0.Message with the supplied arguments.

func MessageOperationNotSupported added in v0.1.10

func MessageOperationNotSupported(ctx *context.T, message string, operation string) error

MessageOperationNotSupported calls ErrOperationNotSupported.Message with the supplied arguments.

func MessagePreparedStatementNotFound added in v0.1.10

func MessagePreparedStatementNotFound(ctx *context.T, message string) error

MessagePreparedStatementNotFound calls ErrPreparedStatementNotFound.Message with the supplied arguments.

func MessageScanError added in v0.1.10

func MessageScanError(ctx *context.T, message string, off int64, err error) error

MessageScanError calls ErrScanError.Message with the supplied arguments.

func MessageStringConversionError added in v0.1.10

func MessageStringConversionError(ctx *context.T, message string, off int64, err error) error

MessageStringConversionError calls ErrStringConversionError.Message with the supplied arguments.

func MessageTableCantAccess added in v0.1.10

func MessageTableCantAccess(ctx *context.T, message string, off int64, table string, err error) error

MessageTableCantAccess calls ErrTableCantAccess.Message with the supplied arguments.

func MessageTimeConversionError added in v0.1.10

func MessageTimeConversionError(ctx *context.T, message string, off int64, err error) error

MessageTimeConversionError calls ErrTimeConversionError.Message with the supplied arguments.

func MessageTooManyParamValuesSpecified added in v0.1.10

func MessageTooManyParamValuesSpecified(ctx *context.T, message string, off int64) error

MessageTooManyParamValuesSpecified calls ErrTooManyParamValuesSpecified.Message with the supplied arguments.

func MessageUintConversionError added in v0.1.10

func MessageUintConversionError(ctx *context.T, message string, off int64, err error) error

MessageUintConversionError calls ErrUintConversionError.Message with the supplied arguments.

func MessageUnexpected added in v0.1.10

func MessageUnexpected(ctx *context.T, message string, off int64, found string) error

MessageUnexpected calls ErrUnexpected.Message with the supplied arguments.

func MessageUnexpectedEndOfStatement added in v0.1.10

func MessageUnexpectedEndOfStatement(ctx *context.T, message string, off int64) error

MessageUnexpectedEndOfStatement calls ErrUnexpectedEndOfStatement.Message with the supplied arguments.

func MessageUnknownIdentifier added in v0.1.10

func MessageUnknownIdentifier(ctx *context.T, message string, off int64, found string) error

MessageUnknownIdentifier calls ErrUnknownIdentifier.Message with the supplied arguments.

func ParamsErrArgMustBeField added in v0.1.10

func ParamsErrArgMustBeField(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrArgMustBeField extracts the expected parameters from the error's ParameterList.

func ParamsErrBadFieldInWhere added in v0.1.10

func ParamsErrBadFieldInWhere(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrBadFieldInWhere extracts the expected parameters from the error's ParameterList.

func ParamsErrBigIntConversionError added in v0.1.10

func ParamsErrBigIntConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrBigIntConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrBigRatConversionError added in v0.1.10

func ParamsErrBigRatConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrBigRatConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrBoolConversionError added in v0.1.10

func ParamsErrBoolConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrBoolConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrBoolInvalidExpression added in v0.1.10

func ParamsErrBoolInvalidExpression(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrBoolInvalidExpression extracts the expected parameters from the error's ParameterList.

func ParamsErrCheckOfUnknownStatementType added in v0.1.10

func ParamsErrCheckOfUnknownStatementType(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrCheckOfUnknownStatementType extracts the expected parameters from the error's ParameterList.

func ParamsErrComplexConversionError added in v0.1.10

func ParamsErrComplexConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrComplexConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrCouldNotConvert added in v0.1.10

func ParamsErrCouldNotConvert(argumentError error) (verrorComponent string, verrorOperation string, off int64, from string, to string, returnErr error)

ParamsErrCouldNotConvert extracts the expected parameters from the error's ParameterList.

func ParamsErrDidYouMeanFunction added in v0.1.10

func ParamsErrDidYouMeanFunction(argumentError error) (verrorComponent string, verrorOperation string, off int64, correctName string, returnErr error)

ParamsErrDidYouMeanFunction extracts the expected parameters from the error's ParameterList.

func ParamsErrDidYouMeanLowercaseK added in v0.1.10

func ParamsErrDidYouMeanLowercaseK(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrDidYouMeanLowercaseK extracts the expected parameters from the error's ParameterList.

func ParamsErrDidYouMeanLowercaseV added in v0.1.10

func ParamsErrDidYouMeanLowercaseV(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrDidYouMeanLowercaseV extracts the expected parameters from the error's ParameterList.

func ParamsErrDotNotationDisallowedForKey added in v0.1.10

func ParamsErrDotNotationDisallowedForKey(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrDotNotationDisallowedForKey extracts the expected parameters from the error's ParameterList.

func ParamsErrExecOfUnknownStatementType added in v0.1.10

func ParamsErrExecOfUnknownStatementType(argumentError error) (verrorComponent string, verrorOperation string, off int64, statementType string, returnErr error)

ParamsErrExecOfUnknownStatementType extracts the expected parameters from the error's ParameterList.

func ParamsErrExpected added in v0.1.10

func ParamsErrExpected(argumentError error) (verrorComponent string, verrorOperation string, off int64, expected string, returnErr error)

ParamsErrExpected extracts the expected parameters from the error's ParameterList.

func ParamsErrExpectedFrom added in v0.1.10

func ParamsErrExpectedFrom(argumentError error) (verrorComponent string, verrorOperation string, off int64, found string, returnErr error)

ParamsErrExpectedFrom extracts the expected parameters from the error's ParameterList.

func ParamsErrExpectedIdentifier added in v0.1.10

func ParamsErrExpectedIdentifier(argumentError error) (verrorComponent string, verrorOperation string, off int64, found string, returnErr error)

ParamsErrExpectedIdentifier extracts the expected parameters from the error's ParameterList.

func ParamsErrExpectedOperand added in v0.1.10

func ParamsErrExpectedOperand(argumentError error) (verrorComponent string, verrorOperation string, off int64, found string, returnErr error)

ParamsErrExpectedOperand extracts the expected parameters from the error's ParameterList.

func ParamsErrExpectedOperator added in v0.1.10

func ParamsErrExpectedOperator(argumentError error) (verrorComponent string, verrorOperation string, off int64, found string, returnErr error)

ParamsErrExpectedOperator extracts the expected parameters from the error's ParameterList.

func ParamsErrFloatConversionError added in v0.1.10

func ParamsErrFloatConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrFloatConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrFunctionArgBad added in v0.1.10

func ParamsErrFunctionArgBad(argumentError error) (verrorComponent string, verrorOperation string, off int64, funcName string, argName string, returnErr error)

ParamsErrFunctionArgBad extracts the expected parameters from the error's ParameterList.

func ParamsErrFunctionArgCount added in v0.1.10

func ParamsErrFunctionArgCount(argumentError error) (verrorComponent string, verrorOperation string, off int64, name string, expected int64, found int64, returnErr error)

ParamsErrFunctionArgCount extracts the expected parameters from the error's ParameterList.

func ParamsErrFunctionAtLeastArgCount added in v0.1.10

func ParamsErrFunctionAtLeastArgCount(argumentError error) (verrorComponent string, verrorOperation string, off int64, name string, expected int64, found int64, returnErr error)

ParamsErrFunctionAtLeastArgCount extracts the expected parameters from the error's ParameterList.

func ParamsErrFunctionLenInvalidArg added in v0.1.10

func ParamsErrFunctionLenInvalidArg(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrFunctionLenInvalidArg extracts the expected parameters from the error's ParameterList.

func ParamsErrFunctionNotFound added in v0.1.10

func ParamsErrFunctionNotFound(argumentError error) (verrorComponent string, verrorOperation string, off int64, name string, returnErr error)

ParamsErrFunctionNotFound extracts the expected parameters from the error's ParameterList.

func ParamsErrFunctionTypeInvalidArg added in v0.1.10

func ParamsErrFunctionTypeInvalidArg(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrFunctionTypeInvalidArg extracts the expected parameters from the error's ParameterList.

func ParamsErrIndexKindNotSupported added in v0.1.10

func ParamsErrIndexKindNotSupported(argumentError error) (verrorComponent string, verrorOperation string, off int64, kind string, fieldName string, table string, returnErr error)

ParamsErrIndexKindNotSupported extracts the expected parameters from the error's ParameterList.

func ParamsErrIntConversionError added in v0.1.10

func ParamsErrIntConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrIntConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrInvalidEscapeChar added in v0.1.10

func ParamsErrInvalidEscapeChar(argumentError error) (verrorComponent string, verrorOperation string, off int64, escChar string, returnErr error)

ParamsErrInvalidEscapeChar extracts the expected parameters from the error's ParameterList.

func ParamsErrInvalidIndexField added in v0.1.10

func ParamsErrInvalidIndexField(argumentError error) (verrorComponent string, verrorOperation string, off int64, fieldName string, table string, returnErr error)

ParamsErrInvalidIndexField extracts the expected parameters from the error's ParameterList.

func ParamsErrInvalidLikePattern added in v0.1.10

func ParamsErrInvalidLikePattern(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrInvalidLikePattern extracts the expected parameters from the error's ParameterList.

func ParamsErrInvalidSelectField added in v0.1.10

func ParamsErrInvalidSelectField(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrInvalidSelectField extracts the expected parameters from the error's ParameterList.

func ParamsErrIsIsNotRequireLhsValue added in v0.1.10

func ParamsErrIsIsNotRequireLhsValue(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrIsIsNotRequireLhsValue extracts the expected parameters from the error's ParameterList.

func ParamsErrIsIsNotRequireRhsNil added in v0.1.10

func ParamsErrIsIsNotRequireRhsNil(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrIsIsNotRequireRhsNil extracts the expected parameters from the error's ParameterList.

func ParamsErrKeyExpressionLiteral added in v0.1.10

func ParamsErrKeyExpressionLiteral(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrKeyExpressionLiteral extracts the expected parameters from the error's ParameterList.

func ParamsErrKeyValueStreamError added in v0.1.10

func ParamsErrKeyValueStreamError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrKeyValueStreamError extracts the expected parameters from the error's ParameterList.

func ParamsErrLikeExpressionsRequireRhsString added in v0.1.10

func ParamsErrLikeExpressionsRequireRhsString(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrLikeExpressionsRequireRhsString extracts the expected parameters from the error's ParameterList.

func ParamsErrLimitMustBeGt0 added in v0.1.10

func ParamsErrLimitMustBeGt0(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrLimitMustBeGt0 extracts the expected parameters from the error's ParameterList.

func ParamsErrLocationConversionError added in v0.1.10

func ParamsErrLocationConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrLocationConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrMaxStatementLenExceeded added in v0.1.10

func ParamsErrMaxStatementLenExceeded(argumentError error) (verrorComponent string, verrorOperation string, off int64, max int64, found int64, returnErr error)

ParamsErrMaxStatementLenExceeded extracts the expected parameters from the error's ParameterList.

func ParamsErrNoStatementFound added in v0.1.10

func ParamsErrNoStatementFound(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrNoStatementFound extracts the expected parameters from the error's ParameterList.

func ParamsErrNotEnoughParamValuesSpecified added in v0.1.10

func ParamsErrNotEnoughParamValuesSpecified(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrNotEnoughParamValuesSpecified extracts the expected parameters from the error's ParameterList.

func ParamsErrNotWritable added in v0.1.10

func ParamsErrNotWritable(argumentError error) (verrorComponent string, verrorOperation string, table string, returnErr error)

ParamsErrNotWritable extracts the expected parameters from the error's ParameterList.

func ParamsErrOffsetMustBeGe0 added in v0.1.10

func ParamsErrOffsetMustBeGe0(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrOffsetMustBeGe0 extracts the expected parameters from the error's ParameterList.

func ParamsErrOperationNotSupported added in v0.1.10

func ParamsErrOperationNotSupported(argumentError error) (verrorComponent string, verrorOperation string, operation string, returnErr error)

ParamsErrOperationNotSupported extracts the expected parameters from the error's ParameterList.

func ParamsErrPreparedStatementNotFound added in v0.1.10

func ParamsErrPreparedStatementNotFound(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)

ParamsErrPreparedStatementNotFound extracts the expected parameters from the error's ParameterList.

func ParamsErrScanError added in v0.1.10

func ParamsErrScanError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrScanError extracts the expected parameters from the error's ParameterList.

func ParamsErrStringConversionError added in v0.1.10

func ParamsErrStringConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrStringConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrTableCantAccess added in v0.1.10

func ParamsErrTableCantAccess(argumentError error) (verrorComponent string, verrorOperation string, off int64, table string, err error, returnErr error)

ParamsErrTableCantAccess extracts the expected parameters from the error's ParameterList.

func ParamsErrTimeConversionError added in v0.1.10

func ParamsErrTimeConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrTimeConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrTooManyParamValuesSpecified added in v0.1.10

func ParamsErrTooManyParamValuesSpecified(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrTooManyParamValuesSpecified extracts the expected parameters from the error's ParameterList.

func ParamsErrUintConversionError added in v0.1.10

func ParamsErrUintConversionError(argumentError error) (verrorComponent string, verrorOperation string, off int64, err error, returnErr error)

ParamsErrUintConversionError extracts the expected parameters from the error's ParameterList.

func ParamsErrUnexpected added in v0.1.10

func ParamsErrUnexpected(argumentError error) (verrorComponent string, verrorOperation string, off int64, found string, returnErr error)

ParamsErrUnexpected extracts the expected parameters from the error's ParameterList.

func ParamsErrUnexpectedEndOfStatement added in v0.1.10

func ParamsErrUnexpectedEndOfStatement(argumentError error) (verrorComponent string, verrorOperation string, off int64, returnErr error)

ParamsErrUnexpectedEndOfStatement extracts the expected parameters from the error's ParameterList.

func ParamsErrUnknownIdentifier added in v0.1.10

func ParamsErrUnknownIdentifier(argumentError error) (verrorComponent string, verrorOperation string, off int64, found string, returnErr error)

ParamsErrUnknownIdentifier extracts the expected parameters from the error's ParameterList.

func SplitError

func SplitError(err error) (int64, string)

SplitError splits an error message into an offset and the remaining (i.e., rhs of offset) message. The query error convention is "<module><optional-rpc>[offset]<remaining-message>". If err is nil, (0, "") are returned.

Types

type ResultStream

type ResultStream interface {
	// Advance stages an element so the client can retrieve it with Result.
	// Advance returns true iff there is a result to retrieve. The client must
	// call Advance before calling Result. The client must call Cancel if it
	// does not iterate through all elements (i.e. until Advance returns false).
	// Advance may block if an element is not immediately available.
	Advance() bool

	// Result returns the row (i.e., array of vdl.Values) that was staged by
	// Advance. Result may panic if Advance returned false or was not called at
	// all. Result does not block.
	Result() []*vom.RawBytes

	// Err returns a non-nil error iff the stream encountered any errors. Err does
	// not block.
	Err() error

	// Cancel notifies the ResultStream provider that it can stop producing
	// results. The client must call Cancel if it does not iterate through all
	// results (i.e. until Advance returns false). Cancel is idempotent and can be
	// called concurrently with a goroutine that is iterating via Advance/Result.
	// Cancel causes Advance to subsequently return false. Cancel does not block.
	Cancel()
}

ResultStream is an interface for iterating through results (i.e., rows) returned from a query. Each resulting row is an array of vdl.Values.

Jump to

Keyboard shortcuts

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