You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See documentation on [the Web Service API](ws/api.md) for more info.
122
+
See documentation on the Web Service API for more info.
123
123
124
124
# Results
125
125
@@ -177,7 +177,7 @@ The rest of the pieces are just the standard other two pieces in a full-stack ap
177
177
* A Web Service that talks to the backend using the PubSub layer
178
178
* A UI that talks to this Web Service
179
179
180
-
The [Bullet Web Service](ws/api.md) is built using [Spring Boot](https://projects.spring.io/spring-boot/) in Java and the [UI](ui/usage.md) is built in [Ember](emberjs.com).
180
+
The [Bullet Web Service](ws/examples.md) is built using [Spring Boot](https://projects.spring.io/spring-boot/) in Java and the [UI](ui/usage.md) is built in [Ember](emberjs.com).
181
181
182
182
The Web Service can be deployed as a standalone Java application (a JAR file) or easily rebuilt as a WAR to deploy your favorite servlet container like [Jetty](http://www.eclipse.org/jetty/). The UI is a client-side application that can be served using [Node.js](http://nodejs.org/)
| 2018-07-20 |[**0.6.0**](https://github.com/bullet-db/bullet-ui/releases/tag/v0.6.0)| Supports adding a full default starting query |
157
158
| 2018-06-18 |[**0.5.0**](https://github.com/bullet-db/bullet-ui/releases/tag/v0.5.0)| Supports windowing, uses IndexedDB and Ember 3! |
158
159
| 2017-08-22 |[**0.4.0**](https://github.com/bullet-db/bullet-ui/releases/tag/v0.4.0)| Query sharing, collapsible Raw view, and unsaved/error indicators. Settings rename and other bug fixes|
159
160
| 2017-05-22 |[**0.3.2**](https://github.com/bullet-db/bullet-ui/releases/tag/v0.3.2)| Exporting to TSV in Pivot table. Fixes unselectability bug in Raw view |
Copy file name to clipboardExpand all lines: docs/ui/setup.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ The configuration for the UI lets you have different instances of Bullet for dif
83
83
| modelVersion | This is used an indicator to apply changes to the stored queries, results etc. It is monotonically increasing. On startup, changes specified in ```migrations``` will be applied if the old modelVersion is not present or is < than this number |
84
84
| migrations | is an object that currently supports one key: ```deletions``` of type string. The value can be set to either ```result``` or ```query```. The former wipes all existing results. The latter wipes everything. See ```modelVersion``` above. |
85
85
| helpLinks | Is a list of objects, where each object is a help link. These links populate the "Help" drop-down on the UI's top navbar. You can add links to explain your data for example |
86
-
|defaultFilter| Can either be a [API Filter](../ws/api.md#filters) or a URL from which one could be fetched dynamically. The UI adds this to every newly created Query. You could use this as a way to have user specific (for example, cookie based) filters created for your users when they create a new query in the UI. Note that if you have are accessing a map subfield and your field value in the filter is set as ```foo.bar``` and you want ```bar``` to be the subfield in the UI query builder, you will need to add a key called ```subfield``` in the filter (not supported by the API) and set its value to ```true```|
86
+
|defaultQuery| Can either be a [API Query](../ws/api-json.md) or a URL from which one could be fetched dynamically. The UI makes this the query created on every newly created Query. You could use this as a way to have user specific (for example, cookie based) filters created for your users or customize an aggregation when they create a new query in the UI. Note that if you have are accessing a map subfield and your field value in the filter is set as ```foo.bar``` and you want ```bar``` to be the subfield in the UI query builder, you will need to add a key called ```subfield``` in the filter (not supported by the API) and set its value to ```true```|
87
87
| bugLink | Is a URL that by default points to the issues page for the UI GitHub repository. You can change it to point to your own custom JIRA queue or something else |
88
88
| defaultValues | Is an object that lets you configures defaults for various query parameters and lets you tie your custom backend settings to the UI |
89
89
@@ -126,7 +126,7 @@ These are the properties in the ```defaultValues``` object. The Validated column
126
126
You can specify values for each property above in the ```env-settings.json``` file. These will be used when running a custom instance of the UI (see [above](#Running)).
127
127
128
128
The ```default``` property in the ```env-settings.json``` that loads default settings for the UI that can be selectively overridden based on which environment you are running on. All settings explained above have default values
129
-
that are the same as the [default backend settings](https://github.com/bullet-db/bullet-storm/blob/master/src/main/resources/bullet_defaults.yaml). However, the defaults do not add the ```defaultFilter``` setting explained above.
129
+
that are the same as the [default backend settings](https://github.com/bullet-db/bullet-storm/blob/master/src/main/resources/bullet_defaults.yaml). However, the defaults do not add the ```defaultQuery``` setting explained above.
130
130
131
131
```json
132
132
{
@@ -208,7 +208,7 @@ To cement all this, if you wanted an instance of the UI in your CI environment,
Copy file name to clipboardExpand all lines: docs/ui/usage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ You can also download the results in JSON, CSV or flattened CSV (fields inside m
47
47
48
48
## Filtering and projecting data
49
49
50
-
The Filters section in the UI features a querybuilder (a modified version of the [jQuery-QueryBuilder](http://querybuilder.js.org/)) that you can use to add filters. These allow you to [pick at the slice of data](../ws/api.md#filters) from your stream that is relevant to you.
50
+
The Filters section in the UI features a querybuilder (a modified version of the [jQuery-QueryBuilder](http://querybuilder.js.org/)) that you can use to add filters. These allow you to [pick at the slice of data](../ws/api-json.md#filters) from your stream that is relevant to you.
51
51
52
52
The Output Data section lets you aggregate or choose to see raw data records. You can either get all the data as [above](#a-simple-first-query) or you can select a subset of fields (and optionally rename them) that you would like to see.
TOP ( ( Integer | Long ) ( , Integer | Long ) )? , reference_expr ( , reference_expr )? ) ( AS? ColumnReference )?
35
+
36
+
37
+
`group_function` is one of `SUM(reference_expr)`, `MIN(reference_expr)`, `MAX(reference_expr)`, `AVG(reference_expr)` and `COUNT(*)`. `reference_expr` is one of ColumnReference and Dereference. `distribution_type` is one of `QUANTILE`, `FREQ` and `CUMFREQ`. The 1st number in `TOP` is K, and the 2nd number is an optional threshold. The `input_mode` is one of
38
+
39
+
LINEAR, ( Integer | Long ) evenly spaced
40
+
REGION, ( Integer | Long ), ( Integer | Long ), ( Integer | Long ) evenly spaced in a region
41
+
MANUAL, ( Integer | Long ) (, ( Integer | Long ) )* defined points
42
+
43
+
and `from_clause` is one of
44
+
45
+
STREAM() default time duration will be set from BQLConfig
46
+
STREAM( ( Long | MAX ), TIME ) time based duration control.
47
+
STREAM( ( Long | MAX ), TIME, ( Long | MAX ), RECORD ) time and record based duration control.
48
+
49
+
`RECORD` will be supported in the future.
50
+
51
+
and `where_clause` is one of
52
+
53
+
NOT where_clause
54
+
where_clause AND where_clause
55
+
where_clause OR where_clause
56
+
reference_expr IS NOT? NULL
57
+
reference_expr IS NOT? EMPTY
58
+
reference_expr IS NOT? DISTINCT FROM value_expr
59
+
reference_expr NOT? BETWEEN value_expr AND value_expr
60
+
reference_expr NOT? IN ( value_expr ( , value_expr )* )
61
+
reference_expr NOT? LIKE ( value_expr ( , value_expr )* )
TOP ( ( Integer | Long ) ( , Integer | Long ) )? , reference_expr ( , reference_expr )? ) ( AS? ColumnReference )?
132
-
133
-
134
-
`group_function` is one of `SUM(reference_expr)`, `MIN(reference_expr)`, `MAX(reference_expr)`, `AVG(reference_expr)` and `COUNT(*)`. `reference_expr` is one of ColumnReference and Dereference. `distribution_type` is one of `QUANTILE`, `FREQ` and `CUMFREQ`. The 1st number in `TOP` is K, and the 2nd number is an optional threshold. The `input_mode` is one of
135
-
136
-
LINEAR, ( Integer | Long ) evenly spaced
137
-
REGION, ( Integer | Long ), ( Integer | Long ), ( Integer | Long ) evenly spaced in a region
138
-
MANUAL, ( Integer | Long ) (, ( Integer | Long ) )* defined points
139
-
140
-
and `from_clause` is one of
141
-
142
-
STREAM() default time duration will be set from BQLConfig
143
-
STREAM( ( Long | MAX ), TIME ) time based duration control.
144
-
STREAM( ( Long | MAX ), TIME, ( Long | MAX ), RECORD ) time and record based duration control.
145
-
146
-
`RECORD` will be supported in the future.
147
-
148
-
and `where_clause` is one of
149
-
150
-
NOT where_clause
151
-
where_clause AND where_clause
152
-
where_clause OR where_clause
153
-
reference_expr IS NOT? NULL
154
-
reference_expr IS NOT? EMPTY
155
-
reference_expr IS NOT? DISTINCT FROM value_expr
156
-
reference_expr NOT? BETWEEN value_expr AND value_expr
157
-
reference_expr NOT? IN ( value_expr ( , value_expr )* )
158
-
reference_expr NOT? LIKE ( value_expr ( , value_expr )* )
0 commit comments