package
0.0.0-20211016084406-145960c10706
Repository: https://github.com/vectorengine/vectorsql.git
Documentation: pkg.go.dev

# Constants

ABORTED indicates the operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
ALREADY_EXISTS means an attempt to create an entity failed because one already exists.
CANCELED indicates the operation was cancelled (typically by the caller).
DATA_LOSS indicates unrecoverable data loss or corruption.
DEADLINE_EXCEEDED means operation expired before completion.
FAILED_PRECONDITION indicates operation was rejected because the system is not in a state required for the operation's execution.
INTERNAL errors.
INVALID_ARGUMENT indicates client specified an invalid argument.
NOT_FOUND means some requested entity (e.g., file or directory) was not found.
OK is returned on success.
OUT_OF_RANGE means operation was attempted past the valid range.
PERMISSION_DENIED indicates the caller does not have permission to execute the specified operation.
RESOURCE_EXHAUSTED indicates some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
UNAUTHENTICATED indicates the request does not have valid authentication credentials for the operation.
UNAVAILABLE indicates the service is currently unavailable.
UNIMPLEMENTED indicates operation is not implemented or not supported/enabled in this service.
UNKNOWN error.
No description provided by the author
This not an "official" transaction level, it will send queries to mysql without wrapping them in a transaction.
This is not an "official" transaction level but it will do a START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BAD_INPUT_LEGACY is returned when an end-user either sends SQL that couldn't be parsed correctly, or tries a query that isn't supported by Vitess.
CANCELLED_LEGACY means that the context was cancelled (and noticed in the app layer, as opposed to the RPC layer).
DEADLINE_EXCEEDED_LEGACY is returned when an action is taking longer than a given timeout.
INTEGRITY_ERROR_LEGACY is returned on integrity error from MySQL, usually due to duplicate primary keys.
INTERNAL_ERROR_LEGACY means some invariants expected by underlying system has been broken.
NOT_IN_TX_LEGACY means that we're not currently in a transaction, but we should be.
PERMISSION_DENIED_LEGACY errors are returned when a user requests access to something that they don't have permissions for.
QUERY_NOT_SERVED_LEGACY means that a query could not be served right now.
RESOURCE_EXHAUSTED_LEGACY is returned when a query exceeds its quota in some dimension and can't be completed due to that.
SUCCESS_LEGACY is returned from a successful call.
TRANSIENT_ERROR_LEGACY is used for when there is some error that we expect we can recover from automatically - often due to a resource limit temporarily being reached.
UNAUTHENTICATED_LEGACY errors are returned when a user requests access to something, and we're unable to verify the user's authentication.
UNKNOWN_ERROR_LEGACY includes: 1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BINARY specifies a BINARY type.
BIT specifies a BIT type.
BLOB specifies a BLOB type.
CHAR specifies a CHAR type.
DATE specifies a DATE type.
DATETIME specifies a DATETIME type.
DECIMAL specifies a DECIMAL or NUMERIC type.
ENUM specifies an ENUM type.
EXPRESSION specifies a SQL expression.
FLOAT32 specifies a FLOAT type.
FLOAT64 specifies a DOUBLE or REAL type.
GEOMETRY specifies a GEOMETRY type.
INT16 specifies a SMALLINT type.
INT24 specifies a MEDIUMINT type.
INT32 specifies a INTEGER type.
INT64 specifies a BIGINT type.
INT8 specifies a TINYINT type.
JSON specifies a JSON type.
NULL_TYPE specifies a NULL type.
SET specifies a SET type.
TEXT specifies a TEXT type.
TIME specifies a TIME type.
TIMESTAMP specifies a TIMESTAMP type.
TUPLE specifies a tuple.
UINT16 specifies a SMALLINT UNSIGNED type.
UINT24 specifies a MEDIUMINT UNSIGNED type.
UINT32 specifies a INTEGER UNSIGNED type.
UINT64 specifies a BIGINT UNSIGNED type.
UINT8 specifies a TINYINT UNSIGNED type.
VARBINARY specifies a VARBINARY type.
VARCHAR specifies a VARCHAR type.
YEAR specifies a YEAR type.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BindVariable represents a single bind variable in a Query.
BoundQuery is a query with its bind variables.
CallerID is passed along RPCs to identify the originating client for a request.
EventToken is a structure that describes a point in time in a replication stream on one shard.
ExecuteOptions is passed around for all Execute calls.
Field describes a single column returned by a query.
QueryResult is returned by Execute and ExecuteStream.
QueryWarning is used to convey out of band query execution warnings by storing in the vtgate.Session.
ResultExtras contains optional out-of-band information.
ResultWithError represents a query response in the form of result or error but not both.
Row is a database row.
RPCError is an application-level error structure returned by VtTablet (and passed along by VtGate if appropriate).
StreamEvent describes a set of transformations that happened as a single transactional unit on a server.
One individual Statement in a transaction.
Target describes what the client expects the tablet is.
Value represents a typed value.
VTGateCallerID is sent by VTGate to VTTablet to describe the caller.

# Type aliases

Code represents canonical error codes.
No description provided by the author
No description provided by the author
No description provided by the author
Flag allows us to qualify types by their common properties.
LegacyErrorCode is the enum values for Errors.
Flags sent from the MySQL C API.
The category of one statement.
Type defines the various supported data types in bind vars and query results.