-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,825 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
NAME | ||
neo4j-etl { mysql | postgresql | oracle } export - Export from MySQL, PostgreSQL, Oracle RDBMS. | ||
|
||
SYNOPSIS | ||
neo4j-etl { mysql | postgresql | oracle } export | ||
[ --url <url> ] [ {-h | --host} <hostname> ] [ {-p | --port} <port #> ] | ||
[ {-d | --database} <name> {-s | --schema} <schema> | ||
{-u | --user} <username> [ --password <password> ] | ||
[ --debug ] [ --delimiter <character> ] --destination <directory> | ||
[ {--exclusion-mode | --exc} <exclude|include|none(default)> ] | ||
[ --force ] --import-tool <directory> | ||
[ --mapping-file <file|stdin> ] [ --options-file <file> ] | ||
[ --quote <character> ] --csv-directory <directory> | ||
[ {--relationship-name | --rel-name} <table(default)|column> ] | ||
[ {--tiny-int | --tiny} <byte(default)|boolean> ] | ||
[--] [ <table1 table2 ...>... ] | ||
|
||
OPTIONS | ||
--url <name> | ||
Database connection URL. | ||
This parameter is alternative to `--host`, `--port` and `--database`. | ||
|
||
-h <hostname>, --host <hostname> | ||
Host to use for connection to RDBMS. | ||
|
||
-p <port #>, --port <port #> | ||
Port number to use for connection to RDBMS. | ||
|
||
-d <name>, --database <name> | ||
Database name. | ||
|
||
-u <username>, --user <username> | ||
User for login to RDBMS. | ||
|
||
--password <password> | ||
Password for login to RDBMS. | ||
|
||
-s <schema>, --schema <schema> | ||
Schema to be exported. | ||
|
||
--debug | ||
Print detailed diagnostic output. | ||
|
||
--csv-directory <directory> | ||
Path to directory for intermediate CSV files. | ||
|
||
--delimiter <character> | ||
Delimiter to separate fields in CSV. | ||
|
||
--destination <directory> | ||
Path to destination store directory. | ||
|
||
--exclusion-mode <exclude|include|none(default)>, --exc | ||
<exclude|include|none(default)> | ||
Specifies how to handle table exclusion. Options are mutually | ||
exclusive.exclude: Excludes specified tables from the process. All | ||
other tables will be included.include: Includes specified tables | ||
only. All other tables will be excluded.none: All tables are | ||
included in the process. | ||
|
||
--force | ||
Force delete destination store directory if it already exists. | ||
|
||
--import-tool <directory> | ||
Path to directory containing Neo4j import tool. | ||
|
||
--mapping-file <file|stdin> | ||
Path to an existing metadata mapping file. The name 'stdin' will | ||
cause the CSV resources definitions to be read from standard input. | ||
|
||
--options-file <file> | ||
Path to file containing Neo4j import tool options. | ||
|
||
--quote <character> | ||
Character to treat as quotation character for values in CSV data. | ||
|
||
--relationship-name <table(default)|column>, --rel-name | ||
<table(default)|column> | ||
Specifies whether to get the name for relationships from table names | ||
or column names | ||
|
||
--tiny-int <byte(default)|boolean>, --tiny <byte(default)|boolean> | ||
Specifies whether to get the convert TinyInt to byte or boolean | ||
|
||
-- | ||
This option can be used to separate command-line options from the | ||
list of arguments (useful when arguments might be mistaken for | ||
command-line options) | ||
|
||
<table1 table2 ...> | ||
Tables to be excluded/included | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
NAME | ||
neo4j-etl { mysql | postgresql | oracle } generate-metadata-mapping - Create MySQL to Neo4j | ||
metadata mapping Json. | ||
|
||
SYNOPSIS | ||
neo4j-etl { mysql | postgresql | oracle } generate-metadata-mapping | ||
[ --url <url> ] [ {-h | --host} <hostname> ] [ {-p | --port} <port #> ] | ||
[ {-d | --database} <name> {-s | --schema} <schema> | ||
{-u | --user} <username> [ --password <password> ] | ||
[ --debug ] [ --delimiter <delimiter> ] | ||
[ {--exclusion-mode | --exc} <exclude|include|none(default)> ] | ||
[ --options-file <file> ] [ --quote <quote> ] | ||
[ {--relationship-name | --rel-name} <table(default)|column> ] | ||
[ --tiny-int <byte(default)|boolean> ] [--] [ <table1 table2 ...>... ] | ||
|
||
OPTIONS | ||
--url <url> | ||
Database connection URL. | ||
This parameter is alternative to `--host`, `--port` and `--database`. | ||
|
||
-h <name>, --host <name> | ||
Host to use for connection to RDBMS. | ||
|
||
-p <#>, --port <#> | ||
Port number to use for connection to RDBMS. | ||
|
||
-d <name>, --database <name> | ||
Database name. | ||
|
||
-u <name>, --user <name> | ||
User for login to RDBMS. | ||
|
||
--password <name> | ||
Password for login to RDBMS. | ||
|
||
-s <schema>, --schema <schema> | ||
Schema to be exported. | ||
|
||
--debug | ||
Print detailed diagnostic output. | ||
|
||
--delimiter <delimiter> | ||
Delimiter to separate fields in CSV. | ||
|
||
--exclusion-mode <exclude|include|none(default)>, --exc | ||
<exclude|include|none(default)> | ||
Specifies how to handle table exclusion. Options are mutually | ||
exclusive.exclude: Excludes specified tables from the process. All | ||
other tables will be included.include: Includes specified tables | ||
only. All other tables will be excluded.none: All tables are | ||
included in the process. | ||
|
||
--options-file <file> | ||
Path to file containing Neo4j import tool options. | ||
|
||
--quote <quote> | ||
Character to treat as quotation character for values in CSV data. | ||
|
||
--relationship-name <table(default)|column>, --rel-name | ||
<table(default)|column> | ||
Specifies whether to get the name for relationships from table names | ||
or column names. | ||
|
||
--tiny-int <byte(default)|boolean> | ||
Specifies whether to convert TinyInt to byte or boolean | ||
|
||
-- | ||
This option can be used to separate command-line options from the | ||
list of arguments (useful when arguments might be mistaken for | ||
command-line options) | ||
|
||
<table1 table2 ...> | ||
Tables to be excluded/included | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
NAME | ||
neo4j-etl { mysql | postgresql | oracle } - Export tools for MySQL, PostgreSQL and Oracle RDBMS. | ||
|
||
SYNOPSIS | ||
neo4j-etl { mysql | postgresql | oracle } { export | generate-metadata-mapping | help* } [--] | ||
[cmd-options] <cmd-args> | ||
|
||
Where command-specific options [cmd-options] are: | ||
export: [ --debug ] [ --url <url> ] [ {-h | --host} <hostname> ] [ {-p | --port} <port #> ] | ||
{-d | --database} <name> [ {-s | --schema} <schema> ] | ||
{-u | --user} <username> [ --password <password> ] | ||
[ --options-file <file> ] --destination <directory> [ --delimiter <character> ] | ||
[ --mapping-file <file|stdin> ] [ --quote <character> ] | ||
[ {--exclusion-mode | --exc} <exclude|include|none(default)> ] | ||
--import-tool <directory> [ {--relationship-name | --rel-name} <table(default)|column> ] | ||
[ {--tiny-int | --tiny} <byte(default)|boolean> ] --csv-directory <directory> [ --force ] | ||
generate-metadata-mapping: [ --debug ] [ {-url} <url> ] [ {-h | --host} <name> ] [ {-p | --port} <port #> ] | ||
{-d | --database} <name> {-s | --schema} <schema> | ||
{-u | --user} <name> [ --password <name> ] | ||
[ --options-file <file> ] [ {--relationship-name | --rel-name} <table(default)|column> ] | ||
[ --tiny-int <byte(default)|boolean> ] [ --delimiter <delimiter> ] | ||
[ --quote <quote> ] [ {--exclusion-mode | --exc} <exclude|include|none(default)> ] | ||
help: | ||
|
||
Where command-specific arguments <cmd-args> are: | ||
export: [ <table1 table2 ...>... ] | ||
generate-metadata-mapping: [ <table1 table2 ...>... ] | ||
help: [ <command>... ] | ||
|
||
Where * indicates the default command(s) | ||
See 'neo4j-etl help { mysql | postgresql | oracle } <command>' for more information on a specific command. |
Oops, something went wrong.