You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by ra...@apache.org on 2017/12/04 21:14:19 UTC

[2/2] lens git commit: LENS-1492: Update cli.apt file

LENS-1492: Update cli.apt file


Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/8f9b5686
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/8f9b5686
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/8f9b5686

Branch: refs/heads/current-release-line
Commit: 8f9b5686e269c9318321fd766fccc37d387a110c
Parents: 7fa91dd
Author: rajub <ra...@lazada.com>
Authored: Mon Dec 4 21:22:00 2017 +0800
Committer: rajub <ra...@lazada.com>
Committed: Mon Dec 4 21:22:00 2017 +0800

----------------------------------------------------------------------
 src/site/apt/user/cli.apt | 92 ++++++++++++++++++++++--------------------
 1 file changed, 49 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lens/blob/8f9b5686/src/site/apt/user/cli.apt
----------------------------------------------------------------------
diff --git a/src/site/apt/user/cli.apt b/src/site/apt/user/cli.apt
index 1653e9f..12bc88c 100644
--- a/src/site/apt/user/cli.apt
+++ b/src/site/apt/user/cli.apt
@@ -389,49 +389,55 @@ User CLI Commands
 *--+--+
 |<<Command>>|<<Description>>|
 *--+--+
-|schema/create schema [--db] \<database-to-create-schema-in\> [--path/--file] \<schema-directory\>|Parses the specified resource file and executes commands for creation/updation of schema                                       \ |
-|                                                                                                 |Expected\ structure\ is\                                                                                                       \ |
-|                                                                                                 |.                                                                                                                              \ |
-|                                                                                                 |\|--\ storages                                                                                                                 \ |
-|                                                                                                 |\|\ \ \|--\ storage1.xml                                                                                                       \ |
-|                                                                                                 |\|\ \ \|--\ storage2.xml                                                                                                       \ |
-|                                                                                                 |\|                                                                                                                             \ |
-|                                                                                                 |\|--\ dimensions                                                                                                               \ |
-|                                                                                                 |\|\ \ \|--\ dim1.xml                                                                                                           \ |
-|                                                                                                 |\|\ \ \|--\ dim2.xml                                                                                                           \ |
-|                                                                                                 |\|                                                                                                                             \ |
-|                                                                                                 |\|--\ cubes                                                                                                                    \ |
-|                                                                                                 |\|\ \ \|--\ base                                                                                                               \ |
-|                                                                                                 |\|\ \ \|\ \ \|--\ base_cube1.xml                                                                                               \ |
-|                                                                                                 |\|\ \ \|\ \ \|--\ base_cube2.xml                                                                                               \ |
-|                                                                                                 |\|\ \ \|                                                                                                                       \ |
-|                                                                                                 |\|\ \ \|--\ derived                                                                                                            \ |
-|                                                                                                 |\|\ \ \|\ \ \|--\ derived_cube1.xml                                                                                            \ |
-|                                                                                                 |\|\ \ \|\ \ \|--\ derived_cube2.xml                                                                                            \ |
-|                                                                                                 |\|\ \ \|                                                                                                                       \ |
-|                                                                                                 |\|\ \ \|--\ independent_cube1.xml                                                                                              \ |
-|                                                                                                 |\|\ \ \|--\ independent_cube2.xml                                                                                              \ |
-|                                                                                                 |\|                                                                                                                             \ |
-|                                                                                                 |\|--\ dimensiontables                                                                                                          \ |
-|                                                                                                 |\|\ \ \|--\ dimtable1.xml                                                                                                      \ |
-|                                                                                                 |\|\ \ \|--\ dimtable2.xml                                                                                                      \ |
-|                                                                                                 |\|                                                                                                                             \ |
-|                                                                                                 |\|--\ dimtables                                                                                                                \ |
-|                                                                                                 |\|\ \ \|--\ dimtable3.xml                                                                                                      \ |
-|                                                                                                 |\|\ \ \|--\ dimtable4.xml                                                                                                      \ |
-|                                                                                                 |\|                                                                                                                             \ |
-|                                                                                                 |\|--\ facts                                                                                                                    \ |
-|                                                                                                 |\ \ \ \|--\ fact1.xml                                                                                                          \ |
-|                                                                                                 |\ \ \ \|--\ fact2.xml                                                                                                          \ |
-|                                                                                                 |                                                                                                                               \ |
-|                                                                                                 |                                                                                                                               \ |
-|                                                                                                 |If\ your\ cubes\ are\ divided\ between\ base\ and\ derived\ cubes,                                                             \ |
-|                                                                                                 |it\ makes\ sense\ to\ seperate\ into\ two\ directories,\ since\ derived\ cubes\ can't\ be\ created\ unless\ base\ cube\ exists.\ |
-|                                                                                                 |In\ the\ other\ case\ you\ can\ keep\ them\ in\ the\ cubes\ directory\ itself.                                                 \ |
-|                                                                                                 |For\ dimtables,\ you\ can\ keep\ your\ schema\ files\ in\ a\ directory\ named\ either\ dimtables\ or\ dimensiontables.         \ |
-|                                                                                                 |Each\ of\ these\ directories\ is\ optional\ and\ the\ order\ of\ processing\ is\ top\ to\ bottom.                              \ |
-|                                                                                                 |CLI\ will\ let\ you\ know\ in\ case\ of\ any\ errors\ and\ proceed\ further\ without\ failing\ in\ between.                    \ |
+|schema/create schema [--db] \<database-to-create-schema-in\> [--path/--file] \<schema-directory\> [[--type] \<schema-type-filter\>] [[--name] \<file-name-filter\>]|Parses the specified resource file and executes commands for creation/updation of schema. If <<<schema-type-filter>>> is provided, only schema types matching that will be worked upon. If <<<file-name-filter>>> is provided, then only those files that contain the filter value will be worked upon. \ |
+|                                                                                                                                                                   |Expected\ directory\ structure\ is\                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |.                                                                                                                                                                                                                                                                                                       \ |
+|                                                                                                                                                                   |\|--\ storages                                                                                                                                                                                                                                                                                          \ |
+|                                                                                                                                                                   |\|\ \ \|--\ storage1.xml                                                                                                                                                                                                                                                                                \ |
+|                                                                                                                                                                   |\|\ \ \|--\ storage2.xml                                                                                                                                                                                                                                                                                \ |
+|                                                                                                                                                                   |\|                                                                                                                                                                                                                                                                                                      \ |
+|                                                                                                                                                                   |\|--\ dimensions                                                                                                                                                                                                                                                                                        \ |
+|                                                                                                                                                                   |\|\ \ \|--\ dim1.xml                                                                                                                                                                                                                                                                                    \ |
+|                                                                                                                                                                   |\|\ \ \|--\ dim2.xml                                                                                                                                                                                                                                                                                    \ |
+|                                                                                                                                                                   |\|                                                                                                                                                                                                                                                                                                      \ |
+|                                                                                                                                                                   |\|--\ cubes                                                                                                                                                                                                                                                                                             \ |
+|                                                                                                                                                                   |\|\ \ \|--\ base                                                                                                                                                                                                                                                                                        \ |
+|                                                                                                                                                                   |\|\ \ \|\ \ \|--\ base_cube1.xml                                                                                                                                                                                                                                                                        \ |
+|                                                                                                                                                                   |\|\ \ \|\ \ \|--\ base_cube2.xml                                                                                                                                                                                                                                                                        \ |
+|                                                                                                                                                                   |\|\ \ \|                                                                                                                                                                                                                                                                                                \ |
+|                                                                                                                                                                   |\|\ \ \|--\ derived                                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |\|\ \ \|\ \ \|--\ derived_cube1.xml                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |\|\ \ \|\ \ \|--\ derived_cube2.xml                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |\|\ \ \|                                                                                                                                                                                                                                                                                                \ |
+|                                                                                                                                                                   |\|\ \ \|--\ independent_cube1.xml                                                                                                                                                                                                                                                                       \ |
+|                                                                                                                                                                   |\|\ \ \|--\ independent_cube2.xml                                                                                                                                                                                                                                                                       \ |
+|                                                                                                                                                                   |\|                                                                                                                                                                                                                                                                                                      \ |
+|                                                                                                                                                                   |\|--\ dimensiontables                                                                                                                                                                                                                                                                                   \ |
+|                                                                                                                                                                   |\|\ \ \|--\ dimtable1.xml                                                                                                                                                                                                                                                                               \ |
+|                                                                                                                                                                   |\|\ \ \|--\ dimtable2.xml                                                                                                                                                                                                                                                                               \ |
+|                                                                                                                                                                   |\|                                                                                                                                                                                                                                                                                                      \ |
+|                                                                                                                                                                   |\|--\ dimtables                                                                                                                                                                                                                                                                                         \ |
+|                                                                                                                                                                   |\|\ \ \|--\ dimtable3.xml                                                                                                                                                                                                                                                                               \ |
+|                                                                                                                                                                   |\|\ \ \|--\ dimtable4.xml                                                                                                                                                                                                                                                                               \ |
+|                                                                                                                                                                   |\|                                                                                                                                                                                                                                                                                                      \ |
+|                                                                                                                                                                   |\|--\ facts                                                                                                                                                                                                                                                                                             \ |
+|                                                                                                                                                                   |\ \ \ \|--\ fact1.xml                                                                                                                                                                                                                                                                                   \ |
+|                                                                                                                                                                   |\ \ \ \|--\ fact2.xml                                                                                                                                                                                                                                                                                   \ |
+|                                                                                                                                                                   |\|\ \ \|                                                                                                                                                                                                                                                                                                \ |
+|                                                                                                                                                                   |\|\ \ \|--\ virtual                                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |\|\ \ \|\ \ \|--\ virtual_fact1.xml                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |\|\ \ \|\ \ \|--\ virtual_fact2.xml                                                                                                                                                                                                                                                                     \ |
+|                                                                                                                                                                   |\|\ \ \|                                                                                                                                                                                                                                                                                                \ |
+|                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                        \ |
+|                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                        \ |
+|                                                                                                                                                                   |If\ your\ cubes\ are\ divided\ between\ base\ and\ derived\ cubes,                                                                                                                                                                                                                                      \ |
+|                                                                                                                                                                   |it\ makes\ sense\ to\ seperate\ into\ two\ directories,\ since\ derived\ cubes\ can't\ be\ created\ unless\ base\ cube\ exists.                                                                                                                                                                         \ |
+|                                                                                                                                                                   |In\ the\ other\ case\ you\ can\ keep\ them\ in\ the\ cubes\ directory\ itself.                                                                                                                                                                                                                          \ |
+|                                                                                                                                                                   |For\ dimtables,\ you\ can\ keep\ your\ schema\ files\ in\ a\ directory\ named\ either\ dimtables\ or\ dimensiontables.                                                                                                                                                                                  \ |
+|                                                                                                                                                                   |Each\ of\ these\ directories\ is\ optional\ and\ the\ order\ of\ processing\ is\ top\ to\ bottom.                                                                                                                                                                                                       \ |
+|                                                                                                                                                                   |CLI\ will\ let\ you\ know\ in\ case\ of\ any\ errors\ and\ proceed\ further\ without\ failing\ in\ between.                                                                                                                                                                                             \ |
 *--+--+
   <<Lens Schema Commands>>
 
-===
\ No newline at end of file
+===
+