Documentation ¶
Index ¶
- type CommonCodeGenerator
- type DatabaseCodeGenerator
- type InterleavedReadTransactionCodeGenerator
- func (g InterleavedReadTransactionCodeGenerator) BatchGetMethod() string
- func (g InterleavedReadTransactionCodeGenerator) ConstructorMethod() string
- func (g InterleavedReadTransactionCodeGenerator) GenerateCode(f *codegen.File)
- func (g InterleavedReadTransactionCodeGenerator) GetMethod() string
- func (g InterleavedReadTransactionCodeGenerator) ListMethod() string
- func (g InterleavedReadTransactionCodeGenerator) Type() string
- type InterleavedRowCodeGenerator
- func (g InterleavedRowCodeGenerator) GenerateCode(f *codegen.File)
- func (g InterleavedRowCodeGenerator) Ident() string
- func (g InterleavedRowCodeGenerator) InterleavedRowsField(table *spanddl.Table) string
- func (g InterleavedRowCodeGenerator) KeyMethod() string
- func (g InterleavedRowCodeGenerator) Type() string
- func (g InterleavedRowCodeGenerator) UnmarshalSpannerRowMethod() string
- type InterleavedRowIteratorCodeGenerator
- type KeyCodeGenerator
- type ReadTransactionCodeGenerator
- func (g ReadTransactionCodeGenerator) BatchGetMethod() string
- func (g ReadTransactionCodeGenerator) ConstructorMethod() string
- func (g ReadTransactionCodeGenerator) GenerateCode(f *codegen.File)
- func (g ReadTransactionCodeGenerator) GetMethod() string
- func (g ReadTransactionCodeGenerator) ListMethod() string
- func (g ReadTransactionCodeGenerator) ReadMethod() string
- func (g ReadTransactionCodeGenerator) Type() string
- type RowCodeGenerator
- func (g RowCodeGenerator) ColumnExprsMethod() string
- func (g RowCodeGenerator) ColumnFieldName(column *spanddl.Column) string
- func (g RowCodeGenerator) ColumnIDsMethod() string
- func (g RowCodeGenerator) ColumnNamesMethod() string
- func (g RowCodeGenerator) GenerateCode(f *codegen.File)
- func (g RowCodeGenerator) KeyMethod() string
- func (g RowCodeGenerator) Nil() string
- func (g RowCodeGenerator) Type() string
- func (g RowCodeGenerator) UnmarshalSpannerRowMethod() string
- type RowIteratorCodeGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonCodeGenerator ¶
type CommonCodeGenerator struct{}
func (CommonCodeGenerator) GenerateCode ¶
func (g CommonCodeGenerator) GenerateCode(f *codegen.File)
func (CommonCodeGenerator) ListQueryType ¶
func (g CommonCodeGenerator) ListQueryType() string
func (CommonCodeGenerator) SpannerReadTransactionType ¶
func (g CommonCodeGenerator) SpannerReadTransactionType() string
type DatabaseCodeGenerator ¶
func (DatabaseCodeGenerator) GenerateCode ¶
func (g DatabaseCodeGenerator) GenerateCode(f *codegen.File)
type InterleavedReadTransactionCodeGenerator ¶
func (InterleavedReadTransactionCodeGenerator) BatchGetMethod ¶
func (g InterleavedReadTransactionCodeGenerator) BatchGetMethod() string
func (InterleavedReadTransactionCodeGenerator) ConstructorMethod ¶
func (g InterleavedReadTransactionCodeGenerator) ConstructorMethod() string
func (InterleavedReadTransactionCodeGenerator) GenerateCode ¶
func (g InterleavedReadTransactionCodeGenerator) GenerateCode(f *codegen.File)
func (InterleavedReadTransactionCodeGenerator) GetMethod ¶
func (g InterleavedReadTransactionCodeGenerator) GetMethod() string
func (InterleavedReadTransactionCodeGenerator) ListMethod ¶
func (g InterleavedReadTransactionCodeGenerator) ListMethod() string
func (InterleavedReadTransactionCodeGenerator) Type ¶
func (g InterleavedReadTransactionCodeGenerator) Type() string
type InterleavedRowCodeGenerator ¶
func (InterleavedRowCodeGenerator) GenerateCode ¶
func (g InterleavedRowCodeGenerator) GenerateCode(f *codegen.File)
func (InterleavedRowCodeGenerator) Ident ¶
func (g InterleavedRowCodeGenerator) Ident() string
func (InterleavedRowCodeGenerator) InterleavedRowsField ¶
func (g InterleavedRowCodeGenerator) InterleavedRowsField(table *spanddl.Table) string
func (InterleavedRowCodeGenerator) KeyMethod ¶
func (g InterleavedRowCodeGenerator) KeyMethod() string
func (InterleavedRowCodeGenerator) Type ¶
func (g InterleavedRowCodeGenerator) Type() string
func (InterleavedRowCodeGenerator) UnmarshalSpannerRowMethod ¶
func (g InterleavedRowCodeGenerator) UnmarshalSpannerRowMethod() string
type InterleavedRowIteratorCodeGenerator ¶
func (InterleavedRowIteratorCodeGenerator) GenerateCode ¶
func (g InterleavedRowIteratorCodeGenerator) GenerateCode(f *codegen.File)
func (InterleavedRowIteratorCodeGenerator) Type ¶
func (g InterleavedRowIteratorCodeGenerator) Type() string
type KeyCodeGenerator ¶
func (KeyCodeGenerator) FieldName ¶
func (g KeyCodeGenerator) FieldName(keyPart spansql.KeyPart) string
func (KeyCodeGenerator) GenerateCode ¶
func (g KeyCodeGenerator) GenerateCode(f *codegen.File)
func (KeyCodeGenerator) Type ¶
func (g KeyCodeGenerator) Type() string
type ReadTransactionCodeGenerator ¶
func (ReadTransactionCodeGenerator) BatchGetMethod ¶
func (g ReadTransactionCodeGenerator) BatchGetMethod() string
func (ReadTransactionCodeGenerator) ConstructorMethod ¶
func (g ReadTransactionCodeGenerator) ConstructorMethod() string
func (ReadTransactionCodeGenerator) GenerateCode ¶
func (g ReadTransactionCodeGenerator) GenerateCode(f *codegen.File)
func (ReadTransactionCodeGenerator) GetMethod ¶
func (g ReadTransactionCodeGenerator) GetMethod() string
func (ReadTransactionCodeGenerator) ListMethod ¶
func (g ReadTransactionCodeGenerator) ListMethod() string
func (ReadTransactionCodeGenerator) ReadMethod ¶
func (g ReadTransactionCodeGenerator) ReadMethod() string
func (ReadTransactionCodeGenerator) Type ¶
func (g ReadTransactionCodeGenerator) Type() string
type RowCodeGenerator ¶
func (RowCodeGenerator) ColumnExprsMethod ¶
func (g RowCodeGenerator) ColumnExprsMethod() string
func (RowCodeGenerator) ColumnFieldName ¶
func (g RowCodeGenerator) ColumnFieldName(column *spanddl.Column) string
func (RowCodeGenerator) ColumnIDsMethod ¶
func (g RowCodeGenerator) ColumnIDsMethod() string
func (RowCodeGenerator) ColumnNamesMethod ¶
func (g RowCodeGenerator) ColumnNamesMethod() string
func (RowCodeGenerator) GenerateCode ¶
func (g RowCodeGenerator) GenerateCode(f *codegen.File)
func (RowCodeGenerator) KeyMethod ¶
func (g RowCodeGenerator) KeyMethod() string
func (RowCodeGenerator) Nil ¶
func (g RowCodeGenerator) Nil() string
func (RowCodeGenerator) Type ¶
func (g RowCodeGenerator) Type() string
func (RowCodeGenerator) UnmarshalSpannerRowMethod ¶
func (g RowCodeGenerator) UnmarshalSpannerRowMethod() string
type RowIteratorCodeGenerator ¶
func (RowIteratorCodeGenerator) GenerateCode ¶
func (g RowIteratorCodeGenerator) GenerateCode(f *codegen.File)
func (RowIteratorCodeGenerator) Type ¶
func (g RowIteratorCodeGenerator) Type() string
Click to show internal directories.
Click to hide internal directories.