package
1.2.3
Repository: https://github.com/matrixorigin/matrixone.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package mock_frontend is a generated GoMock package.

# Functions

CancelCheck checks if the given context has been canceled.
ConstructTLSConfig creates the TLS config.
No description provided by the author
ExecRequest the server execute the commands from the client following the mysql's routine.
GenSQLForCheckUpgradeAccountPrivilegeExist generates an SQL statement to check for the existence of upgrade account permissions.
GenSQLForInsertUpgradeAccountPrivilege generates SQL statements for inserting upgrade account permissions.
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
GetPassWord is used to get hash byte password SHA1(SHA1(password)).
No description provided by the author
GetRoutineId gets the routine id.
only support single value and unary minus.
No description provided by the author
GetTenantInfo extract tenant info from the input of the user.* The format of the user 1.
No description provided by the author
No description provided by the author
No description provided by the author
HashPassWord is uesed to hash password *SHA1(SHA1(password)).
No description provided by the author
HashSha1 is used to calcute a sha1 hash SHA1().
No description provided by the author
InitGeneralTenant initializes the application level tenant.
No description provided by the author
InitRole creates the new role.
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
InitSysTenant initializes the tenant SYS before any tenants and accepting any requests during the system is booting.
No description provided by the author
No description provided by the author
No description provided by the author
InitUser creates new user for the tenant.
IsAdministrativeStatement checks the statement is the administrative statement.
No description provided by the author
No description provided by the author
IsDDL checks the statement is the DDL statement.
IsDropStatement checks the statement is the drop statement.
IsParameterModificationStatement checks the statement is the statement of parameter modification statement.
IsPrepareStatement checks the statement is the Prepare statement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NeedToBeCommittedInActiveTransaction checks the statement that need to be committed in an active transaction.
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
ParseLabel parses the label string.
RewriteError rewrites the error info.
SetSpecialUser saves the user for initialization !!!NOTE: userName must not contain Colon ':'.
length: -1, complete string.
No description provided by the author
No description provided by the author
WildcardMatch implements wildcard pattern match algorithm.
No description provided by the author

# Constants

No description provided by the author
capability bits.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
No description provided by the author
Connection id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultMySQLState is the default state of the mySQL.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EoFResponse EOF message.
ErrorResponse Error message.
No description provided by the author
the length of the mysql protocol header.
No description provided by the author
No description provided by the author
LocalInfileRequest local infile message.
reference : https://dev.mysql.com/doc/refman/8.0/en/storage-requirements.html#data-types-storage-reqs-strings.
MaxPayloadSize If the payload is larger than or equal to 2^24−1 bytes the length is set to 2^24−1 (ff ff ff)and additional packets are sent with the rest of the payload until the payload of a packetis less than 2^24−1 bytes.
TODO: this variable should be configure by set variable.
No description provided by the author
OkResponse OK message.
defined in mo.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
No description provided by the author
Peer address.
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
used in checking the privilege of CreateUser with the default role.
No description provided by the author
No description provided by the author
No description provided by the author
includes: table, view, stream, sequence, function, dblink,etc.
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
include create/alter/drop index.
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
ResultResponse result message.
No description provided by the author
it is both in global and session.
it is only in global.
it is only in session.
Seqeunce id.
More results exists (more packet follow).
This resultset contain stored procedure output parameter.
server status.
Session state change.
Autocommit mode is set.
When using COM_STMT_FETCH, indicate that current cursor still has result.
Database has been dropped.
A transaction is currently active.
Current transaction is a read-only transaction.
When using COM_STMT_FETCH, indicate that current cursor has finished to send results.
A DDL change did have an impact on an existing PREPARE (an automatic reprepare has been executed).
Current escape mode is "no backslash escape".
server status.
server status.
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
reference to sql/query_options.h in mysql server 8.0.23.
No description provided by the author
mysql protocol.
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
session.
No description provided by the author
No description provided by the author
No description provided by the author
Created.
No description provided by the author
Handler.
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

# Variables

No description provided by the author
No description provided by the author
ConnIDAllocKey is used get connection ID from HAKeeper.
DefaultCapability means default capabilities of the server.
DefaultClientConnStatus default server status.
No description provided by the author
ExeSqlInBgSes for mock stub.
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
`mo_catalog` database system tables Note: The following tables belong to data dictionary table, and system tables's creation will depend on the following system tables.
No description provided by the author
No description provided by the author
`mo_catalog` database system tables Note: The following tables belong to data dictionary table, and system tables's creation will depend on the following system tables.
`mo_catalog` database system tables Note: The following tables belong to data dictionary table, and system tables's creation will depend on the following system tables.
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
`mo_catalog` database system tables Note: The following tables belong to data dictionary table, and system tables's creation will depend on the following system tables.
No description provided by the author
step3InitSQLs `mo_catalog` database system tables They are all Cluster level system tables for system upgrades.
step3InitSQLs `mo_catalog` database system tables They are all Cluster level system tables for system upgrades.
the sqls creating many tables for the tenant.
No description provided by the author
No description provided by the author
No description provided by the author
step3InitSQLs `mo_catalog` database system tables They are all Cluster level system tables for system upgrades.
---------------------------------------------------------------------------------------------------------------------- step2InitSQLs `mo_task` database system tables They are all Cluster level system tables.
---------------------------------------------------------------------------------------------------------------------- step2InitSQLs `mo_task` database system tables They are all Cluster level system tables.
---------------------------------------------------------------------------------------------------------------------- step2InitSQLs `mo_task` database system tables They are all Cluster level system tables.
No description provided by the author
No description provided by the author
path exists in the system return: true/false - exists or not.
No description provided by the author
No description provided by the author
No description provided by the author
RecordStatementTxnID record txnID after TxnBegin or Compile(autocommit=1).
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

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
InternalCmdFieldList the CMD_FIELD_LIST statement.
No description provided by the author
IOPackageImpl implements the IOPackage for the basic interaction in the connection.
No description provided by the author
MOServer MatrixOne Server.
No description provided by the author
the result of the execution.
No description provided by the author
No description provided by the author
Discussion: for some MatrixOne types and Type.Scale value are needed for stringification, I think we need to add a field MoTypes []types.Type in this struct, what's your opinion on this matter?@Daviszhen.
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
Routine handles requests.
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
SystemVariables is account level.
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
UserInput normally, just use the sql.

# Interfaces

BackgroundExec executes the sql in background session without network output.
BaseService is an interface which indicates that the instance is the base CN service and should implement the following methods.
BinaryWriter write batch into fileservice.
No description provided by the author
No description provided by the author
No description provided by the author
ComputationWrapper is the wrapper of the computation.
CsvWriter write batch into csv file.
ExecResult is the result interface of the execution.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MemWriter write batch into memory pool.
MysqlPayloadWriter make final payload for the packet.
MysqlReader read packet using mysql format.
No description provided by the author
MysqlWriter write batch & control packets using mysql protocol format.
No description provided by the author
No description provided by the author
No description provided by the author
Server interface is for mock MOServer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

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