Documentation ¶
Index ¶
- type DatabaseDescriptorCodeGenerator
- func (g DatabaseDescriptorCodeGenerator) DescriptorFunction() string
- func (g DatabaseDescriptorCodeGenerator) GenerateCode(f *codegen.File)
- func (g DatabaseDescriptorCodeGenerator) IndexDescriptorMethod(index *spanddl.Index) string
- func (g DatabaseDescriptorCodeGenerator) InterfaceType() string
- func (g DatabaseDescriptorCodeGenerator) StructType() string
- func (g DatabaseDescriptorCodeGenerator) TableDescriptorMethod(table *spanddl.Table) string
- type GenericColumnDescriptorCodeGenerator
- func (g GenericColumnDescriptorCodeGenerator) AllowCommitTimestampMethod() string
- func (g GenericColumnDescriptorCodeGenerator) ColumnExprMethod() string
- func (g GenericColumnDescriptorCodeGenerator) ColumnIDMethod() string
- func (g GenericColumnDescriptorCodeGenerator) ColumnNameMethod() string
- func (g GenericColumnDescriptorCodeGenerator) ColumnTypeMethod() string
- func (g GenericColumnDescriptorCodeGenerator) GenerateCode(f *codegen.File)
- func (g GenericColumnDescriptorCodeGenerator) InterfaceType() string
- func (g GenericColumnDescriptorCodeGenerator) NotNullMethod() string
- func (g GenericColumnDescriptorCodeGenerator) StructType() string
- type IndexDescriptorCodeGenerator
- func (g IndexDescriptorCodeGenerator) ColumnDescriptorMethod(keyPart spansql.KeyPart) string
- func (g IndexDescriptorCodeGenerator) ColumnExprsMethod() string
- func (g IndexDescriptorCodeGenerator) ColumnIDsMethod() string
- func (g IndexDescriptorCodeGenerator) ColumnNamesMethod() string
- func (g IndexDescriptorCodeGenerator) GenerateCode(f *codegen.File)
- func (g IndexDescriptorCodeGenerator) IndexIDMethod() string
- func (g IndexDescriptorCodeGenerator) IndexNameMethod() string
- func (g IndexDescriptorCodeGenerator) InterfaceType() string
- func (g IndexDescriptorCodeGenerator) StructType() string
- type TableDescriptorCodeGenerator
- func (g TableDescriptorCodeGenerator) ColumnDescriptorMethod(column *spanddl.Column) string
- func (g TableDescriptorCodeGenerator) ColumnExprsMethod() string
- func (g TableDescriptorCodeGenerator) ColumnIDsMethod() string
- func (g TableDescriptorCodeGenerator) ColumnNamesMethod() string
- func (g TableDescriptorCodeGenerator) GenerateCode(f *codegen.File)
- func (g TableDescriptorCodeGenerator) InterfaceType() string
- func (g TableDescriptorCodeGenerator) StructType() string
- func (g TableDescriptorCodeGenerator) TableIDMethod() string
- func (g TableDescriptorCodeGenerator) TableNameMethod() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseDescriptorCodeGenerator ¶
func (DatabaseDescriptorCodeGenerator) DescriptorFunction ¶
func (g DatabaseDescriptorCodeGenerator) DescriptorFunction() string
func (DatabaseDescriptorCodeGenerator) GenerateCode ¶
func (g DatabaseDescriptorCodeGenerator) GenerateCode(f *codegen.File)
func (DatabaseDescriptorCodeGenerator) IndexDescriptorMethod ¶ added in v0.33.0
func (g DatabaseDescriptorCodeGenerator) IndexDescriptorMethod(index *spanddl.Index) string
func (DatabaseDescriptorCodeGenerator) InterfaceType ¶
func (g DatabaseDescriptorCodeGenerator) InterfaceType() string
func (DatabaseDescriptorCodeGenerator) StructType ¶
func (g DatabaseDescriptorCodeGenerator) StructType() string
func (DatabaseDescriptorCodeGenerator) TableDescriptorMethod ¶
func (g DatabaseDescriptorCodeGenerator) TableDescriptorMethod(table *spanddl.Table) string
type GenericColumnDescriptorCodeGenerator ¶
type GenericColumnDescriptorCodeGenerator struct{}
func (GenericColumnDescriptorCodeGenerator) AllowCommitTimestampMethod ¶
func (g GenericColumnDescriptorCodeGenerator) AllowCommitTimestampMethod() string
func (GenericColumnDescriptorCodeGenerator) ColumnExprMethod ¶
func (g GenericColumnDescriptorCodeGenerator) ColumnExprMethod() string
func (GenericColumnDescriptorCodeGenerator) ColumnIDMethod ¶
func (g GenericColumnDescriptorCodeGenerator) ColumnIDMethod() string
func (GenericColumnDescriptorCodeGenerator) ColumnNameMethod ¶
func (g GenericColumnDescriptorCodeGenerator) ColumnNameMethod() string
func (GenericColumnDescriptorCodeGenerator) ColumnTypeMethod ¶
func (g GenericColumnDescriptorCodeGenerator) ColumnTypeMethod() string
func (GenericColumnDescriptorCodeGenerator) GenerateCode ¶
func (g GenericColumnDescriptorCodeGenerator) GenerateCode(f *codegen.File)
func (GenericColumnDescriptorCodeGenerator) InterfaceType ¶
func (g GenericColumnDescriptorCodeGenerator) InterfaceType() string
func (GenericColumnDescriptorCodeGenerator) NotNullMethod ¶
func (g GenericColumnDescriptorCodeGenerator) NotNullMethod() string
func (GenericColumnDescriptorCodeGenerator) StructType ¶
func (g GenericColumnDescriptorCodeGenerator) StructType() string
type IndexDescriptorCodeGenerator ¶ added in v0.33.0
func (IndexDescriptorCodeGenerator) ColumnDescriptorMethod ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) ColumnDescriptorMethod(keyPart spansql.KeyPart) string
func (IndexDescriptorCodeGenerator) ColumnExprsMethod ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) ColumnExprsMethod() string
func (IndexDescriptorCodeGenerator) ColumnIDsMethod ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) ColumnIDsMethod() string
func (IndexDescriptorCodeGenerator) ColumnNamesMethod ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) ColumnNamesMethod() string
func (IndexDescriptorCodeGenerator) GenerateCode ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) GenerateCode(f *codegen.File)
func (IndexDescriptorCodeGenerator) IndexIDMethod ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) IndexIDMethod() string
func (IndexDescriptorCodeGenerator) IndexNameMethod ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) IndexNameMethod() string
func (IndexDescriptorCodeGenerator) InterfaceType ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) InterfaceType() string
func (IndexDescriptorCodeGenerator) StructType ¶ added in v0.33.0
func (g IndexDescriptorCodeGenerator) StructType() string
type TableDescriptorCodeGenerator ¶
func (TableDescriptorCodeGenerator) ColumnDescriptorMethod ¶
func (g TableDescriptorCodeGenerator) ColumnDescriptorMethod(column *spanddl.Column) string
func (TableDescriptorCodeGenerator) ColumnExprsMethod ¶
func (g TableDescriptorCodeGenerator) ColumnExprsMethod() string
func (TableDescriptorCodeGenerator) ColumnIDsMethod ¶
func (g TableDescriptorCodeGenerator) ColumnIDsMethod() string
func (TableDescriptorCodeGenerator) ColumnNamesMethod ¶
func (g TableDescriptorCodeGenerator) ColumnNamesMethod() string
func (TableDescriptorCodeGenerator) GenerateCode ¶
func (g TableDescriptorCodeGenerator) GenerateCode(f *codegen.File)
func (TableDescriptorCodeGenerator) InterfaceType ¶
func (g TableDescriptorCodeGenerator) InterfaceType() string
func (TableDescriptorCodeGenerator) StructType ¶
func (g TableDescriptorCodeGenerator) StructType() string
func (TableDescriptorCodeGenerator) TableIDMethod ¶
func (g TableDescriptorCodeGenerator) TableIDMethod() string
func (TableDescriptorCodeGenerator) TableNameMethod ¶
func (g TableDescriptorCodeGenerator) TableNameMethod() string
Click to show internal directories.
Click to hide internal directories.