blob: 64f1a31d41fab75c06d9e3b94e05a157ea4fe402 [file] [log] [blame]
<!--
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<div class="">
<h4>Use DSL (Domain Specific Language) to build queries</h4>
<ul class="list-style-disc">
<li><b>Single Query</b>
<p>DB where name="Reporting" select name, owner</p>
</li>
<li><b>GROUPBY</b>
<p>select count(CustomerID), Country from Customers group by Country</p>
</li>
<li><b>ORDERBY</b>
<p>DB where name="Reporting" select name, owner orderby name limit 10 offset 5</p>
</li>
<li><b>LIMIT</b>
<p>DB where name="Reporting" select name, owner limit 10 offset 0</p>
</li>
</ul>
<h5 style="padding-left: 22.5px;">
<a href="http://atlas.apache.org/#/SearchAdvance" target="_blank"><i class="fa fa-info-circle" aria-hidden="true"></i> &nbsp; More sample queries and use-cases</a>
</h5>
</div>