Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadOnlyTransaction ¶
type ReadOnlyTransaction interface {
Query(ctx context.Context, statement spanner.Statement) RowIterator
}
type RowIterator ¶
type SpannerClient ¶
type SpannerClient interface { Close() Apply(ctx context.Context, ms []*spanner.Mutation, opts ...spanner.ApplyOption) (commitTimestamp time.Time, err error) Single() ReadOnlyTransaction }
type SpannerClientProxy ¶
type SpannerClientProxy struct {
// contains filtered or unexported fields
}
func (*SpannerClientProxy) Apply ¶
func (proxy *SpannerClientProxy) Apply(ctx context.Context, ms []*spanner.Mutation, opts ...spanner.ApplyOption, ) (commitTimestamp time.Time, err error)
func (*SpannerClientProxy) Close ¶
func (proxy *SpannerClientProxy) Close()
func (*SpannerClientProxy) Single ¶
func (proxy *SpannerClientProxy) Single() ReadOnlyTransaction
type SpannerReadOnlyTransactionProxy ¶
type SpannerReadOnlyTransactionProxy struct {
// contains filtered or unexported fields
}
func (*SpannerReadOnlyTransactionProxy) Query ¶
func (proxy *SpannerReadOnlyTransactionProxy) Query(ctx context.Context, statement spanner.Statement) RowIterator
type SpannerRowIteratorProxy ¶
type SpannerRowIteratorProxy struct {
// contains filtered or unexported fields
}
func (*SpannerRowIteratorProxy) Next ¶
func (proxy *SpannerRowIteratorProxy) Next() (Row, error)
func (*SpannerRowIteratorProxy) Stop ¶
func (proxy *SpannerRowIteratorProxy) Stop()
Click to show internal directories.
Click to hide internal directories.