Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatcherRegistry ¶
func NewBatcherRegistry ¶
func NewBatcherRegistry() *BatcherRegistry
type BatcherTypeRegistry ¶
func NewBatcherTypeRegistry ¶
func NewBatcherTypeRegistry() *BatcherTypeRegistry
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func (*Executor) ExecuteStmts ¶
type Option ¶
Option represents executor session option
func WithParameter ¶
WithParameter return parameter option
type Session ¶
type Session struct { Session *vsession.Session SessionHandler *extension.Session View *view.View TemplateState *expand.State DataUnit *expand.DataUnit // contains filtered or unexported fields }
func NewSession ¶
type StmtIterator ¶
type TemplateStmtIterator ¶
type TemplateStmtIterator struct { DataUnit *expand.DataUnit Data []*expand.SQLStatment // contains filtered or unexported fields }
func NewTemplateStmtIterator ¶
func NewTemplateStmtIterator(dataUnit *expand.DataUnit, data []*expand.SQLStatment) *TemplateStmtIterator
func (*TemplateStmtIterator) HasAny ¶
func (t *TemplateStmtIterator) HasAny() bool
func (*TemplateStmtIterator) HasNext ¶
func (t *TemplateStmtIterator) HasNext() bool
func (*TemplateStmtIterator) Next ¶
func (t *TemplateStmtIterator) Next() interface{}
type TxTransient ¶
type TxTransient struct{}
func (*TxTransient) Commit ¶
func (t *TxTransient) Commit() error
func (*TxTransient) Rollback ¶
func (t *TxTransient) Rollback() error
type ViewDBSource ¶
type ViewDBSource struct {
// contains filtered or unexported fields
}
func NewViewDBSource ¶
func NewViewDBSource(view *view.View) *ViewDBSource
func (*ViewDBSource) CanBatch ¶
func (v *ViewDBSource) CanBatch(table string) bool
func (*ViewDBSource) CanBatchGlobally ¶
func (v *ViewDBSource) CanBatchGlobally() bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.