~openerp-community/openobject-doc/ksa-openobject-doc-6.0

« back to all changes in this revision

Viewing changes to i18n/ru/source/bi/CubeCli/CubeCliIntro.rst

  • Committer: Don Kirkby
  • Date: 2011-02-21 20:46:11 UTC
  • mfrom: (433.1.53 openobject-doc)
  • Revision ID: donkirkby+launpd@gmail.com-20110221204611-1ykt6dmg4k3gh5dh
[MERGE] revisions 477 to 486 from the 5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
.. i18n: .. _CLI-link:
 
3
.. i18n: 
 
4
.. i18n: Command Line Interface
 
5
.. i18n: ======================
 
6
..
 
7
 
 
8
.. _CLI-link:
 
9
 
 
10
Command Line Interface
 
11
======================
 
12
 
 
13
.. i18n: Introduction to the cli
 
14
.. i18n: -----------------------
 
15
..
 
16
 
 
17
Introduction to the cli
 
18
-----------------------
 
19
 
 
20
.. i18n: *The CLI - Command Line Interface*
 
21
..
 
22
 
 
23
*The CLI - Command Line Interface*
 
24
 
 
25
.. i18n: Command Line Interface will be the equivalent of psql, but it will be used for MDX queries on the cube.
 
26
.. i18n: As
 
27
..
 
28
 
 
29
Command Line Interface will be the equivalent of psql, but it will be used for MDX queries on the cube.
 
30
As
 
31
 
 
32
.. i18n: ::
 
33
.. i18n: 
 
34
.. i18n:  Welcome to OpenObject BI , the interactive terminal. 
 
35
.. i18n:  Communication: XML-RPC.
 
36
.. i18n:  Type: \? for help with MDX commands
 
37
.. i18n:       \e for execute the MDX query
 
38
.. i18n:       \d for quit
 
39
.. i18n:  BI-terp=#
 
40
..
 
41
 
 
42
::
 
43
 
 
44
 Welcome to OpenObject BI , the interactive terminal. 
 
45
 Communication: XML-RPC.
 
46
 Type: \? for help with MDX commands
 
47
      \e for execute the MDX query
 
48
      \d for quit
 
49
 BI-terp=#
 
50
 
 
51
.. i18n: Currently we can run use cli for testing different queries and it can also be used for running automated test.
 
52
..
 
53
 
 
54
Currently we can run use cli for testing different queries and it can also be used for running automated test.
 
55
 
 
56
.. i18n: The basic syntax for testing query is: Syntax
 
57
..
 
58
 
 
59
The basic syntax for testing query is: Syntax
 
60
 
 
61
.. i18n: **./tinybi.py -d <<Database Name>> -H localhost -U <<User Name> -W <<Password>> -p <<Port Number>> -s <<Schema Name>> -c <<MDX Query>>**
 
62
..
 
63
 
 
64
**./tinybi.py -d <<Database Name>> -H localhost -U <<User Name> -W <<Password>> -p <<Port Number>> -s <<Schema Name>> -c <<MDX Query>>**
 
65
 
 
66
.. i18n: One can check all these options by typing
 
67
..
 
68
 
 
69
One can check all these options by typing
 
70
 
 
71
.. i18n: *$python tinybi.py --help*
 
72
..
 
73
 
 
74
*$python tinybi.py --help*
 
75
 
 
76
.. i18n: Usage: tinybi.py [options]
 
77
..
 
78
 
 
79
Usage: tinybi.py [options]
 
80
 
 
81
.. i18n: Options:
 
82
..
 
83
 
 
84
Options:
 
85
 
 
86
.. i18n: ::
 
87
.. i18n: 
 
88
.. i18n:  --version             show program's version number and exit
 
89
.. i18n:  -h, --help            show this help message and exit
 
90
..
 
91
 
 
92
::
 
93
 
 
94
 --version             show program's version number and exit
 
95
 -h, --help            show this help message and exit
 
96
 
 
97
.. i18n: .. 
 
98
..
 
99
 
 
100
.. 
 
101
 
 
102
.. i18n: ::
 
103
.. i18n: 
 
104
.. i18n:  General options:
 
105
.. i18n:    -c COMMAND, --command=COMMAND
 
106
.. i18n:                        The query to execute
 
107
.. i18n:    -s SCHEMA, --schema=SCHEMA
 
108
.. i18n:                        The schema to use for the query
 
109
..
 
110
 
 
111
::
 
112
 
 
113
 General options:
 
114
   -c COMMAND, --command=COMMAND
 
115
                       The query to execute
 
116
   -s SCHEMA, --schema=SCHEMA
 
117
                       The schema to use for the query
 
118
 
 
119
.. i18n: .. 
 
120
..
 
121
 
 
122
.. 
 
123
 
 
124
.. i18n: ::
 
125
.. i18n: 
 
126
.. i18n:  Connection options:
 
127
.. i18n:    -d DATABASE, --database=DATABASE
 
128
.. i18n:                        Database name
 
129
.. i18n:    -H HOSTNAME, --hostname=HOSTNAME
 
130
.. i18n:                        Server hostname
 
131
.. i18n:    -U USERNAME, --username=USERNAME
 
132
.. i18n:                        Username
 
133
.. i18n:    -W PASSWORD, --password=PASSWORD
 
134
.. i18n:                        Password
 
135
.. i18n:    -p PORT, --port=PORT
 
136
.. i18n:                        Server port
 
137
..
 
138
 
 
139
::
 
140
 
 
141
 Connection options:
 
142
   -d DATABASE, --database=DATABASE
 
143
                       Database name
 
144
   -H HOSTNAME, --hostname=HOSTNAME
 
145
                       Server hostname
 
146
   -U USERNAME, --username=USERNAME
 
147
                       Username
 
148
   -W PASSWORD, --password=PASSWORD
 
149
                       Password
 
150
   -p PORT, --port=PORT
 
151
                       Server port
 
152
 
 
153
.. i18n: .. 
 
154
..
 
155
 
 
156
.. 
 
157
 
 
158
.. i18n: :Example:
 
159
..
 
160
 
 
161
:Example:
 
162
 
 
163
.. i18n: ./tinybi.py -d "terp" -H localhost -U admin -W admin -p 8069 -s "tinyerp" -c "select {[user].[all]} on rows, {[measures].[credit_limit],[measures].[count]} on columns from res_partner"
 
164
..
 
165
 
 
166
./tinybi.py -d "terp" -H localhost -U admin -W admin -p 8069 -s "tinyerp" -c "select {[user].[all]} on rows, {[measures].[credit_limit],[measures].[count]} on columns from res_partner"
 
167
 
 
168
.. i18n: This will give output on CLI as :
 
169
..
 
170
 
 
171
This will give output on CLI as :
 
172
 
 
173
.. i18n: .. csv-table:: 
 
174
.. i18n:    :header: "\ ","credit_limit","count"
 
175
.. i18n: 
 
176
.. i18n:    "All user","[66700.0]","[21.0]"
 
177
..
 
178
 
 
179
.. csv-table:: 
 
180
   :header: "\ ","credit_limit","count"
 
181
 
 
182
   "All user","[66700.0]","[21.0]"