gorpcvtgateservice

package
v0.0.0-...-d271c08 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2014 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package gorpcvtgateservice provides to go rpc glue for vtgate

Index

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
}

func (*VTGate) Begin

func (vtg *VTGate) Begin(ctx *rpcproto.Context, noInput *rpc.UnusedRequest, outSession *proto.Session) error

func (*VTGate) Commit

func (vtg *VTGate) Commit(ctx *rpcproto.Context, inSession *proto.Session, noOutput *rpc.UnusedResponse) error

func (*VTGate) ExecuteBatchKeyspaceIds

func (vtg *VTGate) ExecuteBatchKeyspaceIds(ctx *rpcproto.Context, batchQuery *proto.KeyspaceIdBatchQuery, reply *proto.QueryResultList) error

func (*VTGate) ExecuteBatchShard

func (vtg *VTGate) ExecuteBatchShard(ctx *rpcproto.Context, batchQuery *proto.BatchQueryShard, reply *proto.QueryResultList) error

func (*VTGate) ExecuteEntityIds

func (vtg *VTGate) ExecuteEntityIds(ctx *rpcproto.Context, query *proto.EntityIdsQuery, reply *proto.QueryResult) error

func (*VTGate) ExecuteKeyRanges

func (vtg *VTGate) ExecuteKeyRanges(ctx *rpcproto.Context, query *proto.KeyRangeQuery, reply *proto.QueryResult) error

func (*VTGate) ExecuteKeyspaceIds

func (vtg *VTGate) ExecuteKeyspaceIds(ctx *rpcproto.Context, query *proto.KeyspaceIdQuery, reply *proto.QueryResult) error

func (*VTGate) ExecuteShard

func (vtg *VTGate) ExecuteShard(ctx *rpcproto.Context, query *proto.QueryShard, reply *proto.QueryResult) error

func (*VTGate) GetMRSplits

func (vtg *VTGate) GetMRSplits(ctx *rpcproto.Context, req *proto.GetMRSplitsRequest, reply *proto.GetMRSplitsResult) error

func (*VTGate) Rollback

func (vtg *VTGate) Rollback(ctx *rpcproto.Context, inSession *proto.Session, noOutput *rpc.UnusedResponse) error

func (*VTGate) StreamExecuteKeyRanges

func (vtg *VTGate) StreamExecuteKeyRanges(ctx *rpcproto.Context, query *proto.KeyRangeQuery, sendReply func(interface{}) error) error

func (*VTGate) StreamExecuteKeyspaceIds

func (vtg *VTGate) StreamExecuteKeyspaceIds(ctx *rpcproto.Context, query *proto.KeyspaceIdQuery, sendReply func(interface{}) error) error

func (*VTGate) StreamExecuteShard

func (vtg *VTGate) StreamExecuteShard(ctx *rpcproto.Context, query *proto.QueryShard, sendReply func(interface{}) error) error

Jump to

Keyboard shortcuts

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