Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blobs ¶
type Blobs struct { LargeObjects []*LargeObject DumpId int32 Dependencies []int32 OriginalSize int64 CompressedSize int64 }
func (*Blobs) GetAllDDLs ¶
func (*Blobs) SetDumpId ¶
func (b *Blobs) SetDumpId(sequence *toc.DumpIdSequence)
type Entry ¶
type Entry interface { Entry() (*toc.Entry, error) SetDumpId(sequence *toc.DumpIdSequence) }
type LargeObject ¶
type LargeObject struct { CreateDumpId int32 CommentDumpId int32 PermDumpId int32 TableOid toc.Oid Oid toc.Oid ACL []*ACL DefaultACL *ACL Comment string Owner string }
func (*LargeObject) AclDdl ¶
func (lo *LargeObject) AclDdl() *toc.Entry
func (*LargeObject) CommentDdl ¶
func (lo *LargeObject) CommentDdl() *toc.Entry
func (*LargeObject) CreateDdl ¶
func (lo *LargeObject) CreateDdl() *toc.Entry
func (*LargeObject) SetDumpId ¶
func (lo *LargeObject) SetDumpId(sequence *toc.DumpIdSequence)
type Sequence ¶
type Sequence struct { Oid toc.Oid Schema string Name string Owner string IsCalled bool DumpId int32 Dependencies []int32 LastValue int64 }
func (*Sequence) SetDumpId ¶
func (s *Sequence) SetDumpId(sequence *toc.DumpIdSequence)
type Table ¶
type Table struct { *toolkit.Table Query string Owner string RelKind rune LoadViaPartitionRoot bool // RootPtSchema - schema name of the root partition table uses in partitioned tables when LoadViaPartitionRoot // is set RootPtSchema string // RootPtName - name of the root partition table uses in partitioned tables when LoadViaPartitionRoot is set RootPtName string RootPtOid toolkit.Oid TransformersContext []*utils.TransformerContext Dependencies []int32 DumpId int32 OriginalSize int64 CompressedSize int64 //ExcludeData bool Driver *toolkit.Driver Scores int64 SubsetConds []string When *toolkit.WhenCond }
Table - godoc
func (*Table) GetCopyFromStatement ¶
GetCopyFromStatement - get COPY FROM statement for table
func (*Table) HasCustomTransformer ¶
HasCustomTransformer - check if table has custom transformer
func (*Table) SetDumpId ¶
func (t *Table) SetDumpId(sequence *toc.DumpIdSequence)
SetDumpId - set dump id for table - it uses in TOC entry identification
Click to show internal directories.
Click to hide internal directories.