Mysqlx_Sql

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Package Mysqlx_Sql is a generated protocol buffer package.

Messages of the MySQL Package

It is generated from these files:

github.com/pingcap/tipb/go-mysqlx/Sql/mysqlx_sql.proto

It has these top-level messages:

StmtExecute
StmtExecuteOk

Index

Constants

View Source
const Default_StmtExecute_CompactMetadata bool = false
View Source
const Default_StmtExecute_Namespace string = "sql"

Variables

View Source
var (
	ErrInvalidLengthMysqlxSql = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMysqlxSql   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type StmtExecute

type StmtExecute struct {
	Namespace        *string                 `protobuf:"bytes,3,opt,name=namespace,def=sql" json:"namespace,omitempty"`
	Stmt             []byte                  `protobuf:"bytes,1,req,name=stmt" json:"stmt,omitempty"`
	Args             []*Mysqlx_Datatypes.Any `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	CompactMetadata  *bool                   `protobuf:"varint,4,opt,name=compact_metadata,json=compactMetadata,def=0" json:"compact_metadata,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

execute a statement in the given namespace

.. uml::

client -> server: StmtExecute
... zero or more Resultsets ...
server --> client: StmtExecuteOk

Notices:

This message may generate a notice containing WARNINGs generated by its execution.
This message may generate a notice containing INFO messages generated by its execution.

:param namespace: namespace of the statement to be executed :param stmt: statement that shall be executed. :param args: values for wildcard replacements :param compact_metadata: send only type information for :protobuf:msg:`Mysqlx.Resultset::ColumnMetadata`, skipping names and others :returns:

  • zero or one :protobuf:msg:`Mysqlx.Resultset::` followed by :protobuf:msg:`Mysqlx.Sql::StmtExecuteOk`

func (*StmtExecute) Descriptor

func (*StmtExecute) Descriptor() ([]byte, []int)

func (*StmtExecute) GetArgs

func (m *StmtExecute) GetArgs() []*Mysqlx_Datatypes.Any

func (*StmtExecute) GetCompactMetadata

func (m *StmtExecute) GetCompactMetadata() bool

func (*StmtExecute) GetNamespace

func (m *StmtExecute) GetNamespace() string

func (*StmtExecute) GetStmt

func (m *StmtExecute) GetStmt() []byte

func (*StmtExecute) Marshal

func (m *StmtExecute) Marshal() (dAtA []byte, err error)

func (*StmtExecute) MarshalTo

func (m *StmtExecute) MarshalTo(dAtA []byte) (int, error)

func (*StmtExecute) ProtoMessage

func (*StmtExecute) ProtoMessage()

func (*StmtExecute) Reset

func (m *StmtExecute) Reset()

func (*StmtExecute) Size

func (m *StmtExecute) Size() (n int)

func (*StmtExecute) String

func (m *StmtExecute) String() string

func (*StmtExecute) Unmarshal

func (m *StmtExecute) Unmarshal(dAtA []byte) error

type StmtExecuteOk

type StmtExecuteOk struct {
	XXX_unrecognized []byte `json:"-"`
}

statement executed successful

func (*StmtExecuteOk) Descriptor

func (*StmtExecuteOk) Descriptor() ([]byte, []int)

func (*StmtExecuteOk) Marshal

func (m *StmtExecuteOk) Marshal() (dAtA []byte, err error)

func (*StmtExecuteOk) MarshalTo

func (m *StmtExecuteOk) MarshalTo(dAtA []byte) (int, error)

func (*StmtExecuteOk) ProtoMessage

func (*StmtExecuteOk) ProtoMessage()

func (*StmtExecuteOk) Reset

func (m *StmtExecuteOk) Reset()

func (*StmtExecuteOk) Size

func (m *StmtExecuteOk) Size() (n int)

func (*StmtExecuteOk) String

func (m *StmtExecuteOk) String() string

func (*StmtExecuteOk) Unmarshal

func (m *StmtExecuteOk) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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