Documentation ¶
Overview ¶
Package gorpcvtgateservice provides to go rpc glue for vtgate
Index ¶
- type VTGate
- func (vtg *VTGate) Begin(ctx context.Context, noInput *rpc.Unused, outSession *vtgatepb.Session) (err error)
- func (vtg *VTGate) Begin2(ctx context.Context, request *gorpcvtgatecommon.BeginRequest, ...) (err error)
- func (vtg *VTGate) Commit(ctx context.Context, inSession *vtgatepb.Session, noOutput *rpc.Unused) (err error)
- func (vtg *VTGate) Commit2(ctx context.Context, request *gorpcvtgatecommon.CommitRequest, ...) (err error)
- func (vtg *VTGate) Execute(ctx context.Context, request *gorpcvtgatecommon.Query, ...) (err error)
- func (vtg *VTGate) ExecuteBatchKeyspaceIds(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdBatchQuery, ...) (err error)
- func (vtg *VTGate) ExecuteBatchShard(ctx context.Context, request *gorpcvtgatecommon.BatchQueryShard, ...) (err error)
- func (vtg *VTGate) ExecuteEntityIds(ctx context.Context, request *gorpcvtgatecommon.EntityIdsQuery, ...) (err error)
- func (vtg *VTGate) ExecuteKeyRanges(ctx context.Context, request *gorpcvtgatecommon.KeyRangeQuery, ...) (err error)
- func (vtg *VTGate) ExecuteKeyspaceIds(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdQuery, ...) (err error)
- func (vtg *VTGate) ExecuteShard(ctx context.Context, request *gorpcvtgatecommon.QueryShard, ...) (err error)
- func (vtg *VTGate) GetSrvKeyspace(ctx context.Context, request *gorpcvtgatecommon.GetSrvKeyspaceRequest, ...) (err error)
- func (vtg *VTGate) Rollback(ctx context.Context, inSession *vtgatepb.Session, noOutput *rpc.Unused) (err error)
- func (vtg *VTGate) Rollback2(ctx context.Context, request *gorpcvtgatecommon.RollbackRequest, ...) (err error)
- func (vtg *VTGate) SplitQuery(ctx context.Context, request *gorpcvtgatecommon.SplitQueryRequest, ...) (err error)
- func (vtg *VTGate) StreamExecute(ctx context.Context, request *gorpcvtgatecommon.Query, ...) (err error)
- func (vtg *VTGate) StreamExecute2(ctx context.Context, request *gorpcvtgatecommon.Query, ...) (err error)
- func (vtg *VTGate) StreamExecuteKeyRanges(ctx context.Context, request *gorpcvtgatecommon.KeyRangeQuery, ...) (err error)
- func (vtg *VTGate) StreamExecuteKeyRanges2(ctx context.Context, request *gorpcvtgatecommon.KeyRangeQuery, ...) (err error)
- func (vtg *VTGate) StreamExecuteKeyspaceIds(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdQuery, ...) (err error)
- func (vtg *VTGate) StreamExecuteKeyspaceIds2(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdQuery, ...) (err error)
- func (vtg *VTGate) StreamExecuteShard(ctx context.Context, request *gorpcvtgatecommon.QueryShard, ...) (err error)
- func (vtg *VTGate) StreamExecuteShard2(ctx context.Context, request *gorpcvtgatecommon.QueryShard, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VTGate ¶
type VTGate struct {
// contains filtered or unexported fields
}
VTGate is the public structure that is exported via BSON RPC
func (*VTGate) Begin ¶
func (vtg *VTGate) Begin(ctx context.Context, noInput *rpc.Unused, outSession *vtgatepb.Session) (err error)
Begin is the RPC version of vtgateservice.VTGateService method
func (*VTGate) Begin2 ¶
func (vtg *VTGate) Begin2(ctx context.Context, request *gorpcvtgatecommon.BeginRequest, reply *gorpcvtgatecommon.BeginResponse) (err error)
Begin2 is the RPC version of vtgateservice.VTGateService method
func (*VTGate) Commit ¶
func (vtg *VTGate) Commit(ctx context.Context, inSession *vtgatepb.Session, noOutput *rpc.Unused) (err error)
Commit is the RPC version of vtgateservice.VTGateService method
func (*VTGate) Commit2 ¶
func (vtg *VTGate) Commit2(ctx context.Context, request *gorpcvtgatecommon.CommitRequest, reply *gorpcvtgatecommon.CommitResponse) (err error)
Commit2 is the RPC version of vtgateservice.VTGateService method
func (*VTGate) Execute ¶
func (vtg *VTGate) Execute(ctx context.Context, request *gorpcvtgatecommon.Query, reply *gorpcvtgatecommon.QueryResult) (err error)
Execute is the RPC version of vtgateservice.VTGateService method
func (*VTGate) ExecuteBatchKeyspaceIds ¶
func (vtg *VTGate) ExecuteBatchKeyspaceIds(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdBatchQuery, reply *gorpcvtgatecommon.QueryResultList) (err error)
ExecuteBatchKeyspaceIds is the RPC version of vtgateservice.VTGateService method
func (*VTGate) ExecuteBatchShard ¶
func (vtg *VTGate) ExecuteBatchShard(ctx context.Context, request *gorpcvtgatecommon.BatchQueryShard, reply *gorpcvtgatecommon.QueryResultList) (err error)
ExecuteBatchShard is the RPC version of vtgateservice.VTGateService method
func (*VTGate) ExecuteEntityIds ¶
func (vtg *VTGate) ExecuteEntityIds(ctx context.Context, request *gorpcvtgatecommon.EntityIdsQuery, reply *gorpcvtgatecommon.QueryResult) (err error)
ExecuteEntityIds is the RPC version of vtgateservice.VTGateService method
func (*VTGate) ExecuteKeyRanges ¶
func (vtg *VTGate) ExecuteKeyRanges(ctx context.Context, request *gorpcvtgatecommon.KeyRangeQuery, reply *gorpcvtgatecommon.QueryResult) (err error)
ExecuteKeyRanges is the RPC version of vtgateservice.VTGateService method
func (*VTGate) ExecuteKeyspaceIds ¶
func (vtg *VTGate) ExecuteKeyspaceIds(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdQuery, reply *gorpcvtgatecommon.QueryResult) (err error)
ExecuteKeyspaceIds is the RPC version of vtgateservice.VTGateService method
func (*VTGate) ExecuteShard ¶
func (vtg *VTGate) ExecuteShard(ctx context.Context, request *gorpcvtgatecommon.QueryShard, reply *gorpcvtgatecommon.QueryResult) (err error)
ExecuteShard is the RPC version of vtgateservice.VTGateService method
func (*VTGate) GetSrvKeyspace ¶
func (vtg *VTGate) GetSrvKeyspace(ctx context.Context, request *gorpcvtgatecommon.GetSrvKeyspaceRequest, reply *topodatapb.SrvKeyspace) (err error)
GetSrvKeyspace is the RPC version of vtgateservice.VTGateService method
func (*VTGate) Rollback ¶
func (vtg *VTGate) Rollback(ctx context.Context, inSession *vtgatepb.Session, noOutput *rpc.Unused) (err error)
Rollback is the RPC version of vtgateservice.VTGateService method
func (*VTGate) Rollback2 ¶
func (vtg *VTGate) Rollback2(ctx context.Context, request *gorpcvtgatecommon.RollbackRequest, reply *gorpcvtgatecommon.RollbackResponse) (err error)
Rollback2 is the RPC version of vtgateservice.VTGateService method
func (*VTGate) SplitQuery ¶
func (vtg *VTGate) SplitQuery(ctx context.Context, request *gorpcvtgatecommon.SplitQueryRequest, reply *gorpcvtgatecommon.SplitQueryResult) (err error)
SplitQuery is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecute ¶
func (vtg *VTGate) StreamExecute(ctx context.Context, request *gorpcvtgatecommon.Query, sendReply func(interface{}) error) (err error)
StreamExecute is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecute2 ¶
func (vtg *VTGate) StreamExecute2(ctx context.Context, request *gorpcvtgatecommon.Query, sendReply func(interface{}) error) (err error)
StreamExecute2 is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecuteKeyRanges ¶
func (vtg *VTGate) StreamExecuteKeyRanges(ctx context.Context, request *gorpcvtgatecommon.KeyRangeQuery, sendReply func(interface{}) error) (err error)
StreamExecuteKeyRanges is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecuteKeyRanges2 ¶
func (vtg *VTGate) StreamExecuteKeyRanges2(ctx context.Context, request *gorpcvtgatecommon.KeyRangeQuery, sendReply func(interface{}) error) (err error)
StreamExecuteKeyRanges2 is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecuteKeyspaceIds ¶
func (vtg *VTGate) StreamExecuteKeyspaceIds(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdQuery, sendReply func(interface{}) error) (err error)
StreamExecuteKeyspaceIds is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecuteKeyspaceIds2 ¶
func (vtg *VTGate) StreamExecuteKeyspaceIds2(ctx context.Context, request *gorpcvtgatecommon.KeyspaceIdQuery, sendReply func(interface{}) error) (err error)
StreamExecuteKeyspaceIds2 is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecuteShard ¶
func (vtg *VTGate) StreamExecuteShard(ctx context.Context, request *gorpcvtgatecommon.QueryShard, sendReply func(interface{}) error) (err error)
StreamExecuteShard is the RPC version of vtgateservice.VTGateService method
func (*VTGate) StreamExecuteShard2 ¶
func (vtg *VTGate) StreamExecuteShard2(ctx context.Context, request *gorpcvtgatecommon.QueryShard, sendReply func(interface{}) error) (err error)
StreamExecuteShard2 is the RPC version of vtgateservice.VTGateService method