Documentation ¶
Index ¶
- func GetIncludedPartitionRoots(tocDataEntries []CoordinatorDataEntry, includeRelations []string) []string
- type AOEntry
- type CoordinatorDataEntry
- type IncrementalEntries
- type MetadataEntry
- type SegmentDataEntry
- type SegmentTOC
- type StatementWithType
- type TOC
- func (toc *TOC) AddCoordinatorDataEntry(schema string, name string, oid uint32, attributeString string, ...)
- func (toc *TOC) AddMetadataEntry(section string, entry MetadataEntry, start, end uint64)
- func (toc *TOC) GetDataEntriesMatching(includeSchemas []string, excludeSchemas []string, includeTableFQNs []string, ...) []CoordinatorDataEntry
- func (toc *TOC) GetSQLStatementForObjectTypes(section string, metadataFile io.ReaderAt, includeObjectTypes []string, ...) []StatementWithType
- func (toc *TOC) InitializeMetadataEntryMap()
- func (toc *TOC) WriteToFileAndMakeReadOnly(filename string)
- type TOCObject
- type TOCObjectWithMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIncludedPartitionRoots ¶
func GetIncludedPartitionRoots(tocDataEntries []CoordinatorDataEntry, includeRelations []string) []string
Types ¶
type CoordinatorDataEntry ¶
type IncrementalEntries ¶
type MetadataEntry ¶
type SegmentDataEntry ¶
type SegmentTOC ¶
type SegmentTOC struct {
DataEntries map[uint]SegmentDataEntry
}
func NewSegmentTOC ¶
func NewSegmentTOC(filename string) *SegmentTOC
func (*SegmentTOC) AddSegmentDataEntry ¶
func (toc *SegmentTOC) AddSegmentDataEntry(oid uint, startByte uint64, endByte uint64)
func (*SegmentTOC) WriteToFileAndMakeReadOnly ¶
func (toc *SegmentTOC) WriteToFileAndMakeReadOnly(filename string) error
type StatementWithType ¶
type StatementWithType struct { Schema string Name string ObjectType string ReferenceObject string Statement string }
func RemoveActiveRole ¶
func RemoveActiveRole(activeUser string, statements []StatementWithType) []StatementWithType
func SubstituteRedirectDatabaseInStatements ¶
func SubstituteRedirectDatabaseInStatements(statements []StatementWithType, oldQuotedName string, newQuotedName string) []StatementWithType
type TOC ¶
type TOC struct { GlobalEntries []MetadataEntry PredataEntries []MetadataEntry PostdataEntries []MetadataEntry StatisticsEntries []MetadataEntry DataEntries []CoordinatorDataEntry IncrementalMetadata IncrementalEntries // contains filtered or unexported fields }
func (*TOC) AddCoordinatorDataEntry ¶
func (*TOC) AddMetadataEntry ¶
func (toc *TOC) AddMetadataEntry(section string, entry MetadataEntry, start, end uint64)
func (*TOC) GetDataEntriesMatching ¶
func (*TOC) GetSQLStatementForObjectTypes ¶
func (*TOC) InitializeMetadataEntryMap ¶
func (toc *TOC) InitializeMetadataEntryMap()
func (*TOC) WriteToFileAndMakeReadOnly ¶
type TOCObject ¶
type TOCObject interface {
GetMetadataEntry() (string, MetadataEntry)
}
type TOCObjectWithMetadata ¶
type TOCObjectWithMetadata interface { GetMetadataEntry() (string, MetadataEntry) FQN() string }
Click to show internal directories.
Click to hide internal directories.