Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
Checkpoint represents the extraction progress
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
Extractor handles data extraction from a database table
func NewExtractor ¶
func NewExtractor(db database.Database, table, outputFile, format string, batchSize int64, concurrency int) *Extractor
NewExtractor creates a new Extractor instance
func (*Extractor) LoadCheckpoint ¶
LoadCheckpoint loads the last saved extraction progress
func (*Extractor) SaveCheckpoint ¶
SaveCheckpoint saves the current extraction progress
type ParquetWriter ¶
ParquetWriter defines the interface for writing Parquet files
func NewParquetWriter ¶
func NewParquetWriter(file *os.File, columns []database.Column) ParquetWriter
NewParquetWriter creates a new ParquetWriter instance
Click to show internal directories.
Click to hide internal directories.