Documentation ¶
Overview ¶
This file is generated by protoc-gen-persist Source File: tests/spanner/basic/basic_example.proto DO NOT EDIT !
Index ¶
- Variables
- func RegisterExtraSrvServer(s *grpc.Server, srv ExtraSrvServer)
- func RegisterMySpannerServer(s *grpc.Server, srv MySpannerServer)
- type DefaultHooks_ExtraSrv
- type DefaultHooks_MySpanner
- func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksAfterHook(context.Context, *test.ExampleTable, *test.NumRows) error
- func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.NumRows, error)
- func (*DefaultHooks_MySpanner) ServerStreamWithHooksAfterHook(context.Context, *test.Name, *test.ExampleTable) error
- func (*DefaultHooks_MySpanner) ServerStreamWithHooksBeforeHook(context.Context, *test.Name) (*test.ExampleTable, error)
- func (*DefaultHooks_MySpanner) UniarySelectWithHooksAfterHook(context.Context, *test.ExampleTable, *test.ExampleTable) error
- func (*DefaultHooks_MySpanner) UniarySelectWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.ExampleTable, error)
- type DefaultMappingImpl_MySpanner_TimestampTimestamp
- func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerScan(*spanner.GenericColumnValue) error
- func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerValue() (interface{}, error)
- func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) ToProto(**timestamp.Timestamp) error
- func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) ToSpanner(*timestamp.Timestamp) persist.SpannerScanValuer
- type DefaultTypeMappings_ExtraSrv
- type DefaultTypeMappings_MySpanner
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type ExtraSrvClient
- type ExtraSrvServer
- type HasTimestamp
- func (*HasTimestamp) Descriptor() ([]byte, []int)
- func (m *HasTimestamp) GetSome() *Something
- func (m *HasTimestamp) GetSomes() []*Something
- func (m *HasTimestamp) GetStr() string
- func (m *HasTimestamp) GetStrs() []string
- func (m *HasTimestamp) GetTable() *test.ExampleTable
- func (m *HasTimestamp) GetTables() []*test.ExampleTable
- func (m *HasTimestamp) GetTime() *timestamp.Timestamp
- func (m *HasTimestamp) GetTimes() []*timestamp.Timestamp
- func (*HasTimestamp) ProtoMessage()
- func (m *HasTimestamp) Reset()
- func (m *HasTimestamp) String() string
- func (m *HasTimestamp) XXX_DiscardUnknown()
- func (m *HasTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HasTimestamp) XXX_Merge(src proto.Message)
- func (m *HasTimestamp) XXX_Size() int
- func (m *HasTimestamp) XXX_Unmarshal(b []byte) error
- type Hooks_ExtraSrv
- type Hooks_MySpanner
- type Impl_ExtraSrv
- type Impl_MySpanner
- func (this *Impl_MySpanner) ClientStreamDelete(stream MySpanner_ClientStreamDeleteServer) error
- func (this *Impl_MySpanner) ClientStreamDeleteTx(stream MySpanner_ClientStreamDeleteServer) error
- func (this *Impl_MySpanner) ClientStreamInsert(stream MySpanner_ClientStreamInsertServer) error
- func (this *Impl_MySpanner) ClientStreamInsertTx(stream MySpanner_ClientStreamInsertServer) error
- func (this *Impl_MySpanner) ClientStreamUpdateWithHooks(stream MySpanner_ClientStreamUpdateWithHooksServer) error
- func (this *Impl_MySpanner) ClientStreamUpdateWithHooksTx(stream MySpanner_ClientStreamUpdateWithHooksServer) error
- func (this *Impl_MySpanner) ServerStream(req *test.Name, stream MySpanner_ServerStreamServer) error
- func (this *Impl_MySpanner) ServerStreamTx(req *test.Name, stream MySpanner_ServerStreamServer, ...) error
- func (this *Impl_MySpanner) ServerStreamWithHooks(req *test.Name, stream MySpanner_ServerStreamWithHooksServer) error
- func (this *Impl_MySpanner) ServerStreamWithHooksTx(req *test.Name, stream MySpanner_ServerStreamWithHooksServer, ...) error
- func (this *Impl_MySpanner) UniaryDeleteRange(ctx context.Context, req *test.ExampleTableRange) (*test.ExampleTable, error)
- func (this *Impl_MySpanner) UniaryInsert(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
- func (this *Impl_MySpanner) UniarySelect(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
- func (this *Impl_MySpanner) UniarySelectWithDirectives(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
- func (this *Impl_MySpanner) UniarySelectWithHooks(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
- func (this *Impl_MySpanner) UniaryUpdate(ctx context.Context, req *test.ExampleTable) (*test.PartialTable, error)
- type In_ExtraSrv_Extra
- type In_MySpanner_Delete
- type In_MySpanner_DeleteId
- type In_MySpanner_Insert
- type In_MySpanner_Insert_3
- type In_MySpanner_Select
- type In_MySpanner_SelectAll
- type In_MySpanner_SelectIndex
- type In_MySpanner_SetNameAsdf
- type In_MySpanner_Update
- type Iter_ExtraSrv_Extra
- func (this *Iter_ExtraSrv_Extra) Each(fun func(*Row_ExtraSrv_Extra) error) error
- func (this *Iter_ExtraSrv_Extra) IterInTypeEmpty()
- func (this *Iter_ExtraSrv_Extra) IterOutTypeHasTimestamp()
- func (this *Iter_ExtraSrv_Extra) Next() (*Row_ExtraSrv_Extra, bool)
- func (this *Iter_ExtraSrv_Extra) One() *Row_ExtraSrv_Extra
- func (this *Iter_ExtraSrv_Extra) Slice() []*Row_ExtraSrv_Extra
- func (this *Iter_ExtraSrv_Extra) Zero() error
- type Iter_MySpanner_Delete
- func (this *Iter_MySpanner_Delete) Each(fun func(*Row_MySpanner_Delete) error) error
- func (this *Iter_MySpanner_Delete) IterInTypeTestExampleTableRange()
- func (this *Iter_MySpanner_Delete) IterOutTypeEmpty()
- func (this *Iter_MySpanner_Delete) Next() (*Row_MySpanner_Delete, bool)
- func (this *Iter_MySpanner_Delete) One() *Row_MySpanner_Delete
- func (this *Iter_MySpanner_Delete) Slice() []*Row_MySpanner_Delete
- func (this *Iter_MySpanner_Delete) Zero() error
- type Iter_MySpanner_DeleteId
- func (this *Iter_MySpanner_DeleteId) Each(fun func(*Row_MySpanner_DeleteId) error) error
- func (this *Iter_MySpanner_DeleteId) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_DeleteId) IterOutTypeEmpty()
- func (this *Iter_MySpanner_DeleteId) Next() (*Row_MySpanner_DeleteId, bool)
- func (this *Iter_MySpanner_DeleteId) One() *Row_MySpanner_DeleteId
- func (this *Iter_MySpanner_DeleteId) Slice() []*Row_MySpanner_DeleteId
- func (this *Iter_MySpanner_DeleteId) Zero() error
- type Iter_MySpanner_Insert
- func (this *Iter_MySpanner_Insert) Each(fun func(*Row_MySpanner_Insert) error) error
- func (this *Iter_MySpanner_Insert) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_Insert) IterOutTypeEmpty()
- func (this *Iter_MySpanner_Insert) Next() (*Row_MySpanner_Insert, bool)
- func (this *Iter_MySpanner_Insert) One() *Row_MySpanner_Insert
- func (this *Iter_MySpanner_Insert) Slice() []*Row_MySpanner_Insert
- func (this *Iter_MySpanner_Insert) Zero() error
- type Iter_MySpanner_Insert_3
- func (this *Iter_MySpanner_Insert_3) Each(fun func(*Row_MySpanner_Insert_3) error) error
- func (this *Iter_MySpanner_Insert_3) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_Insert_3) IterOutTypeEmpty()
- func (this *Iter_MySpanner_Insert_3) Next() (*Row_MySpanner_Insert_3, bool)
- func (this *Iter_MySpanner_Insert_3) One() *Row_MySpanner_Insert_3
- func (this *Iter_MySpanner_Insert_3) Slice() []*Row_MySpanner_Insert_3
- func (this *Iter_MySpanner_Insert_3) Zero() error
- type Iter_MySpanner_Select
- func (this *Iter_MySpanner_Select) Each(fun func(*Row_MySpanner_Select) error) error
- func (this *Iter_MySpanner_Select) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_Select) IterOutTypeTestExampleTable()
- func (this *Iter_MySpanner_Select) Next() (*Row_MySpanner_Select, bool)
- func (this *Iter_MySpanner_Select) One() *Row_MySpanner_Select
- func (this *Iter_MySpanner_Select) Slice() []*Row_MySpanner_Select
- func (this *Iter_MySpanner_Select) Zero() error
- type Iter_MySpanner_SelectAll
- func (this *Iter_MySpanner_SelectAll) Each(fun func(*Row_MySpanner_SelectAll) error) error
- func (this *Iter_MySpanner_SelectAll) IterInTypeEmpty()
- func (this *Iter_MySpanner_SelectAll) IterOutTypeTestExampleTable()
- func (this *Iter_MySpanner_SelectAll) Next() (*Row_MySpanner_SelectAll, bool)
- func (this *Iter_MySpanner_SelectAll) One() *Row_MySpanner_SelectAll
- func (this *Iter_MySpanner_SelectAll) Slice() []*Row_MySpanner_SelectAll
- func (this *Iter_MySpanner_SelectAll) Zero() error
- type Iter_MySpanner_SelectIndex
- func (this *Iter_MySpanner_SelectIndex) Each(fun func(*Row_MySpanner_SelectIndex) error) error
- func (this *Iter_MySpanner_SelectIndex) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_SelectIndex) IterOutTypeTestExampleTable()
- func (this *Iter_MySpanner_SelectIndex) Next() (*Row_MySpanner_SelectIndex, bool)
- func (this *Iter_MySpanner_SelectIndex) One() *Row_MySpanner_SelectIndex
- func (this *Iter_MySpanner_SelectIndex) Slice() []*Row_MySpanner_SelectIndex
- func (this *Iter_MySpanner_SelectIndex) Zero() error
- type Iter_MySpanner_SetNameAsdf
- func (this *Iter_MySpanner_SetNameAsdf) Each(fun func(*Row_MySpanner_SetNameAsdf) error) error
- func (this *Iter_MySpanner_SetNameAsdf) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_SetNameAsdf) IterOutTypeEmpty()
- func (this *Iter_MySpanner_SetNameAsdf) Next() (*Row_MySpanner_SetNameAsdf, bool)
- func (this *Iter_MySpanner_SetNameAsdf) One() *Row_MySpanner_SetNameAsdf
- func (this *Iter_MySpanner_SetNameAsdf) Slice() []*Row_MySpanner_SetNameAsdf
- func (this *Iter_MySpanner_SetNameAsdf) Zero() error
- type Iter_MySpanner_Update
- func (this *Iter_MySpanner_Update) Each(fun func(*Row_MySpanner_Update) error) error
- func (this *Iter_MySpanner_Update) IterInTypeTestExampleTable()
- func (this *Iter_MySpanner_Update) IterOutTypeEmpty()
- func (this *Iter_MySpanner_Update) Next() (*Row_MySpanner_Update, bool)
- func (this *Iter_MySpanner_Update) One() *Row_MySpanner_Update
- func (this *Iter_MySpanner_Update) Slice() []*Row_MySpanner_Update
- func (this *Iter_MySpanner_Update) Zero() error
- type MappedEnum
- type MappingImpl_MySpanner_TimestampTimestamp
- type MyEnum
- type MyMappedEnum
- type MySpannerClient
- type MySpannerServer
- type MySpanner_ClientStreamDeleteClient
- type MySpanner_ClientStreamDeleteServer
- type MySpanner_ClientStreamInsertClient
- type MySpanner_ClientStreamInsertServer
- type MySpanner_ClientStreamUpdateWithHooksClient
- type MySpanner_ClientStreamUpdateWithHooksServer
- type MySpanner_ServerStreamClient
- type MySpanner_ServerStreamServer
- type MySpanner_ServerStreamWithHooksClient
- type MySpanner_ServerStreamWithHooksServer
- type Opts_ExtraSrv
- type Opts_MySpanner
- type Out_ExtraSrv_Extra
- type Out_MySpanner_Delete
- type Out_MySpanner_DeleteId
- type Out_MySpanner_Insert
- type Out_MySpanner_Insert_3
- type Out_MySpanner_Select
- type Out_MySpanner_SelectAll
- type Out_MySpanner_SelectIndex
- type Out_MySpanner_SetNameAsdf
- type Out_MySpanner_Update
- type Queries_ExtraSrv
- type Queries_MySpanner
- func (this *Queries_MySpanner) Delete(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Delete
- func (this *Queries_MySpanner) DeleteId(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_DeleteId
- func (this *Queries_MySpanner) Insert(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Insert
- func (this *Queries_MySpanner) Insert_3(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Insert_3
- func (this *Queries_MySpanner) Select(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Select
- func (this *Queries_MySpanner) SelectAll(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_SelectAll
- func (this *Queries_MySpanner) SelectIndex(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_SelectIndex
- func (this *Queries_MySpanner) SetNameAsdf(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_SetNameAsdf
- func (this *Queries_MySpanner) Update(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Update
- type Query_ExtraSrv_Extra
- type Query_MySpanner_Delete
- type Query_MySpanner_DeleteId
- type Query_MySpanner_Insert
- type Query_MySpanner_Insert_3
- type Query_MySpanner_Select
- type Query_MySpanner_SelectAll
- type Query_MySpanner_SelectIndex
- type Query_MySpanner_SetNameAsdf
- type Query_MySpanner_Update
- type RestOfHandlers_ExtraSrv
- type RestOfHandlers_MySpanner
- type Result
- type Row_ExtraSrv_Extra
- type Row_MySpanner_Delete
- type Row_MySpanner_DeleteId
- type Row_MySpanner_Insert
- type Row_MySpanner_Insert_3
- type Row_MySpanner_Select
- type Row_MySpanner_SelectAll
- type Row_MySpanner_SelectIndex
- type Row_MySpanner_SetNameAsdf
- type Row_MySpanner_Update
- type Something
- func (*Something) Descriptor() ([]byte, []int)
- func (m *Something) GetMappedenum() MappedEnum
- func (m *Something) GetMyenum() MyEnum
- func (m *Something) GetThing() *Something_SomethingElse
- func (*Something) ProtoMessage()
- func (m *Something) Reset()
- func (m *Something) String() string
- func (m *Something) XXX_DiscardUnknown()
- func (m *Something) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Something) XXX_Merge(src proto.Message)
- func (m *Something) XXX_Size() int
- func (m *Something) XXX_Unmarshal(b []byte) error
- type Something_SomethingElse
- func (*Something_SomethingElse) Descriptor() ([]byte, []int)
- func (m *Something_SomethingElse) GetThing() string
- func (*Something_SomethingElse) ProtoMessage()
- func (m *Something_SomethingElse) Reset()
- func (m *Something_SomethingElse) String() string
- func (m *Something_SomethingElse) XXX_DiscardUnknown()
- func (m *Something_SomethingElse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Something_SomethingElse) XXX_Merge(src proto.Message)
- func (m *Something_SomethingElse) XXX_Size() int
- func (m *Something_SomethingElse) XXX_Unmarshal(b []byte) error
- type SpannerResult
- type TypeMappings_ExtraSrv
- type TypeMappings_MySpanner
Constants ¶
This section is empty.
Variables ¶
var MappedEnum_name = map[int32]string{
0: "OPT_0",
1: "OPT_1",
}
var MappedEnum_value = map[string]int32{
"OPT_0": 0,
"OPT_1": 1,
}
var MyEnum_name = map[int32]string{
0: "OPTION_0",
1: "OPTION_1",
}
var MyEnum_value = map[string]int32{
"OPTION_0": 0,
"OPTION_1": 1,
}
Functions ¶
func RegisterExtraSrvServer ¶
func RegisterExtraSrvServer(s *grpc.Server, srv ExtraSrvServer)
func RegisterMySpannerServer ¶
func RegisterMySpannerServer(s *grpc.Server, srv MySpannerServer)
Types ¶
type DefaultHooks_ExtraSrv ¶
type DefaultHooks_ExtraSrv struct{}
type DefaultHooks_MySpanner ¶
type DefaultHooks_MySpanner struct{}
func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksAfterHook ¶
func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksAfterHook(context.Context, *test.ExampleTable, *test.NumRows) error
func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksBeforeHook ¶
func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.NumRows, error)
func (*DefaultHooks_MySpanner) ServerStreamWithHooksAfterHook ¶
func (*DefaultHooks_MySpanner) ServerStreamWithHooksAfterHook(context.Context, *test.Name, *test.ExampleTable) error
func (*DefaultHooks_MySpanner) ServerStreamWithHooksBeforeHook ¶
func (*DefaultHooks_MySpanner) ServerStreamWithHooksBeforeHook(context.Context, *test.Name) (*test.ExampleTable, error)
func (*DefaultHooks_MySpanner) UniarySelectWithHooksAfterHook ¶
func (*DefaultHooks_MySpanner) UniarySelectWithHooksAfterHook(context.Context, *test.ExampleTable, *test.ExampleTable) error
func (*DefaultHooks_MySpanner) UniarySelectWithHooksBeforeHook ¶
func (*DefaultHooks_MySpanner) UniarySelectWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.ExampleTable, error)
type DefaultMappingImpl_MySpanner_TimestampTimestamp ¶
type DefaultMappingImpl_MySpanner_TimestampTimestamp struct{}
func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerScan ¶
func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerScan(*spanner.GenericColumnValue) error
func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerValue ¶
func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerValue() (interface{}, error)
func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) ToProto ¶
func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) ToProto(**timestamp.Timestamp) error
func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) ToSpanner ¶
func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) ToSpanner(*timestamp.Timestamp) persist.SpannerScanValuer
type DefaultTypeMappings_ExtraSrv ¶
type DefaultTypeMappings_ExtraSrv struct{}
type DefaultTypeMappings_MySpanner ¶
type DefaultTypeMappings_MySpanner struct{}
func (*DefaultTypeMappings_MySpanner) TimestampTimestamp ¶
func (this *DefaultTypeMappings_MySpanner) TimestampTimestamp() MappingImpl_MySpanner_TimestampTimestamp
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type ExtraSrvClient ¶
type ExtraSrvClient interface { ExtraUnary(ctx context.Context, in *test.NumRows, opts ...grpc.CallOption) (*test.ExampleTable, error) ExtraMethod(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error) }
ExtraSrvClient is the client API for ExtraSrv service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExtraSrvClient ¶
func NewExtraSrvClient(cc *grpc.ClientConn) ExtraSrvClient
type ExtraSrvServer ¶
type ExtraSrvServer interface { ExtraUnary(context.Context, *test.NumRows) (*test.ExampleTable, error) ExtraMethod(context.Context, *test.ExampleTable) (*test.ExampleTable, error) }
ExtraSrvServer is the server API for ExtraSrv service.
type HasTimestamp ¶
type HasTimestamp struct { Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Some *Something `protobuf:"bytes,2,opt,name=some,proto3" json:"some,omitempty"` Str string `protobuf:"bytes,3,opt,name=str,proto3" json:"str,omitempty"` Table *test.ExampleTable `protobuf:"bytes,4,opt,name=table,proto3" json:"table,omitempty"` Strs []string `protobuf:"bytes,5,rep,name=strs,proto3" json:"strs,omitempty"` Tables []*test.ExampleTable `protobuf:"bytes,6,rep,name=tables,proto3" json:"tables,omitempty"` Somes []*Something `protobuf:"bytes,7,rep,name=somes,proto3" json:"somes,omitempty"` Times []*timestamp.Timestamp `protobuf:"bytes,8,rep,name=times,proto3" json:"times,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasTimestamp) Descriptor ¶
func (*HasTimestamp) Descriptor() ([]byte, []int)
func (*HasTimestamp) GetSome ¶
func (m *HasTimestamp) GetSome() *Something
func (*HasTimestamp) GetSomes ¶
func (m *HasTimestamp) GetSomes() []*Something
func (*HasTimestamp) GetStr ¶
func (m *HasTimestamp) GetStr() string
func (*HasTimestamp) GetStrs ¶
func (m *HasTimestamp) GetStrs() []string
func (*HasTimestamp) GetTable ¶
func (m *HasTimestamp) GetTable() *test.ExampleTable
func (*HasTimestamp) GetTables ¶
func (m *HasTimestamp) GetTables() []*test.ExampleTable
func (*HasTimestamp) GetTime ¶
func (m *HasTimestamp) GetTime() *timestamp.Timestamp
func (*HasTimestamp) GetTimes ¶
func (m *HasTimestamp) GetTimes() []*timestamp.Timestamp
func (*HasTimestamp) ProtoMessage ¶
func (*HasTimestamp) ProtoMessage()
func (*HasTimestamp) Reset ¶
func (m *HasTimestamp) Reset()
func (*HasTimestamp) String ¶
func (m *HasTimestamp) String() string
func (*HasTimestamp) XXX_DiscardUnknown ¶
func (m *HasTimestamp) XXX_DiscardUnknown()
func (*HasTimestamp) XXX_Marshal ¶
func (m *HasTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasTimestamp) XXX_Merge ¶
func (m *HasTimestamp) XXX_Merge(src proto.Message)
func (*HasTimestamp) XXX_Size ¶
func (m *HasTimestamp) XXX_Size() int
func (*HasTimestamp) XXX_Unmarshal ¶
func (m *HasTimestamp) XXX_Unmarshal(b []byte) error
type Hooks_ExtraSrv ¶
type Hooks_ExtraSrv interface { }
type Hooks_MySpanner ¶
type Hooks_MySpanner interface { UniarySelectWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.ExampleTable, error) ServerStreamWithHooksBeforeHook(context.Context, *test.Name) (*test.ExampleTable, error) ClientStreamUpdateWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.NumRows, error) UniarySelectWithHooksAfterHook(context.Context, *test.ExampleTable, *test.ExampleTable) error ServerStreamWithHooksAfterHook(context.Context, *test.Name, *test.ExampleTable) error ClientStreamUpdateWithHooksAfterHook(context.Context, *test.ExampleTable, *test.NumRows) error }
type Impl_ExtraSrv ¶
type Impl_ExtraSrv struct { QUERIES *Queries_ExtraSrv HANDLERS RestOfHandlers_ExtraSrv DB *spanner.Client // contains filtered or unexported fields }
func ImplExtraSrv ¶
func ImplExtraSrv(db *spanner.Client, handlers RestOfHandlers_ExtraSrv, opts ...Opts_ExtraSrv) *Impl_ExtraSrv
func (*Impl_ExtraSrv) ExtraMethod ¶
func (this *Impl_ExtraSrv) ExtraMethod(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
func (*Impl_ExtraSrv) ExtraUnary ¶
func (this *Impl_ExtraSrv) ExtraUnary(ctx context.Context, req *test.NumRows) (*test.ExampleTable, error)
type Impl_MySpanner ¶
type Impl_MySpanner struct { QUERIES *Queries_MySpanner HANDLERS RestOfHandlers_MySpanner DB *spanner.Client // contains filtered or unexported fields }
func ImplMySpanner ¶
func ImplMySpanner(db *spanner.Client, handlers RestOfHandlers_MySpanner, opts ...Opts_MySpanner) *Impl_MySpanner
func (*Impl_MySpanner) ClientStreamDelete ¶
func (this *Impl_MySpanner) ClientStreamDelete(stream MySpanner_ClientStreamDeleteServer) error
func (*Impl_MySpanner) ClientStreamDeleteTx ¶
func (this *Impl_MySpanner) ClientStreamDeleteTx(stream MySpanner_ClientStreamDeleteServer) error
func (*Impl_MySpanner) ClientStreamInsert ¶
func (this *Impl_MySpanner) ClientStreamInsert(stream MySpanner_ClientStreamInsertServer) error
func (*Impl_MySpanner) ClientStreamInsertTx ¶
func (this *Impl_MySpanner) ClientStreamInsertTx(stream MySpanner_ClientStreamInsertServer) error
func (*Impl_MySpanner) ClientStreamUpdateWithHooks ¶
func (this *Impl_MySpanner) ClientStreamUpdateWithHooks(stream MySpanner_ClientStreamUpdateWithHooksServer) error
func (*Impl_MySpanner) ClientStreamUpdateWithHooksTx ¶
func (this *Impl_MySpanner) ClientStreamUpdateWithHooksTx(stream MySpanner_ClientStreamUpdateWithHooksServer) error
func (*Impl_MySpanner) ServerStream ¶
func (this *Impl_MySpanner) ServerStream(req *test.Name, stream MySpanner_ServerStreamServer) error
func (*Impl_MySpanner) ServerStreamTx ¶
func (this *Impl_MySpanner) ServerStreamTx(req *test.Name, stream MySpanner_ServerStreamServer, tx persist.SpannerRunnable) error
func (*Impl_MySpanner) ServerStreamWithHooks ¶
func (this *Impl_MySpanner) ServerStreamWithHooks(req *test.Name, stream MySpanner_ServerStreamWithHooksServer) error
func (*Impl_MySpanner) ServerStreamWithHooksTx ¶
func (this *Impl_MySpanner) ServerStreamWithHooksTx(req *test.Name, stream MySpanner_ServerStreamWithHooksServer, tx persist.SpannerRunnable) error
func (*Impl_MySpanner) UniaryDeleteRange ¶
func (this *Impl_MySpanner) UniaryDeleteRange(ctx context.Context, req *test.ExampleTableRange) (*test.ExampleTable, error)
func (*Impl_MySpanner) UniaryInsert ¶
func (this *Impl_MySpanner) UniaryInsert(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
func (*Impl_MySpanner) UniarySelect ¶
func (this *Impl_MySpanner) UniarySelect(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
func (*Impl_MySpanner) UniarySelectWithDirectives ¶
func (this *Impl_MySpanner) UniarySelectWithDirectives(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
func (*Impl_MySpanner) UniarySelectWithHooks ¶
func (this *Impl_MySpanner) UniarySelectWithHooks(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)
func (*Impl_MySpanner) UniaryUpdate ¶
func (this *Impl_MySpanner) UniaryUpdate(ctx context.Context, req *test.ExampleTable) (*test.PartialTable, error)
type In_ExtraSrv_Extra ¶
type In_ExtraSrv_Extra interface { }
type In_MySpanner_Delete ¶
type In_MySpanner_DeleteId ¶
type In_MySpanner_Insert ¶
type In_MySpanner_Insert_3 ¶
type In_MySpanner_Select ¶
type In_MySpanner_SelectAll ¶
type In_MySpanner_SelectAll interface { }
type In_MySpanner_Update ¶
type Iter_ExtraSrv_Extra ¶
type Iter_ExtraSrv_Extra struct {
// contains filtered or unexported fields
}
func (*Iter_ExtraSrv_Extra) Each ¶
func (this *Iter_ExtraSrv_Extra) Each(fun func(*Row_ExtraSrv_Extra) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_ExtraSrv_Extra) IterInTypeEmpty ¶
func (this *Iter_ExtraSrv_Extra) IterInTypeEmpty()
func (*Iter_ExtraSrv_Extra) IterOutTypeHasTimestamp ¶
func (this *Iter_ExtraSrv_Extra) IterOutTypeHasTimestamp()
func (*Iter_ExtraSrv_Extra) Next ¶
func (this *Iter_ExtraSrv_Extra) Next() (*Row_ExtraSrv_Extra, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_ExtraSrv_Extra) One ¶
func (this *Iter_ExtraSrv_Extra) One() *Row_ExtraSrv_Extra
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_ExtraSrv_Extra) Slice ¶
func (this *Iter_ExtraSrv_Extra) Slice() []*Row_ExtraSrv_Extra
Slice returns all rows found in the iterator as a Slice.
func (*Iter_ExtraSrv_Extra) Zero ¶
func (this *Iter_ExtraSrv_Extra) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_Delete ¶
type Iter_MySpanner_Delete struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_Delete) Each ¶
func (this *Iter_MySpanner_Delete) Each(fun func(*Row_MySpanner_Delete) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_Delete) IterInTypeTestExampleTableRange ¶
func (this *Iter_MySpanner_Delete) IterInTypeTestExampleTableRange()
func (*Iter_MySpanner_Delete) IterOutTypeEmpty ¶
func (this *Iter_MySpanner_Delete) IterOutTypeEmpty()
func (*Iter_MySpanner_Delete) Next ¶
func (this *Iter_MySpanner_Delete) Next() (*Row_MySpanner_Delete, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_Delete) One ¶
func (this *Iter_MySpanner_Delete) One() *Row_MySpanner_Delete
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_Delete) Slice ¶
func (this *Iter_MySpanner_Delete) Slice() []*Row_MySpanner_Delete
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_Delete) Zero ¶
func (this *Iter_MySpanner_Delete) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_DeleteId ¶
type Iter_MySpanner_DeleteId struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_DeleteId) Each ¶
func (this *Iter_MySpanner_DeleteId) Each(fun func(*Row_MySpanner_DeleteId) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_DeleteId) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_DeleteId) IterInTypeTestExampleTable()
func (*Iter_MySpanner_DeleteId) IterOutTypeEmpty ¶
func (this *Iter_MySpanner_DeleteId) IterOutTypeEmpty()
func (*Iter_MySpanner_DeleteId) Next ¶
func (this *Iter_MySpanner_DeleteId) Next() (*Row_MySpanner_DeleteId, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_DeleteId) One ¶
func (this *Iter_MySpanner_DeleteId) One() *Row_MySpanner_DeleteId
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_DeleteId) Slice ¶
func (this *Iter_MySpanner_DeleteId) Slice() []*Row_MySpanner_DeleteId
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_DeleteId) Zero ¶
func (this *Iter_MySpanner_DeleteId) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_Insert ¶
type Iter_MySpanner_Insert struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_Insert) Each ¶
func (this *Iter_MySpanner_Insert) Each(fun func(*Row_MySpanner_Insert) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_Insert) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_Insert) IterInTypeTestExampleTable()
func (*Iter_MySpanner_Insert) IterOutTypeEmpty ¶
func (this *Iter_MySpanner_Insert) IterOutTypeEmpty()
func (*Iter_MySpanner_Insert) Next ¶
func (this *Iter_MySpanner_Insert) Next() (*Row_MySpanner_Insert, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_Insert) One ¶
func (this *Iter_MySpanner_Insert) One() *Row_MySpanner_Insert
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_Insert) Slice ¶
func (this *Iter_MySpanner_Insert) Slice() []*Row_MySpanner_Insert
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_Insert) Zero ¶
func (this *Iter_MySpanner_Insert) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_Insert_3 ¶
type Iter_MySpanner_Insert_3 struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_Insert_3) Each ¶
func (this *Iter_MySpanner_Insert_3) Each(fun func(*Row_MySpanner_Insert_3) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_Insert_3) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_Insert_3) IterInTypeTestExampleTable()
func (*Iter_MySpanner_Insert_3) IterOutTypeEmpty ¶
func (this *Iter_MySpanner_Insert_3) IterOutTypeEmpty()
func (*Iter_MySpanner_Insert_3) Next ¶
func (this *Iter_MySpanner_Insert_3) Next() (*Row_MySpanner_Insert_3, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_Insert_3) One ¶
func (this *Iter_MySpanner_Insert_3) One() *Row_MySpanner_Insert_3
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_Insert_3) Slice ¶
func (this *Iter_MySpanner_Insert_3) Slice() []*Row_MySpanner_Insert_3
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_Insert_3) Zero ¶
func (this *Iter_MySpanner_Insert_3) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_Select ¶
type Iter_MySpanner_Select struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_Select) Each ¶
func (this *Iter_MySpanner_Select) Each(fun func(*Row_MySpanner_Select) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_Select) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_Select) IterInTypeTestExampleTable()
func (*Iter_MySpanner_Select) IterOutTypeTestExampleTable ¶
func (this *Iter_MySpanner_Select) IterOutTypeTestExampleTable()
func (*Iter_MySpanner_Select) Next ¶
func (this *Iter_MySpanner_Select) Next() (*Row_MySpanner_Select, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_Select) One ¶
func (this *Iter_MySpanner_Select) One() *Row_MySpanner_Select
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_Select) Slice ¶
func (this *Iter_MySpanner_Select) Slice() []*Row_MySpanner_Select
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_Select) Zero ¶
func (this *Iter_MySpanner_Select) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_SelectAll ¶
type Iter_MySpanner_SelectAll struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_SelectAll) Each ¶
func (this *Iter_MySpanner_SelectAll) Each(fun func(*Row_MySpanner_SelectAll) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_SelectAll) IterInTypeEmpty ¶
func (this *Iter_MySpanner_SelectAll) IterInTypeEmpty()
func (*Iter_MySpanner_SelectAll) IterOutTypeTestExampleTable ¶
func (this *Iter_MySpanner_SelectAll) IterOutTypeTestExampleTable()
func (*Iter_MySpanner_SelectAll) Next ¶
func (this *Iter_MySpanner_SelectAll) Next() (*Row_MySpanner_SelectAll, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_SelectAll) One ¶
func (this *Iter_MySpanner_SelectAll) One() *Row_MySpanner_SelectAll
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_SelectAll) Slice ¶
func (this *Iter_MySpanner_SelectAll) Slice() []*Row_MySpanner_SelectAll
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_SelectAll) Zero ¶
func (this *Iter_MySpanner_SelectAll) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_SelectIndex ¶
type Iter_MySpanner_SelectIndex struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_SelectIndex) Each ¶
func (this *Iter_MySpanner_SelectIndex) Each(fun func(*Row_MySpanner_SelectIndex) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_SelectIndex) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_SelectIndex) IterInTypeTestExampleTable()
func (*Iter_MySpanner_SelectIndex) IterOutTypeTestExampleTable ¶
func (this *Iter_MySpanner_SelectIndex) IterOutTypeTestExampleTable()
func (*Iter_MySpanner_SelectIndex) Next ¶
func (this *Iter_MySpanner_SelectIndex) Next() (*Row_MySpanner_SelectIndex, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_SelectIndex) One ¶
func (this *Iter_MySpanner_SelectIndex) One() *Row_MySpanner_SelectIndex
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_SelectIndex) Slice ¶
func (this *Iter_MySpanner_SelectIndex) Slice() []*Row_MySpanner_SelectIndex
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_SelectIndex) Zero ¶
func (this *Iter_MySpanner_SelectIndex) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_SetNameAsdf ¶
type Iter_MySpanner_SetNameAsdf struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_SetNameAsdf) Each ¶
func (this *Iter_MySpanner_SetNameAsdf) Each(fun func(*Row_MySpanner_SetNameAsdf) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_SetNameAsdf) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_SetNameAsdf) IterInTypeTestExampleTable()
func (*Iter_MySpanner_SetNameAsdf) IterOutTypeEmpty ¶
func (this *Iter_MySpanner_SetNameAsdf) IterOutTypeEmpty()
func (*Iter_MySpanner_SetNameAsdf) Next ¶
func (this *Iter_MySpanner_SetNameAsdf) Next() (*Row_MySpanner_SetNameAsdf, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_SetNameAsdf) One ¶
func (this *Iter_MySpanner_SetNameAsdf) One() *Row_MySpanner_SetNameAsdf
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_SetNameAsdf) Slice ¶
func (this *Iter_MySpanner_SetNameAsdf) Slice() []*Row_MySpanner_SetNameAsdf
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_SetNameAsdf) Zero ¶
func (this *Iter_MySpanner_SetNameAsdf) Zero() error
Zero returns an error if there were any rows in the result
type Iter_MySpanner_Update ¶
type Iter_MySpanner_Update struct {
// contains filtered or unexported fields
}
func (*Iter_MySpanner_Update) Each ¶
func (this *Iter_MySpanner_Update) Each(fun func(*Row_MySpanner_Update) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_MySpanner_Update) IterInTypeTestExampleTable ¶
func (this *Iter_MySpanner_Update) IterInTypeTestExampleTable()
func (*Iter_MySpanner_Update) IterOutTypeEmpty ¶
func (this *Iter_MySpanner_Update) IterOutTypeEmpty()
func (*Iter_MySpanner_Update) Next ¶
func (this *Iter_MySpanner_Update) Next() (*Row_MySpanner_Update, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_MySpanner_Update) One ¶
func (this *Iter_MySpanner_Update) One() *Row_MySpanner_Update
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_MySpanner_Update) Slice ¶
func (this *Iter_MySpanner_Update) Slice() []*Row_MySpanner_Update
Slice returns all rows found in the iterator as a Slice.
func (*Iter_MySpanner_Update) Zero ¶
func (this *Iter_MySpanner_Update) Zero() error
Zero returns an error if there were any rows in the result
type MappedEnum ¶
type MappedEnum int32
const ( MappedEnum_OPT_0 MappedEnum = 0 MappedEnum_OPT_1 MappedEnum = 1 )
func (MappedEnum) EnumDescriptor ¶
func (MappedEnum) EnumDescriptor() ([]byte, []int)
func (MappedEnum) String ¶
func (x MappedEnum) String() string
type MyMappedEnum ¶
type MyMappedEnum struct {
Status int32
}
func (*MyMappedEnum) SpannerScan ¶
func (t *MyMappedEnum) SpannerScan(src *spanner.GenericColumnValue) error
func (*MyMappedEnum) SpannerValue ¶
func (t *MyMappedEnum) SpannerValue() (interface{}, error)
func (MyMappedEnum) ToProto ¶
func (t MyMappedEnum) ToProto() MyEnum
func (MyMappedEnum) ToSpanner ¶
func (t MyMappedEnum) ToSpanner(src MyEnum) *MyMappedEnum
type MySpannerClient ¶
type MySpannerClient interface { UniaryInsert(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error) UniarySelect(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error) UniarySelectWithDirectives(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error) UniaryUpdate(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.PartialTable, error) UniaryDeleteRange(ctx context.Context, in *test.ExampleTableRange, opts ...grpc.CallOption) (*test.ExampleTable, error) ServerStream(ctx context.Context, in *test.Name, opts ...grpc.CallOption) (MySpanner_ServerStreamClient, error) ClientStreamInsert(ctx context.Context, opts ...grpc.CallOption) (MySpanner_ClientStreamInsertClient, error) ClientStreamDelete(ctx context.Context, opts ...grpc.CallOption) (MySpanner_ClientStreamDeleteClient, error) UniarySelectWithHooks(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error) ServerStreamWithHooks(ctx context.Context, in *test.Name, opts ...grpc.CallOption) (MySpanner_ServerStreamWithHooksClient, error) ClientStreamUpdateWithHooks(ctx context.Context, opts ...grpc.CallOption) (MySpanner_ClientStreamUpdateWithHooksClient, error) }
MySpannerClient is the client API for MySpanner service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMySpannerClient ¶
func NewMySpannerClient(cc *grpc.ClientConn) MySpannerClient
type MySpannerServer ¶
type MySpannerServer interface { UniaryInsert(context.Context, *test.ExampleTable) (*test.ExampleTable, error) UniarySelect(context.Context, *test.ExampleTable) (*test.ExampleTable, error) UniarySelectWithDirectives(context.Context, *test.ExampleTable) (*test.ExampleTable, error) UniaryUpdate(context.Context, *test.ExampleTable) (*test.PartialTable, error) UniaryDeleteRange(context.Context, *test.ExampleTableRange) (*test.ExampleTable, error) ServerStream(*test.Name, MySpanner_ServerStreamServer) error ClientStreamInsert(MySpanner_ClientStreamInsertServer) error ClientStreamDelete(MySpanner_ClientStreamDeleteServer) error UniarySelectWithHooks(context.Context, *test.ExampleTable) (*test.ExampleTable, error) ServerStreamWithHooks(*test.Name, MySpanner_ServerStreamWithHooksServer) error ClientStreamUpdateWithHooks(MySpanner_ClientStreamUpdateWithHooksServer) error }
MySpannerServer is the server API for MySpanner service.
type MySpanner_ClientStreamDeleteClient ¶
type MySpanner_ClientStreamDeleteClient interface { Send(*test.ExampleTable) error CloseAndRecv() (*test.NumRows, error) grpc.ClientStream }
type MySpanner_ClientStreamDeleteServer ¶
type MySpanner_ClientStreamDeleteServer interface { SendAndClose(*test.NumRows) error Recv() (*test.ExampleTable, error) grpc.ServerStream }
type MySpanner_ClientStreamInsertClient ¶
type MySpanner_ClientStreamInsertClient interface { Send(*test.ExampleTable) error CloseAndRecv() (*test.NumRows, error) grpc.ClientStream }
type MySpanner_ClientStreamInsertServer ¶
type MySpanner_ClientStreamInsertServer interface { SendAndClose(*test.NumRows) error Recv() (*test.ExampleTable, error) grpc.ServerStream }
type MySpanner_ClientStreamUpdateWithHooksClient ¶
type MySpanner_ClientStreamUpdateWithHooksClient interface { Send(*test.ExampleTable) error CloseAndRecv() (*test.NumRows, error) grpc.ClientStream }
type MySpanner_ClientStreamUpdateWithHooksServer ¶
type MySpanner_ClientStreamUpdateWithHooksServer interface { SendAndClose(*test.NumRows) error Recv() (*test.ExampleTable, error) grpc.ServerStream }
type MySpanner_ServerStreamClient ¶
type MySpanner_ServerStreamClient interface { Recv() (*test.ExampleTable, error) grpc.ClientStream }
type MySpanner_ServerStreamServer ¶
type MySpanner_ServerStreamServer interface { Send(*test.ExampleTable) error grpc.ServerStream }
type MySpanner_ServerStreamWithHooksClient ¶
type MySpanner_ServerStreamWithHooksClient interface { Recv() (*test.ExampleTable, error) grpc.ClientStream }
type MySpanner_ServerStreamWithHooksServer ¶
type MySpanner_ServerStreamWithHooksServer interface { Send(*test.ExampleTable) error grpc.ServerStream }
type Opts_ExtraSrv ¶
type Opts_ExtraSrv struct { MAPPINGS TypeMappings_ExtraSrv HOOKS Hooks_ExtraSrv }
func OptsExtraSrv ¶
func OptsExtraSrv(hooks Hooks_ExtraSrv, mappings TypeMappings_ExtraSrv) Opts_ExtraSrv
type Opts_MySpanner ¶
type Opts_MySpanner struct { MAPPINGS TypeMappings_MySpanner HOOKS Hooks_MySpanner }
func OptsMySpanner ¶
func OptsMySpanner(hooks Hooks_MySpanner, mappings TypeMappings_MySpanner) Opts_MySpanner
type Out_ExtraSrv_Extra ¶
type Out_MySpanner_Delete ¶
type Out_MySpanner_Delete interface { }
type Out_MySpanner_DeleteId ¶
type Out_MySpanner_DeleteId interface { }
type Out_MySpanner_Insert ¶
type Out_MySpanner_Insert interface { }
type Out_MySpanner_Insert_3 ¶
type Out_MySpanner_Insert_3 interface { }
type Out_MySpanner_Select ¶
type Out_MySpanner_SelectAll ¶
type Out_MySpanner_SetNameAsdf ¶
type Out_MySpanner_SetNameAsdf interface { }
type Out_MySpanner_Update ¶
type Out_MySpanner_Update interface { }
type Queries_ExtraSrv ¶
type Queries_ExtraSrv struct {
// contains filtered or unexported fields
}
Queries_ExtraSrv holds all the queries found the proto service option as methods
func QueriesExtraSrv ¶
func QueriesExtraSrv(opts ...Opts_ExtraSrv) *Queries_ExtraSrv
QueriesExtraSrv returns all the known 'SQL' queires for the 'ExtraSrv' service. If no opts are provided default implementations are used.
func (*Queries_ExtraSrv) Extra ¶
func (this *Queries_ExtraSrv) Extra(ctx context.Context, db persist.SpannerRunnable) *Query_ExtraSrv_Extra
Extra returns a struct that will perform the 'extra' query. When Execute is called, it will use the following fields: []
type Queries_MySpanner ¶
type Queries_MySpanner struct {
// contains filtered or unexported fields
}
Queries_MySpanner holds all the queries found the proto service option as methods
func QueriesMySpanner ¶
func QueriesMySpanner(opts ...Opts_MySpanner) *Queries_MySpanner
QueriesMySpanner returns all the known 'SQL' queires for the 'MySpanner' service. If no opts are provided default implementations are used.
func (*Queries_MySpanner) Delete ¶
func (this *Queries_MySpanner) Delete(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Delete
Delete returns a struct that will perform the 'delete' query. When Execute is called, it will use the following fields: [start_id end_id]
func (*Queries_MySpanner) DeleteId ¶
func (this *Queries_MySpanner) DeleteId(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_DeleteId
DeleteId returns a struct that will perform the 'delete_id' query. When Execute is called, it will use the following fields: [id]
func (*Queries_MySpanner) Insert ¶
func (this *Queries_MySpanner) Insert(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Insert
Insert returns a struct that will perform the 'insert' query. When Execute is called, it will use the following fields: [id start_time]
func (*Queries_MySpanner) Insert_3 ¶
func (this *Queries_MySpanner) Insert_3(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Insert_3
Insert_3 returns a struct that will perform the 'insert_3' query. When Execute is called, it will use the following fields: [id start_time]
func (*Queries_MySpanner) Select ¶
func (this *Queries_MySpanner) Select(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Select
Select returns a struct that will perform the 'select' query. When Execute is called, it will use the following fields: [id name]
func (*Queries_MySpanner) SelectAll ¶
func (this *Queries_MySpanner) SelectAll(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_SelectAll
SelectAll returns a struct that will perform the 'select_all' query. When Execute is called, it will use the following fields: []
func (*Queries_MySpanner) SelectIndex ¶
func (this *Queries_MySpanner) SelectIndex(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_SelectIndex
SelectIndex returns a struct that will perform the 'select_index' query. When Execute is called, it will use the following fields: [id name]
func (*Queries_MySpanner) SetNameAsdf ¶
func (this *Queries_MySpanner) SetNameAsdf(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_SetNameAsdf
SetNameAsdf returns a struct that will perform the 'set_name_asdf' query. When Execute is called, it will use the following fields: [id]
func (*Queries_MySpanner) Update ¶
func (this *Queries_MySpanner) Update(ctx context.Context, db persist.SpannerRunnable) *Query_MySpanner_Update
Update returns a struct that will perform the 'update' query. When Execute is called, it will use the following fields: [start_time id]
type Query_ExtraSrv_Extra ¶
type Query_ExtraSrv_Extra struct {
// contains filtered or unexported fields
}
Query_ExtraSrv_Extra (future doc string needed)
func (*Query_ExtraSrv_Extra) Execute ¶
func (this *Query_ExtraSrv_Extra) Execute(x In_ExtraSrv_Extra) *Iter_ExtraSrv_Extra
Executes the query 'extra' with parameters retrieved from x. Fields used: []
func (*Query_ExtraSrv_Extra) QueryInType_Empty ¶
func (this *Query_ExtraSrv_Extra) QueryInType_Empty()
func (*Query_ExtraSrv_Extra) QueryOutType_HasTimestamp ¶
func (this *Query_ExtraSrv_Extra) QueryOutType_HasTimestamp()
type Query_MySpanner_Delete ¶
type Query_MySpanner_Delete struct {
// contains filtered or unexported fields
}
Query_MySpanner_Delete (future doc string needed)
func (*Query_MySpanner_Delete) Execute ¶
func (this *Query_MySpanner_Delete) Execute(x In_MySpanner_Delete) *Iter_MySpanner_Delete
Executes the query 'delete' with parameters retrieved from x. Fields used: [start_id end_id]
func (*Query_MySpanner_Delete) QueryInType_ExampleTableRange ¶
func (this *Query_MySpanner_Delete) QueryInType_ExampleTableRange()
func (*Query_MySpanner_Delete) QueryOutType_Empty ¶
func (this *Query_MySpanner_Delete) QueryOutType_Empty()
type Query_MySpanner_DeleteId ¶
type Query_MySpanner_DeleteId struct {
// contains filtered or unexported fields
}
Query_MySpanner_DeleteId (future doc string needed)
func (*Query_MySpanner_DeleteId) Execute ¶
func (this *Query_MySpanner_DeleteId) Execute(x In_MySpanner_DeleteId) *Iter_MySpanner_DeleteId
Executes the query 'delete_id' with parameters retrieved from x. Fields used: [id]
func (*Query_MySpanner_DeleteId) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_DeleteId) QueryInType_ExampleTable()
func (*Query_MySpanner_DeleteId) QueryOutType_Empty ¶
func (this *Query_MySpanner_DeleteId) QueryOutType_Empty()
type Query_MySpanner_Insert ¶
type Query_MySpanner_Insert struct {
// contains filtered or unexported fields
}
Query_MySpanner_Insert (future doc string needed)
func (*Query_MySpanner_Insert) Execute ¶
func (this *Query_MySpanner_Insert) Execute(x In_MySpanner_Insert) *Iter_MySpanner_Insert
Executes the query 'insert' with parameters retrieved from x. Fields used: [id start_time]
func (*Query_MySpanner_Insert) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_Insert) QueryInType_ExampleTable()
func (*Query_MySpanner_Insert) QueryOutType_Empty ¶
func (this *Query_MySpanner_Insert) QueryOutType_Empty()
type Query_MySpanner_Insert_3 ¶
type Query_MySpanner_Insert_3 struct {
// contains filtered or unexported fields
}
Query_MySpanner_Insert_3 (future doc string needed)
func (*Query_MySpanner_Insert_3) Execute ¶
func (this *Query_MySpanner_Insert_3) Execute(x In_MySpanner_Insert_3) *Iter_MySpanner_Insert_3
Executes the query 'insert_3' with parameters retrieved from x. Fields used: [id start_time]
func (*Query_MySpanner_Insert_3) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_Insert_3) QueryInType_ExampleTable()
func (*Query_MySpanner_Insert_3) QueryOutType_Empty ¶
func (this *Query_MySpanner_Insert_3) QueryOutType_Empty()
type Query_MySpanner_Select ¶
type Query_MySpanner_Select struct {
// contains filtered or unexported fields
}
Query_MySpanner_Select (future doc string needed)
func (*Query_MySpanner_Select) Execute ¶
func (this *Query_MySpanner_Select) Execute(x In_MySpanner_Select) *Iter_MySpanner_Select
Executes the query 'select' with parameters retrieved from x. Fields used: [id name]
func (*Query_MySpanner_Select) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_Select) QueryInType_ExampleTable()
func (*Query_MySpanner_Select) QueryOutType_ExampleTable ¶
func (this *Query_MySpanner_Select) QueryOutType_ExampleTable()
type Query_MySpanner_SelectAll ¶
type Query_MySpanner_SelectAll struct {
// contains filtered or unexported fields
}
Query_MySpanner_SelectAll (future doc string needed)
func (*Query_MySpanner_SelectAll) Execute ¶
func (this *Query_MySpanner_SelectAll) Execute(x In_MySpanner_SelectAll) *Iter_MySpanner_SelectAll
Executes the query 'select_all' with parameters retrieved from x. Fields used: []
func (*Query_MySpanner_SelectAll) QueryInType_Empty ¶
func (this *Query_MySpanner_SelectAll) QueryInType_Empty()
func (*Query_MySpanner_SelectAll) QueryOutType_ExampleTable ¶
func (this *Query_MySpanner_SelectAll) QueryOutType_ExampleTable()
type Query_MySpanner_SelectIndex ¶
type Query_MySpanner_SelectIndex struct {
// contains filtered or unexported fields
}
Query_MySpanner_SelectIndex (future doc string needed)
func (*Query_MySpanner_SelectIndex) Execute ¶
func (this *Query_MySpanner_SelectIndex) Execute(x In_MySpanner_SelectIndex) *Iter_MySpanner_SelectIndex
Executes the query 'select_index' with parameters retrieved from x. Fields used: [id name]
func (*Query_MySpanner_SelectIndex) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_SelectIndex) QueryInType_ExampleTable()
func (*Query_MySpanner_SelectIndex) QueryOutType_ExampleTable ¶
func (this *Query_MySpanner_SelectIndex) QueryOutType_ExampleTable()
type Query_MySpanner_SetNameAsdf ¶
type Query_MySpanner_SetNameAsdf struct {
// contains filtered or unexported fields
}
Query_MySpanner_SetNameAsdf (future doc string needed)
func (*Query_MySpanner_SetNameAsdf) Execute ¶
func (this *Query_MySpanner_SetNameAsdf) Execute(x In_MySpanner_SetNameAsdf) *Iter_MySpanner_SetNameAsdf
Executes the query 'set_name_asdf' with parameters retrieved from x. Fields used: [id]
func (*Query_MySpanner_SetNameAsdf) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_SetNameAsdf) QueryInType_ExampleTable()
func (*Query_MySpanner_SetNameAsdf) QueryOutType_Empty ¶
func (this *Query_MySpanner_SetNameAsdf) QueryOutType_Empty()
type Query_MySpanner_Update ¶
type Query_MySpanner_Update struct {
// contains filtered or unexported fields
}
Query_MySpanner_Update (future doc string needed)
func (*Query_MySpanner_Update) Execute ¶
func (this *Query_MySpanner_Update) Execute(x In_MySpanner_Update) *Iter_MySpanner_Update
Executes the query 'update' with parameters retrieved from x. Fields used: [start_time id]
func (*Query_MySpanner_Update) QueryInType_ExampleTable ¶
func (this *Query_MySpanner_Update) QueryInType_ExampleTable()
func (*Query_MySpanner_Update) QueryOutType_Empty ¶
func (this *Query_MySpanner_Update) QueryOutType_Empty()
type RestOfHandlers_ExtraSrv ¶
type RestOfHandlers_ExtraSrv interface {
ExtraMethod(context.Context, *test.ExampleTable) (*test.ExampleTable, error)
}
type RestOfHandlers_MySpanner ¶
type RestOfHandlers_MySpanner interface { }
type Row_ExtraSrv_Extra ¶
type Row_ExtraSrv_Extra struct {
// contains filtered or unexported fields
}
func (*Row_ExtraSrv_Extra) HasTimestamp ¶
func (this *Row_ExtraSrv_Extra) HasTimestamp() (*HasTimestamp, error)
func (*Row_ExtraSrv_Extra) Proto ¶
func (this *Row_ExtraSrv_Extra) Proto() (*HasTimestamp, error)
func (*Row_ExtraSrv_Extra) TestExampleTable ¶
func (this *Row_ExtraSrv_Extra) TestExampleTable() (*test.ExampleTable, error)
type Row_MySpanner_Delete ¶
type Row_MySpanner_Delete struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_Delete) Empty ¶
func (this *Row_MySpanner_Delete) Empty() (*Empty, error)
func (*Row_MySpanner_Delete) Proto ¶
func (this *Row_MySpanner_Delete) Proto() (*Empty, error)
func (*Row_MySpanner_Delete) TestExampleTable ¶
func (this *Row_MySpanner_Delete) TestExampleTable() (*test.ExampleTable, error)
type Row_MySpanner_DeleteId ¶
type Row_MySpanner_DeleteId struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_DeleteId) Empty ¶
func (this *Row_MySpanner_DeleteId) Empty() (*Empty, error)
func (*Row_MySpanner_DeleteId) Proto ¶
func (this *Row_MySpanner_DeleteId) Proto() (*Empty, error)
func (*Row_MySpanner_DeleteId) TestNumRows ¶
func (this *Row_MySpanner_DeleteId) TestNumRows() (*test.NumRows, error)
type Row_MySpanner_Insert ¶
type Row_MySpanner_Insert struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_Insert) Empty ¶
func (this *Row_MySpanner_Insert) Empty() (*Empty, error)
func (*Row_MySpanner_Insert) Proto ¶
func (this *Row_MySpanner_Insert) Proto() (*Empty, error)
func (*Row_MySpanner_Insert) TestExampleTable ¶
func (this *Row_MySpanner_Insert) TestExampleTable() (*test.ExampleTable, error)
type Row_MySpanner_Insert_3 ¶
type Row_MySpanner_Insert_3 struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_Insert_3) Empty ¶
func (this *Row_MySpanner_Insert_3) Empty() (*Empty, error)
func (*Row_MySpanner_Insert_3) Proto ¶
func (this *Row_MySpanner_Insert_3) Proto() (*Empty, error)
func (*Row_MySpanner_Insert_3) TestNumRows ¶
func (this *Row_MySpanner_Insert_3) TestNumRows() (*test.NumRows, error)
type Row_MySpanner_Select ¶
type Row_MySpanner_Select struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_Select) Proto ¶
func (this *Row_MySpanner_Select) Proto() (*test.ExampleTable, error)
func (*Row_MySpanner_Select) TestExampleTable ¶
func (this *Row_MySpanner_Select) TestExampleTable() (*test.ExampleTable, error)
type Row_MySpanner_SelectAll ¶
type Row_MySpanner_SelectAll struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_SelectAll) Proto ¶
func (this *Row_MySpanner_SelectAll) Proto() (*test.ExampleTable, error)
func (*Row_MySpanner_SelectAll) TestExampleTable ¶
func (this *Row_MySpanner_SelectAll) TestExampleTable() (*test.ExampleTable, error)
type Row_MySpanner_SelectIndex ¶
type Row_MySpanner_SelectIndex struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_SelectIndex) Proto ¶
func (this *Row_MySpanner_SelectIndex) Proto() (*test.ExampleTable, error)
func (*Row_MySpanner_SelectIndex) TestExampleTable ¶
func (this *Row_MySpanner_SelectIndex) TestExampleTable() (*test.ExampleTable, error)
type Row_MySpanner_SetNameAsdf ¶
type Row_MySpanner_SetNameAsdf struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_SetNameAsdf) Empty ¶
func (this *Row_MySpanner_SetNameAsdf) Empty() (*Empty, error)
func (*Row_MySpanner_SetNameAsdf) Proto ¶
func (this *Row_MySpanner_SetNameAsdf) Proto() (*Empty, error)
func (*Row_MySpanner_SetNameAsdf) TestNumRows ¶
func (this *Row_MySpanner_SetNameAsdf) TestNumRows() (*test.NumRows, error)
type Row_MySpanner_Update ¶
type Row_MySpanner_Update struct {
// contains filtered or unexported fields
}
func (*Row_MySpanner_Update) Empty ¶
func (this *Row_MySpanner_Update) Empty() (*Empty, error)
func (*Row_MySpanner_Update) Proto ¶
func (this *Row_MySpanner_Update) Proto() (*Empty, error)
func (*Row_MySpanner_Update) TestPartialTable ¶
func (this *Row_MySpanner_Update) TestPartialTable() (*test.PartialTable, error)
type Something ¶
type Something struct { Thing *Something_SomethingElse `protobuf:"bytes,2,opt,name=thing,proto3" json:"thing,omitempty"` Myenum MyEnum `protobuf:"varint,3,opt,name=myenum,proto3,enum=tests.MyEnum" json:"myenum,omitempty"` Mappedenum MappedEnum `protobuf:"varint,4,opt,name=mappedenum,proto3,enum=tests.MappedEnum" json:"mappedenum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Something) Descriptor ¶
func (*Something) GetMappedenum ¶
func (m *Something) GetMappedenum() MappedEnum
func (*Something) GetThing ¶
func (m *Something) GetThing() *Something_SomethingElse
func (*Something) ProtoMessage ¶
func (*Something) ProtoMessage()
func (*Something) XXX_DiscardUnknown ¶
func (m *Something) XXX_DiscardUnknown()
func (*Something) XXX_Marshal ¶
func (*Something) XXX_Unmarshal ¶
type Something_SomethingElse ¶
type Something_SomethingElse struct { Thing string `protobuf:"bytes,1,opt,name=thing,proto3" json:"thing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Something_SomethingElse) Descriptor ¶
func (*Something_SomethingElse) Descriptor() ([]byte, []int)
func (*Something_SomethingElse) GetThing ¶
func (m *Something_SomethingElse) GetThing() string
func (*Something_SomethingElse) ProtoMessage ¶
func (*Something_SomethingElse) ProtoMessage()
func (*Something_SomethingElse) Reset ¶
func (m *Something_SomethingElse) Reset()
func (*Something_SomethingElse) String ¶
func (m *Something_SomethingElse) String() string
func (*Something_SomethingElse) XXX_DiscardUnknown ¶
func (m *Something_SomethingElse) XXX_DiscardUnknown()
func (*Something_SomethingElse) XXX_Marshal ¶
func (m *Something_SomethingElse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Something_SomethingElse) XXX_Merge ¶
func (m *Something_SomethingElse) XXX_Merge(src proto.Message)
func (*Something_SomethingElse) XXX_Size ¶
func (m *Something_SomethingElse) XXX_Size() int
func (*Something_SomethingElse) XXX_Unmarshal ¶
func (m *Something_SomethingElse) XXX_Unmarshal(b []byte) error
type SpannerResult ¶
type SpannerResult struct {
// contains filtered or unexported fields
}
func (*SpannerResult) LastInsertId ¶
func (sr *SpannerResult) LastInsertId() (int64, error)
func (*SpannerResult) RowsAffected ¶
func (sr *SpannerResult) RowsAffected() (int64, error)
type TypeMappings_ExtraSrv ¶
type TypeMappings_ExtraSrv interface { }
type TypeMappings_MySpanner ¶
type TypeMappings_MySpanner interface {
TimestampTimestamp() MappingImpl_MySpanner_TimestampTimestamp
}