Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
analysis_driver.proto driver.proto query_driver.proto
It has these top-level messages:
AnalysisDriverInitRequest ListTablesInSchemaRequest ListTablesInSchemaResponse Table GetTableMetaByTableNameRequest GetTableMetaByTableNameResponse TableItem ColumnsInfo IndexesInfo Row AnalysisInfoInTableFormat AnalysisInfoHead GetTableMetaBySQLRequest GetTableMetaBySQLResponse TableMetaItemBySQL ExplainRequest ExplainResponse ExplainClassicResult DSN Rule Param InitRequest Empty ExecRequest ExecResponse TxRequest TxResponse DatabasesResponse ParseRequest Node ParseResponse AuditRequest AuditResult AuditResponse GenRollbackSQLRequest GenRollbackSQLResponse MetasResponse QueryPrepareRequest QueryPrepareConf QueryPrepareResponse QueryRequest QueryConf QueryResponse QueryResultRow QueryResultValue
Index ¶
- func ConvertProtoParamToParam(p []*Param) params.Params
- func RegisterAnalysisDriverServer(s *grpc.Server, srv AnalysisDriverServer)
- func RegisterDriverServer(s *grpc.Server, srv DriverServer)
- func RegisterQueryDriverServer(s *grpc.Server, srv QueryDriverServer)
- type AnalysisDriverClient
- type AnalysisDriverInitRequest
- type AnalysisDriverServer
- type AnalysisInfoHead
- type AnalysisInfoInTableFormat
- func (*AnalysisInfoInTableFormat) Descriptor() ([]byte, []int)
- func (m *AnalysisInfoInTableFormat) GetColumns() []*AnalysisInfoHead
- func (m *AnalysisInfoInTableFormat) GetRows() []*Row
- func (*AnalysisInfoInTableFormat) ProtoMessage()
- func (m *AnalysisInfoInTableFormat) Reset()
- func (m *AnalysisInfoInTableFormat) String() string
- type AuditRequest
- type AuditResponse
- type AuditResult
- type ColumnsInfo
- type DSN
- func (*DSN) Descriptor() ([]byte, []int)
- func (m *DSN) GetAdditionalParams() []*Param
- func (m *DSN) GetDatabase() string
- func (m *DSN) GetHost() string
- func (m *DSN) GetPassword() string
- func (m *DSN) GetPort() string
- func (m *DSN) GetUser() string
- func (*DSN) ProtoMessage()
- func (m *DSN) Reset()
- func (m *DSN) String() string
- type DatabasesResponse
- type DriverClient
- type DriverServer
- type Empty
- type ExecRequest
- type ExecResponse
- func (*ExecResponse) Descriptor() ([]byte, []int)
- func (m *ExecResponse) GetLastInsertId() int64
- func (m *ExecResponse) GetLastInsertIdError() string
- func (m *ExecResponse) GetRowsAffected() int64
- func (m *ExecResponse) GetRowsAffectedError() string
- func (*ExecResponse) ProtoMessage()
- func (m *ExecResponse) Reset()
- func (m *ExecResponse) String() string
- type ExplainClassicResult
- type ExplainRequest
- type ExplainResponse
- type GenRollbackSQLRequest
- type GenRollbackSQLResponse
- type GetTableMetaBySQLRequest
- type GetTableMetaBySQLResponse
- type GetTableMetaByTableNameRequest
- func (*GetTableMetaByTableNameRequest) Descriptor() ([]byte, []int)
- func (m *GetTableMetaByTableNameRequest) GetSchema() string
- func (m *GetTableMetaByTableNameRequest) GetTable() string
- func (*GetTableMetaByTableNameRequest) ProtoMessage()
- func (m *GetTableMetaByTableNameRequest) Reset()
- func (m *GetTableMetaByTableNameRequest) String() string
- type GetTableMetaByTableNameResponse
- type IndexesInfo
- type InitRequest
- type ListTablesInSchemaRequest
- type ListTablesInSchemaResponse
- type MetasResponse
- func (*MetasResponse) Descriptor() ([]byte, []int)
- func (m *MetasResponse) GetAdditionalParams() []*Param
- func (m *MetasResponse) GetName() string
- func (m *MetasResponse) GetRules() []*Rule
- func (m *MetasResponse) GetVersion() int32
- func (*MetasResponse) ProtoMessage()
- func (m *MetasResponse) Reset()
- func (m *MetasResponse) String() string
- type Node
- type Param
- type ParseRequest
- type ParseResponse
- type QueryConf
- type QueryDriverClient
- type QueryDriverServer
- type QueryPrepareConf
- type QueryPrepareRequest
- type QueryPrepareResponse
- func (*QueryPrepareResponse) Descriptor() ([]byte, []int)
- func (m *QueryPrepareResponse) GetError() string
- func (m *QueryPrepareResponse) GetErrorType() string
- func (m *QueryPrepareResponse) GetNewSql() string
- func (*QueryPrepareResponse) ProtoMessage()
- func (m *QueryPrepareResponse) Reset()
- func (m *QueryPrepareResponse) String() string
- type QueryRequest
- type QueryResponse
- type QueryResultRow
- type QueryResultValue
- type Row
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) GetCategory() string
- func (m *Rule) GetDesc() string
- func (m *Rule) GetLevel() string
- func (m *Rule) GetName() string
- func (m *Rule) GetParams() []*Param
- func (m *Rule) GetValue() string
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) String() string
- type Table
- type TableItem
- func (*TableItem) Descriptor() ([]byte, []int)
- func (m *TableItem) GetColumnsInfo() *ColumnsInfo
- func (m *TableItem) GetCreateTableSQL() string
- func (m *TableItem) GetIndexesInfo() *IndexesInfo
- func (m *TableItem) GetName() string
- func (m *TableItem) GetSchema() string
- func (*TableItem) ProtoMessage()
- func (m *TableItem) Reset()
- func (m *TableItem) String() string
- type TableMetaItemBySQL
- func (*TableMetaItemBySQL) Descriptor() ([]byte, []int)
- func (m *TableMetaItemBySQL) GetColumnsInfo() *ColumnsInfo
- func (m *TableMetaItemBySQL) GetCreateTableSQL() string
- func (m *TableMetaItemBySQL) GetErrMessage() string
- func (m *TableMetaItemBySQL) GetIndexesInfo() *IndexesInfo
- func (m *TableMetaItemBySQL) GetName() string
- func (m *TableMetaItemBySQL) GetSchema() string
- func (*TableMetaItemBySQL) ProtoMessage()
- func (m *TableMetaItemBySQL) Reset()
- func (m *TableMetaItemBySQL) String() string
- type TxRequest
- type TxResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertProtoParamToParam ¶ added in v1.2203.0
func RegisterAnalysisDriverServer ¶ added in v1.2207.0
func RegisterAnalysisDriverServer(s *grpc.Server, srv AnalysisDriverServer)
func RegisterDriverServer ¶
func RegisterDriverServer(s *grpc.Server, srv DriverServer)
func RegisterQueryDriverServer ¶ added in v1.2206.0
func RegisterQueryDriverServer(s *grpc.Server, srv QueryDriverServer)
Types ¶
type AnalysisDriverClient ¶ added in v1.2207.0
type AnalysisDriverClient interface { // Init should be called at first before calling following methods. // It will pass some necessary info to plugin server. In the beginning, // we consider that put this info to the executable binary environment. // We put all communication on gRPC for unification in the end. Init(ctx context.Context, in *AnalysisDriverInitRequest, opts ...grpc.CallOption) (*Empty, error) ListTablesInSchema(ctx context.Context, in *ListTablesInSchemaRequest, opts ...grpc.CallOption) (*ListTablesInSchemaResponse, error) GetTableMetaByTableName(ctx context.Context, in *GetTableMetaByTableNameRequest, opts ...grpc.CallOption) (*GetTableMetaByTableNameResponse, error) GetTableMetaBySQL(ctx context.Context, in *GetTableMetaBySQLRequest, opts ...grpc.CallOption) (*GetTableMetaBySQLResponse, error) Explain(ctx context.Context, in *ExplainRequest, opts ...grpc.CallOption) (*ExplainResponse, error) }
func NewAnalysisDriverClient ¶ added in v1.2207.0
func NewAnalysisDriverClient(cc *grpc.ClientConn) AnalysisDriverClient
type AnalysisDriverInitRequest ¶ added in v1.2207.0
type AnalysisDriverInitRequest struct {
Dsn *DSN `protobuf:"bytes,1,opt,name=dsn" json:"dsn,omitempty"`
}
func (*AnalysisDriverInitRequest) Descriptor ¶ added in v1.2207.0
func (*AnalysisDriverInitRequest) Descriptor() ([]byte, []int)
func (*AnalysisDriverInitRequest) GetDsn ¶ added in v1.2207.0
func (m *AnalysisDriverInitRequest) GetDsn() *DSN
func (*AnalysisDriverInitRequest) ProtoMessage ¶ added in v1.2207.0
func (*AnalysisDriverInitRequest) ProtoMessage()
func (*AnalysisDriverInitRequest) Reset ¶ added in v1.2207.0
func (m *AnalysisDriverInitRequest) Reset()
func (*AnalysisDriverInitRequest) String ¶ added in v1.2207.0
func (m *AnalysisDriverInitRequest) String() string
type AnalysisDriverServer ¶ added in v1.2207.0
type AnalysisDriverServer interface { // Init should be called at first before calling following methods. // It will pass some necessary info to plugin server. In the beginning, // we consider that put this info to the executable binary environment. // We put all communication on gRPC for unification in the end. Init(context.Context, *AnalysisDriverInitRequest) (*Empty, error) ListTablesInSchema(context.Context, *ListTablesInSchemaRequest) (*ListTablesInSchemaResponse, error) GetTableMetaByTableName(context.Context, *GetTableMetaByTableNameRequest) (*GetTableMetaByTableNameResponse, error) GetTableMetaBySQL(context.Context, *GetTableMetaBySQLRequest) (*GetTableMetaBySQLResponse, error) Explain(context.Context, *ExplainRequest) (*ExplainResponse, error) }
type AnalysisInfoHead ¶ added in v1.2207.0
type AnalysisInfoHead struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc" json:"desc,omitempty"` }
func (*AnalysisInfoHead) Descriptor ¶ added in v1.2207.0
func (*AnalysisInfoHead) Descriptor() ([]byte, []int)
func (*AnalysisInfoHead) GetDesc ¶ added in v1.2207.0
func (m *AnalysisInfoHead) GetDesc() string
func (*AnalysisInfoHead) GetName ¶ added in v1.2207.0
func (m *AnalysisInfoHead) GetName() string
func (*AnalysisInfoHead) ProtoMessage ¶ added in v1.2207.0
func (*AnalysisInfoHead) ProtoMessage()
func (*AnalysisInfoHead) Reset ¶ added in v1.2207.0
func (m *AnalysisInfoHead) Reset()
func (*AnalysisInfoHead) String ¶ added in v1.2207.0
func (m *AnalysisInfoHead) String() string
type AnalysisInfoInTableFormat ¶ added in v1.2207.0
type AnalysisInfoInTableFormat struct { Columns []*AnalysisInfoHead `protobuf:"bytes,1,rep,name=columns" json:"columns,omitempty"` Rows []*Row `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` }
func (*AnalysisInfoInTableFormat) Descriptor ¶ added in v1.2207.0
func (*AnalysisInfoInTableFormat) Descriptor() ([]byte, []int)
func (*AnalysisInfoInTableFormat) GetColumns ¶ added in v1.2207.0
func (m *AnalysisInfoInTableFormat) GetColumns() []*AnalysisInfoHead
func (*AnalysisInfoInTableFormat) GetRows ¶ added in v1.2207.0
func (m *AnalysisInfoInTableFormat) GetRows() []*Row
func (*AnalysisInfoInTableFormat) ProtoMessage ¶ added in v1.2207.0
func (*AnalysisInfoInTableFormat) ProtoMessage()
func (*AnalysisInfoInTableFormat) Reset ¶ added in v1.2207.0
func (m *AnalysisInfoInTableFormat) Reset()
func (*AnalysisInfoInTableFormat) String ¶ added in v1.2207.0
func (m *AnalysisInfoInTableFormat) String() string
type AuditRequest ¶
type AuditRequest struct {
Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"`
}
func (*AuditRequest) Descriptor ¶
func (*AuditRequest) Descriptor() ([]byte, []int)
func (*AuditRequest) GetSql ¶
func (m *AuditRequest) GetSql() string
func (*AuditRequest) ProtoMessage ¶
func (*AuditRequest) ProtoMessage()
func (*AuditRequest) Reset ¶
func (m *AuditRequest) Reset()
func (*AuditRequest) String ¶
func (m *AuditRequest) String() string
type AuditResponse ¶
type AuditResponse struct {
Results []*AuditResult `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*AuditResponse) Descriptor ¶
func (*AuditResponse) Descriptor() ([]byte, []int)
func (*AuditResponse) GetResults ¶
func (m *AuditResponse) GetResults() []*AuditResult
func (*AuditResponse) ProtoMessage ¶
func (*AuditResponse) ProtoMessage()
func (*AuditResponse) Reset ¶
func (m *AuditResponse) Reset()
func (*AuditResponse) String ¶
func (m *AuditResponse) String() string
type AuditResult ¶
type AuditResult struct { Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` Level string `protobuf:"bytes,2,opt,name=level" json:"level,omitempty"` }
func (*AuditResult) Descriptor ¶
func (*AuditResult) Descriptor() ([]byte, []int)
func (*AuditResult) GetLevel ¶
func (m *AuditResult) GetLevel() string
func (*AuditResult) GetMessage ¶
func (m *AuditResult) GetMessage() string
func (*AuditResult) ProtoMessage ¶
func (*AuditResult) ProtoMessage()
func (*AuditResult) Reset ¶
func (m *AuditResult) Reset()
func (*AuditResult) String ¶
func (m *AuditResult) String() string
type ColumnsInfo ¶ added in v1.2207.0
type ColumnsInfo struct {
AnalysisInfoInTableFormat *AnalysisInfoInTableFormat `protobuf:"bytes,1,opt,name=analysisInfoInTableFormat" json:"analysisInfoInTableFormat,omitempty"`
}
func (*ColumnsInfo) Descriptor ¶ added in v1.2207.0
func (*ColumnsInfo) Descriptor() ([]byte, []int)
func (*ColumnsInfo) GetAnalysisInfoInTableFormat ¶ added in v1.2207.0
func (m *ColumnsInfo) GetAnalysisInfoInTableFormat() *AnalysisInfoInTableFormat
func (*ColumnsInfo) ProtoMessage ¶ added in v1.2207.0
func (*ColumnsInfo) ProtoMessage()
func (*ColumnsInfo) Reset ¶ added in v1.2207.0
func (m *ColumnsInfo) Reset()
func (*ColumnsInfo) String ¶ added in v1.2207.0
func (m *ColumnsInfo) String() string
type DSN ¶ added in v1.2111.0
type DSN struct { Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` Port string `protobuf:"bytes,2,opt,name=port" json:"port,omitempty"` User string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"` Password string `protobuf:"bytes,4,opt,name=password" json:"password,omitempty"` Database string `protobuf:"bytes,5,opt,name=database" json:"database,omitempty"` AdditionalParams []*Param `protobuf:"bytes,6,rep,name=additionalParams" json:"additionalParams,omitempty"` }
func (*DSN) Descriptor ¶ added in v1.2111.0
func (*DSN) GetAdditionalParams ¶ added in v1.2203.0
func (*DSN) GetDatabase ¶ added in v1.2111.0
func (*DSN) GetPassword ¶ added in v1.2111.0
func (*DSN) ProtoMessage ¶ added in v1.2111.0
func (*DSN) ProtoMessage()
type DatabasesResponse ¶
type DatabasesResponse struct {
Databases []string `protobuf:"bytes,1,rep,name=databases" json:"databases,omitempty"`
}
func (*DatabasesResponse) Descriptor ¶
func (*DatabasesResponse) Descriptor() ([]byte, []int)
func (*DatabasesResponse) GetDatabases ¶
func (m *DatabasesResponse) GetDatabases() []string
func (*DatabasesResponse) ProtoMessage ¶
func (*DatabasesResponse) ProtoMessage()
func (*DatabasesResponse) Reset ¶
func (m *DatabasesResponse) Reset()
func (*DatabasesResponse) String ¶
func (m *DatabasesResponse) String() string
type DriverClient ¶
type DriverClient interface { // Metas returns some base info from plugin server. Metas(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MetasResponse, error) // Init will should be called at first before calling following methods. // It will pass some necessary info to plugin server. In the beginning, // we consider that put this info to the executable binary environment. // We put all communication on gRPC for unification in the end. Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*Empty, error) Close(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) Tx(ctx context.Context, in *TxRequest, opts ...grpc.CallOption) (*TxResponse, error) Databases(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DatabasesResponse, error) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) Audit(ctx context.Context, in *AuditRequest, opts ...grpc.CallOption) (*AuditResponse, error) GenRollbackSQL(ctx context.Context, in *GenRollbackSQLRequest, opts ...grpc.CallOption) (*GenRollbackSQLResponse, error) }
func NewDriverClient ¶
func NewDriverClient(cc *grpc.ClientConn) DriverClient
type DriverServer ¶
type DriverServer interface { // Metas returns some base info from plugin server. Metas(context.Context, *Empty) (*MetasResponse, error) // Init will should be called at first before calling following methods. // It will pass some necessary info to plugin server. In the beginning, // we consider that put this info to the executable binary environment. // We put all communication on gRPC for unification in the end. Init(context.Context, *InitRequest) (*Empty, error) Close(context.Context, *Empty) (*Empty, error) Ping(context.Context, *Empty) (*Empty, error) Exec(context.Context, *ExecRequest) (*ExecResponse, error) Tx(context.Context, *TxRequest) (*TxResponse, error) Databases(context.Context, *Empty) (*DatabasesResponse, error) Parse(context.Context, *ParseRequest) (*ParseResponse, error) Audit(context.Context, *AuditRequest) (*AuditResponse, error) GenRollbackSQL(context.Context, *GenRollbackSQLRequest) (*GenRollbackSQLResponse, error) }
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type ExecRequest ¶
type ExecRequest struct {
Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
}
func (*ExecRequest) Descriptor ¶
func (*ExecRequest) Descriptor() ([]byte, []int)
func (*ExecRequest) GetQuery ¶
func (m *ExecRequest) GetQuery() string
func (*ExecRequest) ProtoMessage ¶
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) Reset ¶
func (m *ExecRequest) Reset()
func (*ExecRequest) String ¶
func (m *ExecRequest) String() string
type ExecResponse ¶
type ExecResponse struct { LastInsertId int64 `protobuf:"varint,1,opt,name=lastInsertId" json:"lastInsertId,omitempty"` LastInsertIdError string `protobuf:"bytes,2,opt,name=lastInsertIdError" json:"lastInsertIdError,omitempty"` RowsAffected int64 `protobuf:"varint,3,opt,name=rowsAffected" json:"rowsAffected,omitempty"` RowsAffectedError string `protobuf:"bytes,4,opt,name=rowsAffectedError" json:"rowsAffectedError,omitempty"` }
func (*ExecResponse) Descriptor ¶
func (*ExecResponse) Descriptor() ([]byte, []int)
func (*ExecResponse) GetLastInsertId ¶
func (m *ExecResponse) GetLastInsertId() int64
func (*ExecResponse) GetLastInsertIdError ¶
func (m *ExecResponse) GetLastInsertIdError() string
func (*ExecResponse) GetRowsAffected ¶
func (m *ExecResponse) GetRowsAffected() int64
func (*ExecResponse) GetRowsAffectedError ¶
func (m *ExecResponse) GetRowsAffectedError() string
func (*ExecResponse) ProtoMessage ¶
func (*ExecResponse) ProtoMessage()
func (*ExecResponse) Reset ¶
func (m *ExecResponse) Reset()
func (*ExecResponse) String ¶
func (m *ExecResponse) String() string
type ExplainClassicResult ¶ added in v1.2207.0
type ExplainClassicResult struct {
AnalysisInfoInTableFormat *AnalysisInfoInTableFormat `protobuf:"bytes,1,opt,name=analysisInfoInTableFormat" json:"analysisInfoInTableFormat,omitempty"`
}
func (*ExplainClassicResult) Descriptor ¶ added in v1.2207.0
func (*ExplainClassicResult) Descriptor() ([]byte, []int)
func (*ExplainClassicResult) GetAnalysisInfoInTableFormat ¶ added in v1.2207.0
func (m *ExplainClassicResult) GetAnalysisInfoInTableFormat() *AnalysisInfoInTableFormat
func (*ExplainClassicResult) ProtoMessage ¶ added in v1.2207.0
func (*ExplainClassicResult) ProtoMessage()
func (*ExplainClassicResult) Reset ¶ added in v1.2207.0
func (m *ExplainClassicResult) Reset()
func (*ExplainClassicResult) String ¶ added in v1.2207.0
func (m *ExplainClassicResult) String() string
type ExplainRequest ¶ added in v1.2207.0
type ExplainRequest struct {
Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"`
}
func (*ExplainRequest) Descriptor ¶ added in v1.2207.0
func (*ExplainRequest) Descriptor() ([]byte, []int)
func (*ExplainRequest) GetSql ¶ added in v1.2207.0
func (m *ExplainRequest) GetSql() string
func (*ExplainRequest) ProtoMessage ¶ added in v1.2207.0
func (*ExplainRequest) ProtoMessage()
func (*ExplainRequest) Reset ¶ added in v1.2207.0
func (m *ExplainRequest) Reset()
func (*ExplainRequest) String ¶ added in v1.2207.0
func (m *ExplainRequest) String() string
type ExplainResponse ¶ added in v1.2207.0
type ExplainResponse struct {
ClassicResult *ExplainClassicResult `protobuf:"bytes,1,opt,name=classicResult" json:"classicResult,omitempty"`
}
func (*ExplainResponse) Descriptor ¶ added in v1.2207.0
func (*ExplainResponse) Descriptor() ([]byte, []int)
func (*ExplainResponse) GetClassicResult ¶ added in v1.2207.0
func (m *ExplainResponse) GetClassicResult() *ExplainClassicResult
func (*ExplainResponse) ProtoMessage ¶ added in v1.2207.0
func (*ExplainResponse) ProtoMessage()
func (*ExplainResponse) Reset ¶ added in v1.2207.0
func (m *ExplainResponse) Reset()
func (*ExplainResponse) String ¶ added in v1.2207.0
func (m *ExplainResponse) String() string
type GenRollbackSQLRequest ¶
type GenRollbackSQLRequest struct {
Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"`
}
func (*GenRollbackSQLRequest) Descriptor ¶
func (*GenRollbackSQLRequest) Descriptor() ([]byte, []int)
func (*GenRollbackSQLRequest) GetSql ¶
func (m *GenRollbackSQLRequest) GetSql() string
func (*GenRollbackSQLRequest) ProtoMessage ¶
func (*GenRollbackSQLRequest) ProtoMessage()
func (*GenRollbackSQLRequest) Reset ¶
func (m *GenRollbackSQLRequest) Reset()
func (*GenRollbackSQLRequest) String ¶
func (m *GenRollbackSQLRequest) String() string
type GenRollbackSQLResponse ¶
type GenRollbackSQLResponse struct { Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"` }
func (*GenRollbackSQLResponse) Descriptor ¶
func (*GenRollbackSQLResponse) Descriptor() ([]byte, []int)
func (*GenRollbackSQLResponse) GetReason ¶
func (m *GenRollbackSQLResponse) GetReason() string
func (*GenRollbackSQLResponse) GetSql ¶
func (m *GenRollbackSQLResponse) GetSql() string
func (*GenRollbackSQLResponse) ProtoMessage ¶
func (*GenRollbackSQLResponse) ProtoMessage()
func (*GenRollbackSQLResponse) Reset ¶
func (m *GenRollbackSQLResponse) Reset()
func (*GenRollbackSQLResponse) String ¶
func (m *GenRollbackSQLResponse) String() string
type GetTableMetaBySQLRequest ¶ added in v1.2207.0
type GetTableMetaBySQLRequest struct {
Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"`
}
func (*GetTableMetaBySQLRequest) Descriptor ¶ added in v1.2207.0
func (*GetTableMetaBySQLRequest) Descriptor() ([]byte, []int)
func (*GetTableMetaBySQLRequest) GetSql ¶ added in v1.2207.0
func (m *GetTableMetaBySQLRequest) GetSql() string
func (*GetTableMetaBySQLRequest) ProtoMessage ¶ added in v1.2207.0
func (*GetTableMetaBySQLRequest) ProtoMessage()
func (*GetTableMetaBySQLRequest) Reset ¶ added in v1.2207.0
func (m *GetTableMetaBySQLRequest) Reset()
func (*GetTableMetaBySQLRequest) String ¶ added in v1.2207.0
func (m *GetTableMetaBySQLRequest) String() string
type GetTableMetaBySQLResponse ¶ added in v1.2207.0
type GetTableMetaBySQLResponse struct {
TableMetas []*TableMetaItemBySQL `protobuf:"bytes,1,rep,name=tableMetas" json:"tableMetas,omitempty"`
}
func (*GetTableMetaBySQLResponse) Descriptor ¶ added in v1.2207.0
func (*GetTableMetaBySQLResponse) Descriptor() ([]byte, []int)
func (*GetTableMetaBySQLResponse) GetTableMetas ¶ added in v1.2207.0
func (m *GetTableMetaBySQLResponse) GetTableMetas() []*TableMetaItemBySQL
func (*GetTableMetaBySQLResponse) ProtoMessage ¶ added in v1.2207.0
func (*GetTableMetaBySQLResponse) ProtoMessage()
func (*GetTableMetaBySQLResponse) Reset ¶ added in v1.2207.0
func (m *GetTableMetaBySQLResponse) Reset()
func (*GetTableMetaBySQLResponse) String ¶ added in v1.2207.0
func (m *GetTableMetaBySQLResponse) String() string
type GetTableMetaByTableNameRequest ¶ added in v1.2207.0
type GetTableMetaByTableNameRequest struct { Schema string `protobuf:"bytes,1,opt,name=schema" json:"schema,omitempty"` Table string `protobuf:"bytes,2,opt,name=table" json:"table,omitempty"` }
func (*GetTableMetaByTableNameRequest) Descriptor ¶ added in v1.2207.0
func (*GetTableMetaByTableNameRequest) Descriptor() ([]byte, []int)
func (*GetTableMetaByTableNameRequest) GetSchema ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameRequest) GetSchema() string
func (*GetTableMetaByTableNameRequest) GetTable ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameRequest) GetTable() string
func (*GetTableMetaByTableNameRequest) ProtoMessage ¶ added in v1.2207.0
func (*GetTableMetaByTableNameRequest) ProtoMessage()
func (*GetTableMetaByTableNameRequest) Reset ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameRequest) Reset()
func (*GetTableMetaByTableNameRequest) String ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameRequest) String() string
type GetTableMetaByTableNameResponse ¶ added in v1.2207.0
type GetTableMetaByTableNameResponse struct {
TableMeta *TableItem `protobuf:"bytes,1,opt,name=tableMeta" json:"tableMeta,omitempty"`
}
func (*GetTableMetaByTableNameResponse) Descriptor ¶ added in v1.2207.0
func (*GetTableMetaByTableNameResponse) Descriptor() ([]byte, []int)
func (*GetTableMetaByTableNameResponse) GetTableMeta ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameResponse) GetTableMeta() *TableItem
func (*GetTableMetaByTableNameResponse) ProtoMessage ¶ added in v1.2207.0
func (*GetTableMetaByTableNameResponse) ProtoMessage()
func (*GetTableMetaByTableNameResponse) Reset ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameResponse) Reset()
func (*GetTableMetaByTableNameResponse) String ¶ added in v1.2207.0
func (m *GetTableMetaByTableNameResponse) String() string
type IndexesInfo ¶ added in v1.2207.0
type IndexesInfo struct {
AnalysisInfoInTableFormat *AnalysisInfoInTableFormat `protobuf:"bytes,1,opt,name=analysisInfoInTableFormat" json:"analysisInfoInTableFormat,omitempty"`
}
func (*IndexesInfo) Descriptor ¶ added in v1.2207.0
func (*IndexesInfo) Descriptor() ([]byte, []int)
func (*IndexesInfo) GetAnalysisInfoInTableFormat ¶ added in v1.2207.0
func (m *IndexesInfo) GetAnalysisInfoInTableFormat() *AnalysisInfoInTableFormat
func (*IndexesInfo) ProtoMessage ¶ added in v1.2207.0
func (*IndexesInfo) ProtoMessage()
func (*IndexesInfo) Reset ¶ added in v1.2207.0
func (m *IndexesInfo) Reset()
func (*IndexesInfo) String ¶ added in v1.2207.0
func (m *IndexesInfo) String() string
type InitRequest ¶
type InitRequest struct { Dsn *DSN `protobuf:"bytes,1,opt,name=dsn" json:"dsn,omitempty"` Rules []*Rule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"` }
func (*InitRequest) Descriptor ¶
func (*InitRequest) Descriptor() ([]byte, []int)
func (*InitRequest) GetDsn ¶ added in v1.2111.0
func (m *InitRequest) GetDsn() *DSN
func (*InitRequest) GetRules ¶ added in v1.2111.0
func (m *InitRequest) GetRules() []*Rule
func (*InitRequest) ProtoMessage ¶
func (*InitRequest) ProtoMessage()
func (*InitRequest) Reset ¶
func (m *InitRequest) Reset()
func (*InitRequest) String ¶
func (m *InitRequest) String() string
type ListTablesInSchemaRequest ¶ added in v1.2207.0
type ListTablesInSchemaRequest struct {
Schema string `protobuf:"bytes,1,opt,name=schema" json:"schema,omitempty"`
}
func (*ListTablesInSchemaRequest) Descriptor ¶ added in v1.2207.0
func (*ListTablesInSchemaRequest) Descriptor() ([]byte, []int)
func (*ListTablesInSchemaRequest) GetSchema ¶ added in v1.2207.0
func (m *ListTablesInSchemaRequest) GetSchema() string
func (*ListTablesInSchemaRequest) ProtoMessage ¶ added in v1.2207.0
func (*ListTablesInSchemaRequest) ProtoMessage()
func (*ListTablesInSchemaRequest) Reset ¶ added in v1.2207.0
func (m *ListTablesInSchemaRequest) Reset()
func (*ListTablesInSchemaRequest) String ¶ added in v1.2207.0
func (m *ListTablesInSchemaRequest) String() string
type ListTablesInSchemaResponse ¶ added in v1.2207.0
type ListTablesInSchemaResponse struct {
Tables []*Table `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
}
func (*ListTablesInSchemaResponse) Descriptor ¶ added in v1.2207.0
func (*ListTablesInSchemaResponse) Descriptor() ([]byte, []int)
func (*ListTablesInSchemaResponse) GetTables ¶ added in v1.2207.0
func (m *ListTablesInSchemaResponse) GetTables() []*Table
func (*ListTablesInSchemaResponse) ProtoMessage ¶ added in v1.2207.0
func (*ListTablesInSchemaResponse) ProtoMessage()
func (*ListTablesInSchemaResponse) Reset ¶ added in v1.2207.0
func (m *ListTablesInSchemaResponse) Reset()
func (*ListTablesInSchemaResponse) String ¶ added in v1.2207.0
func (m *ListTablesInSchemaResponse) String() string
type MetasResponse ¶
type MetasResponse struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Rules []*Rule `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"` AdditionalParams []*Param `protobuf:"bytes,3,rep,name=additionalParams" json:"additionalParams,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"` }
func (*MetasResponse) Descriptor ¶
func (*MetasResponse) Descriptor() ([]byte, []int)
func (*MetasResponse) GetAdditionalParams ¶ added in v1.2203.0
func (m *MetasResponse) GetAdditionalParams() []*Param
func (*MetasResponse) GetName ¶
func (m *MetasResponse) GetName() string
func (*MetasResponse) GetRules ¶
func (m *MetasResponse) GetRules() []*Rule
func (*MetasResponse) GetVersion ¶ added in v1.2207.0
func (m *MetasResponse) GetVersion() int32
func (*MetasResponse) ProtoMessage ¶
func (*MetasResponse) ProtoMessage()
func (*MetasResponse) Reset ¶
func (m *MetasResponse) Reset()
func (*MetasResponse) String ¶
func (m *MetasResponse) String() string
type Node ¶
type Node struct { Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint" json:"fingerprint,omitempty"` }
func (*Node) Descriptor ¶
func (*Node) GetFingerprint ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
type Param ¶ added in v1.2112.0
type Param struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` Desc string `protobuf:"bytes,3,opt,name=desc" json:"desc,omitempty"` Type string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` }
func ConvertParamToProtoParam ¶ added in v1.2203.0
func (*Param) Descriptor ¶ added in v1.2112.0
func (*Param) ProtoMessage ¶ added in v1.2112.0
func (*Param) ProtoMessage()
type ParseRequest ¶
type ParseRequest struct {
SqlText string `protobuf:"bytes,1,opt,name=sqlText" json:"sqlText,omitempty"`
}
func (*ParseRequest) Descriptor ¶
func (*ParseRequest) Descriptor() ([]byte, []int)
func (*ParseRequest) GetSqlText ¶
func (m *ParseRequest) GetSqlText() string
func (*ParseRequest) ProtoMessage ¶
func (*ParseRequest) ProtoMessage()
func (*ParseRequest) Reset ¶
func (m *ParseRequest) Reset()
func (*ParseRequest) String ¶
func (m *ParseRequest) String() string
type ParseResponse ¶
type ParseResponse struct {
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
}
func (*ParseResponse) Descriptor ¶
func (*ParseResponse) Descriptor() ([]byte, []int)
func (*ParseResponse) GetNodes ¶
func (m *ParseResponse) GetNodes() []*Node
func (*ParseResponse) ProtoMessage ¶
func (*ParseResponse) ProtoMessage()
func (*ParseResponse) Reset ¶
func (m *ParseResponse) Reset()
func (*ParseResponse) String ¶
func (m *ParseResponse) String() string
type QueryConf ¶ added in v1.2206.0
type QueryConf struct {
TimeOutSecond uint32 `protobuf:"varint,1,opt,name=timeOutSecond" json:"timeOutSecond,omitempty"`
}
func (*QueryConf) Descriptor ¶ added in v1.2206.0
func (*QueryConf) GetTimeOutSecond ¶ added in v1.2206.0
func (*QueryConf) ProtoMessage ¶ added in v1.2206.0
func (*QueryConf) ProtoMessage()
type QueryDriverClient ¶ added in v1.2206.0
type QueryDriverClient interface { // Init will should be called at first before calling following methods. // It will pass some necessary info to plugin server. In the beginning, // we consider that put this info to the executable binary environment. // We put all communication on gRPC for unification in the end. Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*Empty, error) QueryPrepare(ctx context.Context, in *QueryPrepareRequest, opts ...grpc.CallOption) (*QueryPrepareResponse, error) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) }
func NewQueryDriverClient ¶ added in v1.2206.0
func NewQueryDriverClient(cc *grpc.ClientConn) QueryDriverClient
type QueryDriverServer ¶ added in v1.2206.0
type QueryDriverServer interface { // Init will should be called at first before calling following methods. // It will pass some necessary info to plugin server. In the beginning, // we consider that put this info to the executable binary environment. // We put all communication on gRPC for unification in the end. Init(context.Context, *InitRequest) (*Empty, error) QueryPrepare(context.Context, *QueryPrepareRequest) (*QueryPrepareResponse, error) Query(context.Context, *QueryRequest) (*QueryResponse, error) }
type QueryPrepareConf ¶ added in v1.2206.0
type QueryPrepareConf struct { Limit uint32 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` }
func (*QueryPrepareConf) Descriptor ¶ added in v1.2206.0
func (*QueryPrepareConf) Descriptor() ([]byte, []int)
func (*QueryPrepareConf) GetLimit ¶ added in v1.2206.0
func (m *QueryPrepareConf) GetLimit() uint32
func (*QueryPrepareConf) GetOffset ¶ added in v1.2206.0
func (m *QueryPrepareConf) GetOffset() uint32
func (*QueryPrepareConf) ProtoMessage ¶ added in v1.2206.0
func (*QueryPrepareConf) ProtoMessage()
func (*QueryPrepareConf) Reset ¶ added in v1.2206.0
func (m *QueryPrepareConf) Reset()
func (*QueryPrepareConf) String ¶ added in v1.2206.0
func (m *QueryPrepareConf) String() string
type QueryPrepareRequest ¶ added in v1.2206.0
type QueryPrepareRequest struct { Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"` Conf *QueryPrepareConf `protobuf:"bytes,2,opt,name=conf" json:"conf,omitempty"` }
func (*QueryPrepareRequest) Descriptor ¶ added in v1.2206.0
func (*QueryPrepareRequest) Descriptor() ([]byte, []int)
func (*QueryPrepareRequest) GetConf ¶ added in v1.2206.0
func (m *QueryPrepareRequest) GetConf() *QueryPrepareConf
func (*QueryPrepareRequest) GetSql ¶ added in v1.2206.0
func (m *QueryPrepareRequest) GetSql() string
func (*QueryPrepareRequest) ProtoMessage ¶ added in v1.2206.0
func (*QueryPrepareRequest) ProtoMessage()
func (*QueryPrepareRequest) Reset ¶ added in v1.2206.0
func (m *QueryPrepareRequest) Reset()
func (*QueryPrepareRequest) String ¶ added in v1.2206.0
func (m *QueryPrepareRequest) String() string
type QueryPrepareResponse ¶ added in v1.2206.0
type QueryPrepareResponse struct { NewSql string `protobuf:"bytes,1,opt,name=newSql" json:"newSql,omitempty"` ErrorType string `protobuf:"bytes,2,opt,name=errorType" json:"errorType,omitempty"` Error string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"` }
func (*QueryPrepareResponse) Descriptor ¶ added in v1.2206.0
func (*QueryPrepareResponse) Descriptor() ([]byte, []int)
func (*QueryPrepareResponse) GetError ¶ added in v1.2206.0
func (m *QueryPrepareResponse) GetError() string
func (*QueryPrepareResponse) GetErrorType ¶ added in v1.2206.0
func (m *QueryPrepareResponse) GetErrorType() string
func (*QueryPrepareResponse) GetNewSql ¶ added in v1.2206.0
func (m *QueryPrepareResponse) GetNewSql() string
func (*QueryPrepareResponse) ProtoMessage ¶ added in v1.2206.0
func (*QueryPrepareResponse) ProtoMessage()
func (*QueryPrepareResponse) Reset ¶ added in v1.2206.0
func (m *QueryPrepareResponse) Reset()
func (*QueryPrepareResponse) String ¶ added in v1.2206.0
func (m *QueryPrepareResponse) String() string
type QueryRequest ¶ added in v1.2206.0
type QueryRequest struct { Sql string `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"` Conf *QueryConf `protobuf:"bytes,2,opt,name=conf" json:"conf,omitempty"` }
func (*QueryRequest) Descriptor ¶ added in v1.2206.0
func (*QueryRequest) Descriptor() ([]byte, []int)
func (*QueryRequest) GetConf ¶ added in v1.2206.0
func (m *QueryRequest) GetConf() *QueryConf
func (*QueryRequest) GetSql ¶ added in v1.2206.0
func (m *QueryRequest) GetSql() string
func (*QueryRequest) ProtoMessage ¶ added in v1.2206.0
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) Reset ¶ added in v1.2206.0
func (m *QueryRequest) Reset()
func (*QueryRequest) String ¶ added in v1.2206.0
func (m *QueryRequest) String() string
type QueryResponse ¶ added in v1.2206.0
type QueryResponse struct { Column []*Param `protobuf:"bytes,1,rep,name=column" json:"column,omitempty"` Rows []*QueryResultRow `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` }
func (*QueryResponse) Descriptor ¶ added in v1.2206.0
func (*QueryResponse) Descriptor() ([]byte, []int)
func (*QueryResponse) GetColumn ¶ added in v1.2206.0
func (m *QueryResponse) GetColumn() []*Param
func (*QueryResponse) GetRows ¶ added in v1.2206.0
func (m *QueryResponse) GetRows() []*QueryResultRow
func (*QueryResponse) ProtoMessage ¶ added in v1.2206.0
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) Reset ¶ added in v1.2206.0
func (m *QueryResponse) Reset()
func (*QueryResponse) String ¶ added in v1.2206.0
func (m *QueryResponse) String() string
type QueryResultRow ¶ added in v1.2206.0
type QueryResultRow struct {
Values []*QueryResultValue `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (*QueryResultRow) Descriptor ¶ added in v1.2206.0
func (*QueryResultRow) Descriptor() ([]byte, []int)
func (*QueryResultRow) GetValues ¶ added in v1.2206.0
func (m *QueryResultRow) GetValues() []*QueryResultValue
func (*QueryResultRow) ProtoMessage ¶ added in v1.2206.0
func (*QueryResultRow) ProtoMessage()
func (*QueryResultRow) Reset ¶ added in v1.2206.0
func (m *QueryResultRow) Reset()
func (*QueryResultRow) String ¶ added in v1.2206.0
func (m *QueryResultRow) String() string
type QueryResultValue ¶ added in v1.2206.0
type QueryResultValue struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
func (*QueryResultValue) Descriptor ¶ added in v1.2206.0
func (*QueryResultValue) Descriptor() ([]byte, []int)
func (*QueryResultValue) GetValue ¶ added in v1.2206.0
func (m *QueryResultValue) GetValue() string
func (*QueryResultValue) ProtoMessage ¶ added in v1.2206.0
func (*QueryResultValue) ProtoMessage()
func (*QueryResultValue) Reset ¶ added in v1.2206.0
func (m *QueryResultValue) Reset()
func (*QueryResultValue) String ¶ added in v1.2206.0
func (m *QueryResultValue) String() string
type Row ¶ added in v1.2207.0
type Row struct {
Items []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*Row) Descriptor ¶ added in v1.2207.0
func (*Row) ProtoMessage ¶ added in v1.2207.0
func (*Row) ProtoMessage()
type Rule ¶
type Rule struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc" json:"desc,omitempty"` Value string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` Level string `protobuf:"bytes,4,opt,name=level" json:"level,omitempty"` Category string `protobuf:"bytes,5,opt,name=category" json:"category,omitempty"` Params []*Param `protobuf:"bytes,6,rep,name=params" json:"params,omitempty"` }
func (*Rule) Descriptor ¶
func (*Rule) GetCategory ¶ added in v1.2111.0
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
type Table ¶ added in v1.2207.0
type Table struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*Table) Descriptor ¶ added in v1.2207.0
func (*Table) ProtoMessage ¶ added in v1.2207.0
func (*Table) ProtoMessage()
type TableItem ¶ added in v1.2207.0
type TableItem struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Schema string `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"` ColumnsInfo *ColumnsInfo `protobuf:"bytes,3,opt,name=columnsInfo" json:"columnsInfo,omitempty"` IndexesInfo *IndexesInfo `protobuf:"bytes,4,opt,name=indexesInfo" json:"indexesInfo,omitempty"` CreateTableSQL string `protobuf:"bytes,5,opt,name=createTableSQL" json:"createTableSQL,omitempty"` }
func (*TableItem) Descriptor ¶ added in v1.2207.0
func (*TableItem) GetColumnsInfo ¶ added in v1.2207.0
func (m *TableItem) GetColumnsInfo() *ColumnsInfo
func (*TableItem) GetCreateTableSQL ¶ added in v1.2207.0
func (*TableItem) GetIndexesInfo ¶ added in v1.2207.0
func (m *TableItem) GetIndexesInfo() *IndexesInfo
func (*TableItem) ProtoMessage ¶ added in v1.2207.0
func (*TableItem) ProtoMessage()
type TableMetaItemBySQL ¶ added in v1.2207.0
type TableMetaItemBySQL struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Schema string `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"` ColumnsInfo *ColumnsInfo `protobuf:"bytes,3,opt,name=columnsInfo" json:"columnsInfo,omitempty"` IndexesInfo *IndexesInfo `protobuf:"bytes,4,opt,name=indexesInfo" json:"indexesInfo,omitempty"` CreateTableSQL string `protobuf:"bytes,5,opt,name=createTableSQL" json:"createTableSQL,omitempty"` ErrMessage string `protobuf:"bytes,6,opt,name=errMessage" json:"errMessage,omitempty"` }
func (*TableMetaItemBySQL) Descriptor ¶ added in v1.2207.0
func (*TableMetaItemBySQL) Descriptor() ([]byte, []int)
func (*TableMetaItemBySQL) GetColumnsInfo ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) GetColumnsInfo() *ColumnsInfo
func (*TableMetaItemBySQL) GetCreateTableSQL ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) GetCreateTableSQL() string
func (*TableMetaItemBySQL) GetErrMessage ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) GetErrMessage() string
func (*TableMetaItemBySQL) GetIndexesInfo ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) GetIndexesInfo() *IndexesInfo
func (*TableMetaItemBySQL) GetName ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) GetName() string
func (*TableMetaItemBySQL) GetSchema ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) GetSchema() string
func (*TableMetaItemBySQL) ProtoMessage ¶ added in v1.2207.0
func (*TableMetaItemBySQL) ProtoMessage()
func (*TableMetaItemBySQL) Reset ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) Reset()
func (*TableMetaItemBySQL) String ¶ added in v1.2207.0
func (m *TableMetaItemBySQL) String() string
type TxRequest ¶
type TxRequest struct {
Queries []string `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"`
}
func (*TxRequest) Descriptor ¶
func (*TxRequest) GetQueries ¶
func (*TxRequest) ProtoMessage ¶
func (*TxRequest) ProtoMessage()
type TxResponse ¶
type TxResponse struct {
Results []*ExecResponse `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*TxResponse) Descriptor ¶
func (*TxResponse) Descriptor() ([]byte, []int)
func (*TxResponse) GetResults ¶ added in v1.2112.0
func (m *TxResponse) GetResults() []*ExecResponse
func (*TxResponse) ProtoMessage ¶
func (*TxResponse) ProtoMessage()
func (*TxResponse) Reset ¶
func (m *TxResponse) Reset()
func (*TxResponse) String ¶
func (m *TxResponse) String() string
Click to show internal directories.
Click to hide internal directories.