Discover Packages
github.com/raystack/meteor
plugins
extractors
mysql
package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Oct 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
mysql
Usage
source:
name: mysql
config:
connection_url: admin:pass123@tcp(localhost:3306)/
exclude:
databases:
- database_a
- database_b
tables:
- database_c.table_a
Key
Value
Example
Description
connection_url
string
admin:pass123@tcp(localhost:3306)/
URL to access the mysql server
required
exclude.databases
[]string
[database_a, database_b]
List of databases to be excluded
optional
exclude.tables
[]string
[database_c.table_a, database_c.table_b]
List of tables to be excluded
optional
Outputs
Field
Sample Value
resource.urn
mysql::my-mysql/my_database/my_table
resource.name
my_table
resource.service
mysql
description
table description
profile.total_rows
2100
schema
[]Column
Column
Field
Sample Value
name
total_price
description
item's total price
data_type
decimal
is_nullable
true
length
12,2
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Expand ▾
Collapse ▴
Documentation
¶
type Config struct {
ConnectionURL string `json:"connection_url" yaml:"connection_url" mapstructure:"connection_url" validate:"required"`
Exclude Exclude `json:"exclude" yaml:"exclude" mapstructure:"exclude"`
}
Config holds the connection URL for the extractor
type Exclude struct {
Databases []string `json:"databases" yaml:"databases" mapstructure:"databases"`
Tables []string `json:"tables" yaml:"tables" mapstructure:"tables"`
}
type Extractor struct {
}
Extractor manages the extraction of data from MySQL
New returns a pointer to an initialized Extractor Object
Extract extracts the data from the MySQL server
and collected through the emitter
Init initializes the extractor
Source Files
¶
Click to show internal directories.
Click to hide internal directories.