Documentation ¶
Index ¶
- Variables
- type ExecuteYqlPartialResponse
- func (*ExecuteYqlPartialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteYqlPartialResponse) GetIssues() []*Ydb_Issue.IssueMessage
- func (x *ExecuteYqlPartialResponse) GetResult() *ExecuteYqlPartialResult
- func (x *ExecuteYqlPartialResponse) GetStatus() Ydb.StatusIds_StatusCode
- func (*ExecuteYqlPartialResponse) ProtoMessage()
- func (x *ExecuteYqlPartialResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteYqlPartialResponse) Reset()
- func (x *ExecuteYqlPartialResponse) String() string
- type ExecuteYqlPartialResult
- func (*ExecuteYqlPartialResult) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteYqlPartialResult) GetQueryStats() *Ydb_TableStats.QueryStats
- func (x *ExecuteYqlPartialResult) GetResultSet() *Ydb.ResultSet
- func (x *ExecuteYqlPartialResult) GetResultSetIndex() uint32
- func (*ExecuteYqlPartialResult) ProtoMessage()
- func (x *ExecuteYqlPartialResult) ProtoReflect() protoreflect.Message
- func (x *ExecuteYqlPartialResult) Reset()
- func (x *ExecuteYqlPartialResult) String() string
- type ExecuteYqlRequest
- func (*ExecuteYqlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteYqlRequest) GetCollectStats() Ydb_Table.QueryStatsCollection_Mode
- func (x *ExecuteYqlRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *ExecuteYqlRequest) GetParameters() map[string]*Ydb.TypedValue
- func (x *ExecuteYqlRequest) GetScript() string
- func (*ExecuteYqlRequest) ProtoMessage()
- func (x *ExecuteYqlRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteYqlRequest) Reset()
- func (x *ExecuteYqlRequest) String() string
- type ExecuteYqlResponse
- func (*ExecuteYqlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteYqlResponse) GetOperation() *Ydb_Operations.Operation
- func (*ExecuteYqlResponse) ProtoMessage()
- func (x *ExecuteYqlResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteYqlResponse) Reset()
- func (x *ExecuteYqlResponse) String() string
- type ExecuteYqlResult
- func (*ExecuteYqlResult) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteYqlResult) GetQueryStats() *Ydb_TableStats.QueryStats
- func (x *ExecuteYqlResult) GetResultSets() []*Ydb.ResultSet
- func (*ExecuteYqlResult) ProtoMessage()
- func (x *ExecuteYqlResult) ProtoReflect() protoreflect.Message
- func (x *ExecuteYqlResult) Reset()
- func (x *ExecuteYqlResult) String() string
- type ExplainYqlRequest
- func (*ExplainYqlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExplainYqlRequest) GetMode() ExplainYqlRequest_Mode
- func (x *ExplainYqlRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *ExplainYqlRequest) GetScript() string
- func (*ExplainYqlRequest) ProtoMessage()
- func (x *ExplainYqlRequest) ProtoReflect() protoreflect.Message
- func (x *ExplainYqlRequest) Reset()
- func (x *ExplainYqlRequest) String() string
- type ExplainYqlRequest_Mode
- func (ExplainYqlRequest_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x ExplainYqlRequest_Mode) Enum() *ExplainYqlRequest_Mode
- func (ExplainYqlRequest_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExplainYqlRequest_Mode) Number() protoreflect.EnumNumber
- func (x ExplainYqlRequest_Mode) String() string
- func (ExplainYqlRequest_Mode) Type() protoreflect.EnumType
- type ExplainYqlResponse
- func (*ExplainYqlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExplainYqlResponse) GetOperation() *Ydb_Operations.Operation
- func (*ExplainYqlResponse) ProtoMessage()
- func (x *ExplainYqlResponse) ProtoReflect() protoreflect.Message
- func (x *ExplainYqlResponse) Reset()
- func (x *ExplainYqlResponse) String() string
- type ExplainYqlResult
- func (*ExplainYqlResult) Descriptor() ([]byte, []int)deprecated
- func (x *ExplainYqlResult) GetParametersTypes() map[string]*Ydb.Type
- func (x *ExplainYqlResult) GetPlan() string
- func (*ExplainYqlResult) ProtoMessage()
- func (x *ExplainYqlResult) ProtoReflect() protoreflect.Message
- func (x *ExplainYqlResult) Reset()
- func (x *ExplainYqlResult) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ExplainYqlRequest_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 2: "VALIDATE", 3: "PLAN", } ExplainYqlRequest_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "VALIDATE": 2, "PLAN": 3, } )
Enum value maps for ExplainYqlRequest_Mode.
var File_protos_ydb_scripting_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExecuteYqlPartialResponse ¶
type ExecuteYqlPartialResponse struct { Status Ydb.StatusIds_StatusCode `protobuf:"varint,1,opt,name=status,proto3,enum=Ydb.StatusIds_StatusCode" json:"status,omitempty"` Issues []*Ydb_Issue.IssueMessage `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` Result *ExecuteYqlPartialResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
Response for StreamExecuteYql is a stream of ExecuteYqlPartialResponse messages. These responses can contain ExecuteYqlPartialResult messages with results (or result parts) for data or scan queries in the script. YqlScript can have multiple results (result sets). Each result set has an index (starting at 0).
func (*ExecuteYqlPartialResponse) Descriptor
deprecated
func (*ExecuteYqlPartialResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteYqlPartialResponse.ProtoReflect.Descriptor instead.
func (*ExecuteYqlPartialResponse) GetIssues ¶
func (x *ExecuteYqlPartialResponse) GetIssues() []*Ydb_Issue.IssueMessage
func (*ExecuteYqlPartialResponse) GetResult ¶
func (x *ExecuteYqlPartialResponse) GetResult() *ExecuteYqlPartialResult
func (*ExecuteYqlPartialResponse) GetStatus ¶
func (x *ExecuteYqlPartialResponse) GetStatus() Ydb.StatusIds_StatusCode
func (*ExecuteYqlPartialResponse) ProtoMessage ¶
func (*ExecuteYqlPartialResponse) ProtoMessage()
func (*ExecuteYqlPartialResponse) ProtoReflect ¶
func (x *ExecuteYqlPartialResponse) ProtoReflect() protoreflect.Message
func (*ExecuteYqlPartialResponse) Reset ¶
func (x *ExecuteYqlPartialResponse) Reset()
func (*ExecuteYqlPartialResponse) String ¶
func (x *ExecuteYqlPartialResponse) String() string
type ExecuteYqlPartialResult ¶
type ExecuteYqlPartialResult struct { // Index of current result ResultSetIndex uint32 `protobuf:"varint,1,opt,name=result_set_index,json=resultSetIndex,proto3" json:"result_set_index,omitempty"` // Result set (or a result set part) for one data or scan query ResultSet *Ydb.ResultSet `protobuf:"bytes,2,opt,name=result_set,json=resultSet,proto3" json:"result_set,omitempty"` QueryStats *Ydb_TableStats.QueryStats `protobuf:"bytes,3,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"` // contains filtered or unexported fields }
Contains result set (or a result set part) for one data or scan query in the script. One result set can be split into several responses with same result_index. Only the final response can contain query stats.
func (*ExecuteYqlPartialResult) Descriptor
deprecated
func (*ExecuteYqlPartialResult) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteYqlPartialResult.ProtoReflect.Descriptor instead.
func (*ExecuteYqlPartialResult) GetQueryStats ¶
func (x *ExecuteYqlPartialResult) GetQueryStats() *Ydb_TableStats.QueryStats
func (*ExecuteYqlPartialResult) GetResultSet ¶
func (x *ExecuteYqlPartialResult) GetResultSet() *Ydb.ResultSet
func (*ExecuteYqlPartialResult) GetResultSetIndex ¶
func (x *ExecuteYqlPartialResult) GetResultSetIndex() uint32
func (*ExecuteYqlPartialResult) ProtoMessage ¶
func (*ExecuteYqlPartialResult) ProtoMessage()
func (*ExecuteYqlPartialResult) ProtoReflect ¶
func (x *ExecuteYqlPartialResult) ProtoReflect() protoreflect.Message
func (*ExecuteYqlPartialResult) Reset ¶
func (x *ExecuteYqlPartialResult) Reset()
func (*ExecuteYqlPartialResult) String ¶
func (x *ExecuteYqlPartialResult) String() string
type ExecuteYqlRequest ¶
type ExecuteYqlRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` Script string `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` Parameters map[string]*Ydb.TypedValue `` /* 161-byte string literal not displayed */ CollectStats Ydb_Table.QueryStatsCollection_Mode `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExecuteYqlRequest) Descriptor
deprecated
func (*ExecuteYqlRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteYqlRequest.ProtoReflect.Descriptor instead.
func (*ExecuteYqlRequest) GetCollectStats ¶
func (x *ExecuteYqlRequest) GetCollectStats() Ydb_Table.QueryStatsCollection_Mode
func (*ExecuteYqlRequest) GetOperationParams ¶
func (x *ExecuteYqlRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*ExecuteYqlRequest) GetParameters ¶
func (x *ExecuteYqlRequest) GetParameters() map[string]*Ydb.TypedValue
func (*ExecuteYqlRequest) GetScript ¶
func (x *ExecuteYqlRequest) GetScript() string
func (*ExecuteYqlRequest) ProtoMessage ¶
func (*ExecuteYqlRequest) ProtoMessage()
func (*ExecuteYqlRequest) ProtoReflect ¶
func (x *ExecuteYqlRequest) ProtoReflect() protoreflect.Message
func (*ExecuteYqlRequest) Reset ¶
func (x *ExecuteYqlRequest) Reset()
func (*ExecuteYqlRequest) String ¶
func (x *ExecuteYqlRequest) String() string
type ExecuteYqlResponse ¶
type ExecuteYqlResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ExecuteYqlResponse) Descriptor
deprecated
func (*ExecuteYqlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteYqlResponse.ProtoReflect.Descriptor instead.
func (*ExecuteYqlResponse) GetOperation ¶
func (x *ExecuteYqlResponse) GetOperation() *Ydb_Operations.Operation
func (*ExecuteYqlResponse) ProtoMessage ¶
func (*ExecuteYqlResponse) ProtoMessage()
func (*ExecuteYqlResponse) ProtoReflect ¶
func (x *ExecuteYqlResponse) ProtoReflect() protoreflect.Message
func (*ExecuteYqlResponse) Reset ¶
func (x *ExecuteYqlResponse) Reset()
func (*ExecuteYqlResponse) String ¶
func (x *ExecuteYqlResponse) String() string
type ExecuteYqlResult ¶
type ExecuteYqlResult struct { ResultSets []*Ydb.ResultSet `protobuf:"bytes,1,rep,name=result_sets,json=resultSets,proto3" json:"result_sets,omitempty"` QueryStats *Ydb_TableStats.QueryStats `protobuf:"bytes,2,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"` // contains filtered or unexported fields }
func (*ExecuteYqlResult) Descriptor
deprecated
func (*ExecuteYqlResult) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteYqlResult.ProtoReflect.Descriptor instead.
func (*ExecuteYqlResult) GetQueryStats ¶
func (x *ExecuteYqlResult) GetQueryStats() *Ydb_TableStats.QueryStats
func (*ExecuteYqlResult) GetResultSets ¶
func (x *ExecuteYqlResult) GetResultSets() []*Ydb.ResultSet
func (*ExecuteYqlResult) ProtoMessage ¶
func (*ExecuteYqlResult) ProtoMessage()
func (*ExecuteYqlResult) ProtoReflect ¶
func (x *ExecuteYqlResult) ProtoReflect() protoreflect.Message
func (*ExecuteYqlResult) Reset ¶
func (x *ExecuteYqlResult) Reset()
func (*ExecuteYqlResult) String ¶
func (x *ExecuteYqlResult) String() string
type ExplainYqlRequest ¶
type ExplainYqlRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` Script string `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` Mode ExplainYqlRequest_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=Ydb.Scripting.ExplainYqlRequest_Mode" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*ExplainYqlRequest) Descriptor
deprecated
func (*ExplainYqlRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExplainYqlRequest.ProtoReflect.Descriptor instead.
func (*ExplainYqlRequest) GetMode ¶
func (x *ExplainYqlRequest) GetMode() ExplainYqlRequest_Mode
func (*ExplainYqlRequest) GetOperationParams ¶
func (x *ExplainYqlRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*ExplainYqlRequest) GetScript ¶
func (x *ExplainYqlRequest) GetScript() string
func (*ExplainYqlRequest) ProtoMessage ¶
func (*ExplainYqlRequest) ProtoMessage()
func (*ExplainYqlRequest) ProtoReflect ¶
func (x *ExplainYqlRequest) ProtoReflect() protoreflect.Message
func (*ExplainYqlRequest) Reset ¶
func (x *ExplainYqlRequest) Reset()
func (*ExplainYqlRequest) String ¶
func (x *ExplainYqlRequest) String() string
type ExplainYqlRequest_Mode ¶
type ExplainYqlRequest_Mode int32
const ( ExplainYqlRequest_MODE_UNSPECIFIED ExplainYqlRequest_Mode = 0 // PARSE = 1; ExplainYqlRequest_VALIDATE ExplainYqlRequest_Mode = 2 ExplainYqlRequest_PLAN ExplainYqlRequest_Mode = 3 )
func (ExplainYqlRequest_Mode) Descriptor ¶
func (ExplainYqlRequest_Mode) Descriptor() protoreflect.EnumDescriptor
func (ExplainYqlRequest_Mode) Enum ¶
func (x ExplainYqlRequest_Mode) Enum() *ExplainYqlRequest_Mode
func (ExplainYqlRequest_Mode) EnumDescriptor
deprecated
func (ExplainYqlRequest_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExplainYqlRequest_Mode.Descriptor instead.
func (ExplainYqlRequest_Mode) Number ¶
func (x ExplainYqlRequest_Mode) Number() protoreflect.EnumNumber
func (ExplainYqlRequest_Mode) String ¶
func (x ExplainYqlRequest_Mode) String() string
func (ExplainYqlRequest_Mode) Type ¶
func (ExplainYqlRequest_Mode) Type() protoreflect.EnumType
type ExplainYqlResponse ¶
type ExplainYqlResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ExplainYqlResponse) Descriptor
deprecated
func (*ExplainYqlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExplainYqlResponse.ProtoReflect.Descriptor instead.
func (*ExplainYqlResponse) GetOperation ¶
func (x *ExplainYqlResponse) GetOperation() *Ydb_Operations.Operation
func (*ExplainYqlResponse) ProtoMessage ¶
func (*ExplainYqlResponse) ProtoMessage()
func (*ExplainYqlResponse) ProtoReflect ¶
func (x *ExplainYqlResponse) ProtoReflect() protoreflect.Message
func (*ExplainYqlResponse) Reset ¶
func (x *ExplainYqlResponse) Reset()
func (*ExplainYqlResponse) String ¶
func (x *ExplainYqlResponse) String() string
type ExplainYqlResult ¶
type ExplainYqlResult struct { ParametersTypes map[string]*Ydb.Type `` /* 194-byte string literal not displayed */ Plan string `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"` // contains filtered or unexported fields }
func (*ExplainYqlResult) Descriptor
deprecated
func (*ExplainYqlResult) Descriptor() ([]byte, []int)
Deprecated: Use ExplainYqlResult.ProtoReflect.Descriptor instead.
func (*ExplainYqlResult) GetParametersTypes ¶
func (x *ExplainYqlResult) GetParametersTypes() map[string]*Ydb.Type
func (*ExplainYqlResult) GetPlan ¶
func (x *ExplainYqlResult) GetPlan() string
func (*ExplainYqlResult) ProtoMessage ¶
func (*ExplainYqlResult) ProtoMessage()
func (*ExplainYqlResult) ProtoReflect ¶
func (x *ExplainYqlResult) ProtoReflect() protoreflect.Message
func (*ExplainYqlResult) Reset ¶
func (x *ExplainYqlResult) Reset()
func (*ExplainYqlResult) String ¶
func (x *ExplainYqlResult) String() string