package
Version:
v0.8.8
Opens a new window with list of versions in this module.
Published: Jul 18, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mariadb
Usage
source:
type: mariadb
config:
connection_url: admin:pass123@tcp(localhost:3306)/
Key |
Value |
Example |
Description |
|
connection_url |
string |
admin:pass123@tcp(localhost:3306)/ |
URL to access the mariadb server |
required |
Outputs
Field |
Sample Value |
resource.urn |
my_database.my_table |
resource.name |
my_table |
resource.service |
mariadb |
description |
table description |
profile.total_rows |
1100 |
schema |
[]Column |
Column
Field |
Sample Value |
name |
total_price |
description |
item's total price |
data_type |
decimal |
is_nullable |
true |
length |
11 |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
ConnectionURL string `mapstructure:"connection_url" validate:"required"`
}
Config holds the connection URL for the extractor
type Extractor struct {
}
Extractor manages the extraction of data from Mariadb
New returns a pointer to an initialized Extractor Object
Extract collects metadata of the database through emitter
Init initializes the extractor
Source Files
¶
Click to show internal directories.
Click to hide internal directories.