You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by im...@apache.org on 2015/07/14 05:23:03 UTC

[22/22] incubator-asterixdb-site git commit: Update to new website draft.

Update to new website draft.


Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/commit/3dffc852
Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/tree/3dffc852
Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/diff/3dffc852

Branch: refs/heads/asf-site
Commit: 3dffc852fe39126bf912ccf0db28c4c8ead64931
Parents: 0817a3f
Author: Ian Maxon <ia...@maxons.email>
Authored: Mon Jul 13 20:17:09 2015 -0700
Committer: Ian Maxon <ia...@maxons.email>
Committed: Mon Jul 13 20:21:57 2015 -0700

----------------------------------------------------------------------
 about.html                               |  125 +
 api.html                                 |  543 --
 aql/allens.html                          |  615 ---
 aql/datamodel.html                       |  707 ---
 aql/externaldata.html                    |  443 --
 aql/filters.html                         |  256 -
 aql/functions.html                       | 4740 ------------------
 aql/js-sdk.html                          |  897 ----
 aql/manual.html                          |  925 ----
 aql/primer-sql-like.html                 |  832 ----
 aql/primer.html                          |  842 ----
 aql/similarity.html                      |  403 --
 community.html                           |  332 ++
 css/apache-maven-fluido-1.3.0.min.css    |    9 -
 css/bootstrap-theme.css                  |  476 ++
 css/bootstrap-theme.css.map              |    1 +
 css/bootstrap-theme.min.css              |    5 +
 css/bootstrap.css                        | 6584 +++++++++++++++++++++++++
 css/bootstrap.css.map                    |    1 +
 css/bootstrap.min.css                    |    7 +
 css/print.css                            |   23 -
 css/site.css                             |    1 -
 css/theme.css                            |   20 +
 csv.html                                 |  392 --
 data/fbm.adm                             |   15 -
 data/fbu.adm                             |   10 -
 data/lineitem.tbl                        | 6005 ----------------------
 data/twm.adm                             |   12 -
 data/twu.adm                             |    4 -
 dev-setup.html                           |  381 ++
 download.html                            |  168 +
 favicon.ico                              |  Bin 0 -> 13750 bytes
 features.md                              |   36 +
 fonts/glyphicons-halflings-regular.eot   |  Bin 0 -> 20127 bytes
 fonts/glyphicons-halflings-regular.svg   |  288 ++
 fonts/glyphicons-halflings-regular.ttf   |  Bin 0 -> 45404 bytes
 fonts/glyphicons-halflings-regular.woff  |  Bin 0 -> 23424 bytes
 fonts/glyphicons-halflings-regular.woff2 |  Bin 0 -> 18028 bytes
 images/AsterixCluster.png                |  Bin 95355 -> 0 bytes
 images/accessories-text-editor.png       |  Bin 746 -> 0 bytes
 images/add.gif                           |  Bin 397 -> 0 bytes
 images/apache-maven-project-2.png        |  Bin 33442 -> 0 bytes
 images/application-certificate.png       |  Bin 923 -> 0 bytes
 images/asf_logo_wide.png                 |  Bin 14470 -> 0 bytes
 images/asterixlogo.png                   |  Bin 15334 -> 0 bytes
 images/contact-new.png                   |  Bin 736 -> 0 bytes
 images/document-properties.png           |  Bin 577 -> 0 bytes
 images/drive-harddisk.png                |  Bin 700 -> 0 bytes
 images/egg-logo.png                      |  Bin 8626 -> 0 bytes
 images/fix.gif                           |  Bin 366 -> 0 bytes
 images/hyrax_ts.png                      |  Bin 4949 -> 0 bytes
 images/icon_error_sml.gif                |  Bin 633 -> 0 bytes
 images/icon_help_sml.gif                 |  Bin 1072 -> 0 bytes
 images/icon_info_sml.gif                 |  Bin 638 -> 0 bytes
 images/icon_success_sml.gif              |  Bin 604 -> 0 bytes
 images/icon_warning_sml.gif              |  Bin 625 -> 0 bytes
 images/image-x-generic.png               |  Bin 662 -> 0 bytes
 images/internet-web-browser.png          |  Bin 1017 -> 0 bytes
 images/logos/build-by-maven-black.png    |  Bin 2294 -> 0 bytes
 images/logos/build-by-maven-white.png    |  Bin 2260 -> 0 bytes
 images/logos/maven-feather.png           |  Bin 3330 -> 0 bytes
 images/network-server.png                |  Bin 536 -> 0 bytes
 images/package-x-generic.png             |  Bin 717 -> 0 bytes
 images/profiles/pre-release.png          |  Bin 32607 -> 0 bytes
 images/profiles/retired.png              |  Bin 22003 -> 0 bytes
 images/profiles/sandbox.png              |  Bin 33010 -> 0 bytes
 images/remove.gif                        |  Bin 607 -> 0 bytes
 images/rss.png                           |  Bin 474 -> 0 bytes
 images/update.gif                        |  Bin 1090 -> 0 bytes
 images/window-new.png                    |  Bin 583 -> 0 bytes
 img/asterixdb.png                        |  Bin 0 -> 73547 bytes
 img/asterixdb_square.jpg                 |  Bin 0 -> 145521 bytes
 img/aws.png                              |  Bin 0 -> 83913 bytes
 img/ebay.jpg                             |  Bin 0 -> 14797 bytes
 img/egg-logo.png                         |  Bin 0 -> 8626 bytes
 img/facebook.jpg                         |  Bin 0 -> 29873 bytes
 img/facebook.png                         |  Bin 0 -> 2071 bytes
 img/glyphicons-halflings-white.png       |  Bin 8777 -> 0 bytes
 img/glyphicons-halflings.png             |  Bin 12799 -> 0 bytes
 img/google.png                           |  Bin 0 -> 232310 bytes
 img/htc.jpg                              |  Bin 0 -> 6244 bytes
 img/infosys.png                          |  Bin 0 -> 5276 bytes
 img/isg.png                              |  Bin 0 -> 74493 bytes
 img/msft.jpg                             |  Bin 0 -> 4131 bytes
 img/nsf.jpg                              |  Bin 0 -> 41412 bytes
 img/oracle.jpg                           |  Bin 0 -> 54204 bytes
 img/team/abdullah_alamoudi.jpg           |  Bin 0 -> 156484 bytes
 img/team/anonymous.jpg                   |  Bin 0 -> 13129 bytes
 img/team/chen_li.jpg                     |  Bin 0 -> 201361 bytes
 img/team/chris_hillery.jpg               |  Bin 0 -> 41901 bytes
 img/team/eugenia_gabrielova.jpg          |  Bin 0 -> 56914 bytes
 img/team/heri_ramampiaro.jpg             |  Bin 0 -> 7830 bytes
 img/team/ian_maxon.jpg                   |  Bin 0 -> 62312 bytes
 img/team/ildar_absalyamov.jpg            |  Bin 0 -> 145983 bytes
 img/team/inci_cetindil.jpg               |  Bin 0 -> 48971 bytes
 img/team/jarod_wen.png                   |  Bin 0 -> 53441 bytes
 img/team/ji_mahn_ok.jpg                  |  Bin 0 -> 19703 bytes
 img/team/jianfeng_jia.jpg                |  Bin 0 -> 191381 bytes
 img/team/keren_ouaknine.jpg              |  Bin 0 -> 76844 bytes
 img/team/khurram_faraaz.jpg              |  Bin 0 -> 37583 bytes
 img/team/madhusudan_cs.jpg               |  Bin 0 -> 39110 bytes
 img/team/michael_carey.jpg               |  Bin 0 -> 23667 bytes
 img/team/murtadha_hubail.jpg             |  Bin 0 -> 95702 bytes
 img/team/pouria_pirzadeh.jpg             |  Bin 0 -> 21742 bytes
 img/team/raman_grover.jpg                |  Bin 0 -> 23981 bytes
 img/team/sattam_alsubaiee.png            |  Bin 0 -> 42107 bytes
 img/team/steven_jacobs.jpg               |  Bin 0 -> 53265 bytes
 img/team/taewoo_kim.jpg                  |  Bin 0 -> 6771 bytes
 img/team/till_westmann.jpg               |  Bin 0 -> 11488 bytes
 img/team/vassilis_tsotras.jpg            |  Bin 0 -> 120018 bytes
 img/team/vinayak_borkar.jpg              |  Bin 0 -> 11957 bytes
 img/team/yingyi_bu.jpg                   |  Bin 0 -> 18014 bytes
 img/team/young_seok_kim.jpg              |  Bin 0 -> 128436 bytes
 img/team/zachary_heilbron.jpg            |  Bin 0 -> 37651 bytes
 img/twitter.png                          |  Bin 0 -> 2045 bytes
 img/uci_black.jpg                        |  Bin 0 -> 9761 bytes
 img/uci_white.png                        |  Bin 0 -> 224117 bytes
 img/ucr_black.jpg                        |  Bin 0 -> 16248 bytes
 img/ucr_white.png                        |  Bin 0 -> 67056 bytes
 img/yahoo.jpg                            |  Bin 0 -> 26781 bytes
 index.html                               |  492 +-
 install.html                             | 1211 -----
 js/apache-maven-fluido-1.3.0.min.js      |   21 -
 js/bootstrap.js                          | 2317 +++++++++
 js/bootstrap.min.js                      |    7 +
 js/npm.js                                |   13 +
 overview.html                            |  279 --
 pushing.html                             |  153 +
 128 files changed, 11160 insertions(+), 19431 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/blob/3dffc852/about.html
----------------------------------------------------------------------
diff --git a/about.html b/about.html
new file mode 100644
index 0000000..2a29662
--- /dev/null
+++ b/about.html
@@ -0,0 +1,125 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="icon" href="https://asterixdb.incubator.apache.org/favicon.ico">
+
+    <title>About AsterixDB</title>
+
+    <!-- Bootstrap core CSS -->
+    <link href="https://asterixdb.incubator.apache.org/css/bootstrap.min.css" rel="stylesheet">
+    <!-- Bootstrap theme -->
+
+    <!-- Custom styles for this template -->
+    <link href="https://asterixdb.incubator.apache.org/css/theme.css" rel="stylesheet">
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+    <!--[if lt IE 9]>
+      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+    <![endif]-->
+    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
+  </head>
+
+  <div class="container theme-showcase" role="main">
+  <div class="masthead">
+    <p class="lead">
+        <a href="https://asterixdb.incubator.apache.org/index.html"><img src="https://asterixdb.incubator.apache.org/img/asterixdb.png" style="height:75px; width:auto; vertical-align:bottom; margin-top:10px;"/></a>
+    </p>
+</div>
+
+<nav class="navbar navbar-default">
+        <div class="container">
+          <div class="navbar-header">
+            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
+              <span class="sr-only">Toggle navigation</span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+            </button>
+            <a class="navbar-brand" href="https://asterixdb.incubator.apache.org/index.html">Overview</a>
+          </div>
+          <div class="navbar-collapse collapse">
+            <ul class="nav navbar-nav">
+              <li><a href="https://asterixdb.incubator.apache.org/download.html">Download</a></li>
+              <li><a href="http://asterixdb.ics.uci.edu/documentation/index.html">Documentation  <i class="fa fa-external-link fa-sm"></i></a></li>
+              <li><a href="https://asterixdb.incubator.apache.org/about.html">About</a></li>
+              <li><a href="https://asterixdb.incubator.apache.org/community.html">Community</a></li>
+              <li class="dropdown">
+                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Contributing <span class="caret"></span></a>
+                <ul class="dropdown-menu" role="menu">
+                  <li class="dropdown-header">For New Contributors</li>
+                  <li><a href="https://asterixdb.incubator.apache.org/dev-setup.html">Development Setup</a></li>
+                  <li class="divider"></li>
+                  <li class="dropdown-header">For Committers</li>
+                  <li><a href="https://asterixdb.incubator.apache.org/pushing.html">Pushing changes</a></li>
+                </ul>
+              </li>
+            </ul>
+          </div><!--/.nav-collapse -->
+        </div>
+      </nav>
+
+
+  <div class="row">
+<div class="col-md-8 col-centered">
+<h2>About AsterixDB</h2>
+<p>AsterixDB is a highly scalable data management system that can store,index, and manage semi-structured data, e.g., much like MongoDB, butit also supports a full-power query language with the expressiveness of SQL (and more). Unlike analytics engines like Hive or Spark, it stores and manages data, so AsterixDB can exploit its knowledge of data partitioning and the availability of indexes to avoid always scanning data set(s) to process queries. Somewhat surprisingly, there is no open source parallel database system (relational or otherwise) available to developers today – AsterixDB aims to fill this need.</p>
+
+<h3 id="core-features">Core features</h3>
+
+<ul>
+  <li>A NoSQL style data model (ADM) based on extending JSON with object
+database concepts.</li>
+  <li>An expressive and declarative query language (AQL) for querying
+semi-structured data.</li>
+  <li>A runtime query execution engine, Hyracks, for partitioned-parallel
+execution of query plans.</li>
+  <li>Partitioned LSM-based data storage and indexing for efficient
+ingestion of newly arriving data.</li>
+  <li>Support for querying and indexing external data (e.g., in HDFS) as
+well as data stored within AsterixDB.</li>
+  <li>A rich set of primitive data types, including support for spatial,
+temporal, and textual data.</li>
+  <li>Indexing options that include B+ trees, R trees, and inverted
+keyword index support.</li>
+  <li>Basic transactional (concurrency and recovery) capabilities akin to
+those of a NoSQL store.</li>
+</ul>
+
+<h3 id="history">History</h3>
+<p>The current version of AsterixDB was co-developed by a team of faculty, staff, and students at UC Irvine and UC Riverside. The project was initiated as a large NSF-sponsored project in 2009, the goal of which was to combine the best ideas from the parallel database world, the then new Hadoop world, and the semi-structured (e.g., XML/JSON) data world in order to create a next-generation BDMS. A first informal open source release was made four years later, in June of 2013, under the Apache Software License 2.0. AsterixDB was accepted into the Apache Incubator and began Incubation as of Febuary of 2015.</p>
+
+
+</div>
+</div>
+
+
+   <hr />
+
+   <footer>
+        <div class="row">
+        <div class="col-md-6 col-md-offset-3  text-center">
+        <p>&copy; Copyright 2015 The Apache Software foundation. All Rights Reserved. </p>
+        <p>Apache AsterixDB, Apache, and the Apache feather logo are trademarks of the Apache Software Foundation</p>
+        </div>
+        <div class="col-md-1 text-right">
+        <img src="https://asterixdb.incubator.apache.org/img/egg-logo.png" style="height:auto; width:200px; vertical-align:bottom;"/>
+        </div>
+        </div>
+   </footer>
+    </div> <!-- /container -->
+
+
+    <!-- Bootstrap core JavaScript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
+    <script src="https://asterixdb.incubator.apache.org/js/bootstrap.min.js"></script>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/blob/3dffc852/api.html
----------------------------------------------------------------------
diff --git a/api.html b/api.html
deleted file mode 100644
index f614dc3..0000000
--- a/api.html
+++ /dev/null
@@ -1,543 +0,0 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia at 2015-05-31
- | Rendered using Apache Maven Fluido Skin 1.3.0
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20150531" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>AsterixDB - </title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
-    <link rel="stylesheet" href="./css/site.css" />
-    <link rel="stylesheet" href="./css/print.css" media="print" />
-
-      
-    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
-
-    
-            </head>
-        <body class="topBarDisabled">
-          
-                
-                    
-    
-        <div class="container-fluid">
-          <div id="banner">
-        <div class="pull-left">
-                                                  <a href="./" id="bannerLeft">
-                                                                                                <img src="images/asterixlogo.png"  alt="AsterixDB"/>
-                </a>
-                      </div>
-        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
-                                                                                                <img src="images/egg-logo.png"  alt="Apache Software Foundation Incubator"/>
-                </a>
-      </div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-                
-                    
-                  <li id="publishDate">Last Published: 2015-05-31</li>
-                      
-                
-                    
-                 <li id="projectVersion" class="pull-right">Version: 0.8.7-SNAPSHOT</li>
-      
-                                            <li class="divider pull-right">|</li>
-                        
-    <li class="pull-right">              <a href="index.html" title="Home">
-        Home</a>
-  </li>
-
-                        </ul>
-      </div>
-
-            
-      <div class="row-fluid">
-        <div id="leftColumn" class="span3">
-          <div class="well sidebar-nav">
-                
-                    
-                <ul class="nav nav-list">
-                    <li class="nav-header">Apache Software Foundation</li>
-                                
-      <li>
-    
-                          <a href="http://www.apache.org/" class="externalLink" title="Home">
-          <i class="none"></i>
-        Home</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Donate">
-          <i class="none"></i>
-        Donate</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
-          <i class="none"></i>
-        Thanks</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/security/" class="externalLink" title="Security">
-          <i class="none"></i>
-        Security</a>
-            </li>
-                              <li class="nav-header">User Documentation</li>
-                                
-      <li>
-    
-                          <a href="install.html" title="Installing and Managing AsterixDB using Managix">
-          <i class="none"></i>
-        Installing and Managing AsterixDB using Managix</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/primer.html" title="AsterixDB 101: An ADM and AQL Primer">
-          <i class="none"></i>
-        AsterixDB 101: An ADM and AQL Primer</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/primer-sql-like.html" title="AsterixDB 101: An ADM and AQL Primer (For SQL Fans)">
-          <i class="none"></i>
-        AsterixDB 101: An ADM and AQL Primer (For SQL Fans)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/js-sdk.html" title="AsterixDB Javascript SDK">
-          <i class="none"></i>
-        AsterixDB Javascript SDK</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/datamodel.html" title="Asterix Data Model (ADM)">
-          <i class="none"></i>
-        Asterix Data Model (ADM)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/manual.html" title="Asterix Query Language (AQL)">
-          <i class="none"></i>
-        Asterix Query Language (AQL)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/functions.html" title="AQL Functions">
-          <i class="none"></i>
-        AQL Functions</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/allens.html" title="AQL Allen's Relations Functions">
-          <i class="none"></i>
-        AQL Allen's Relations Functions</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/similarity.html" title="AQL Support of Similarity Queries">
-          <i class="none"></i>
-        AQL Support of Similarity Queries</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/externaldata.html" title="Accessing External Data">
-          <i class="none"></i>
-        Accessing External Data</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="aql/filters.html" title="Filter-Based LSM Index Acceleration">
-          <i class="none"></i>
-        Filter-Based LSM Index Acceleration</a>
-            </li>
-                  
-      <li class="active">
-    
-            <a href="#"><i class="none"></i>REST API to AsterixDB</a>
-          </li>
-            </ul>
-                
-                    
-                
-          <hr class="divider" />
-
-           <div id="poweredBy">
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                                                                                                                         <a href="./" title="Hyracks" class="builtBy">
-        <img class="builtBy"  alt="Hyracks" src="images/hyrax_ts.png"    />
-      </a>
-                      </div>
-          </div>
-        </div>
-        
-                
-        <div id="bodyColumn"  class="span9" >
-                                  
-            <h1>REST API to AsterixDB</h1>
-<div class="section">
-<h2><a name="toc" id="toc">Table of Contents</a><a name="Table_of_Contents"></a></h2>
-
-<ul>
-  
-<li><a href="#DdlApi">DDL API</a></li>
-  
-<li><a href="#UpdateApi">Update API</a></li>
-  
-<li><a href="#QueryApi">Query API</a></li>
-  
-<li><a href="#AsynchronousResultApi">Asynchronous Result API</a></li>
-  
-<li><a href="#QueryStatusApi">Query Status API</a></li>
-  
-<li><a href="#ErrorCodes">Error Codes</a></li>
-</ul></div>
-<div class="section">
-<h2><a name="DdlApi" id="DdlApi">DDL API</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="DDL_API_Back_to_TOC"></a></h2>
-<p><i>End point for the data definition statements</i></p>
-<p>Endpoint: <i>/ddl</i></p>
-<p>Parameters:</p>
-
-<table border="0" class="table table-striped">
-
-<tr class="a">
-  
-<td>Parameter</td>
-  
-<td>Description</td>
-  
-<td>Required?</td>
-</tr>
-
-<tr class="b">
-  
-<td>ddl</td>
-  
-<td>String containing DDL statements to modify Metadata</td>
-  
-<td>Yes</td>
-</tr>
-</table>
-<p>This call does not return any result. If the operations were successful, HTTP OK status code is returned.</p>
-<div class="section">
-<h3>Example<a name="Example"></a></h3>
-<div class="section">
-<h4>DDL Statements<a name="DDL_Statements"></a></h4>
-
-<div class="source">
-<pre>    drop dataverse company if exists;
-    create dataverse company;
-    use dataverse company;
-
-    create type Emp as open {
-      id : int32,
-      name : string
-    };
-
-    create dataset Employee(Emp) primary key id;
-</pre></div>
-<p>API call for the above DDL statements in the URL-encoded form.</p>
-<p>[http://localhost:19002/ddl?ddl=drop%20dataverse%20company%20if%20exists;create%20dataverse%20company;use%20dataverse%20company;create%20type%20Emp%20as%20open%20{id%20:%20int32,name%20:%20string};create%20dataset%20Employee(Emp)%20primary%20key%20id;](<a class="externalLink" href="http://localhost:19002/ddl?ddl=drop%20dataverse%20company%20if%20exists;create%20dataverse%20company;use%20dataverse%20company;create%20type%20Emp%20as%20open%20{id%20:%20int32,name%20:%20string};create%20dataset%20Employee(Emp)%20primary%20key%20id;">http://localhost:19002/ddl?ddl=drop%20dataverse%20company%20if%20exists;create%20dataverse%20company;use%20dataverse%20company;create%20type%20Emp%20as%20open%20{id%20:%20int32,name%20:%20string};create%20dataset%20Employee(Emp)%20primary%20key%20id;</a>)</p></div>
-<div class="section">
-<h4>Response<a name="Response"></a></h4>
-<p><i>HTTP OK 200</i><br /><tt>&lt;NO PAYLOAD&gt;</tt></p></div></div></div>
-<div class="section">
-<h2><a name="UpdateApi" id="UpdateApi">Update API</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Update_API_Back_to_TOC"></a></h2>
-<p><i>End point for update statements (INSERT, DELETE and LOAD)</i></p>
-<p>Endpoint: <i>/update</i></p>
-<p>Parameters:</p>
-
-<table border="0" class="table table-striped">
-
-<tr class="a">
-  
-<td>Parameter</td>
-  
-<td>Description</td>
-  
-<td>Required?</td>
-</tr>
-
-<tr class="b">
-  
-<td>statements</td>
-  
-<td>String containing update (insert/delete) statements to execute</td>
-  
-<td>Yes</td>
-</tr>
-</table>
-<p>This call does not return any result. If the operations were successful, HTTP OK status code is returned.</p>
-<div class="section">
-<h3>Example<a name="Example"></a></h3>
-<div class="section">
-<h4>Update Statements<a name="Update_Statements"></a></h4>
-
-<div class="source">
-<pre>    use dataverse company;
-
-    insert into dataset Employee({ &quot;id&quot;:123,&quot;name&quot;:&quot;John Doe&quot;});
-</pre></div>
-<p>API call for the above update statement in the URL-encoded form.</p>
-<p>[http://localhost:19002/update?statements=use%20dataverse%20company;insert%20into%20dataset%20Employee({%20%22id%22:123,%22name%22:%22John%20Doe%22});](<a class="externalLink" href="http://localhost:19002/update?statements=use%20dataverse%20company;insert%20into%20dataset%20Employee({%20%22id%22:123,%22name%22:%22John%20Doe%22});">http://localhost:19002/update?statements=use%20dataverse%20company;insert%20into%20dataset%20Employee({%20%22id%22:123,%22name%22:%22John%20Doe%22});</a>)</p></div>
-<div class="section">
-<h4>Response<a name="Response"></a></h4>
-<p><i>HTTP OK 200</i><br /><tt>&lt;NO PAYLOAD&gt;</tt></p></div></div></div>
-<div class="section">
-<h2><a name="QueryApi" id="QueryApi">Query API</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Query_API_Back_to_TOC"></a></h2>
-<p><i>End point for query statements</i></p>
-<p>Endpoint: <i>/query</i></p>
-<p>Parameters:</p>
-
-<table border="0" class="table table-striped">
-
-<tr class="a">
-  
-<td>Parameter</td>
-  
-<td>Description</td>
-  
-<td>Required?</td>
-</tr>
-
-<tr class="b">
-  
-<td>query</td>
-  
-<td>Query string to pass to ASTERIX for execution</td>
-  
-<td>Yes</td>
-</tr>
-
-<tr class="a">
-  
-<td>mode</td>
-  
-<td>Indicate if call should be synchronous or asynchronous. mode = synchronous blocks the call until results are available; mode = asynchronous returns immediately with a handle that can be used later to check the query&#x2019;s status and to fetch results when available</td>
-  
-<td>No. default mode = synchronous</td>
-</tr>
-</table>
-<p>Result: The result is returned as a JSON object as follows</p>
-
-<div class="source">
-<pre>    {
-       results: &lt;result as a string, if mode = synchronous&gt;
-       error-code: [&lt;code&gt;, &lt;message&gt;] (if an error occurs)
-       handle: &lt;opaque result handle, if mode = asynchronous&gt;
-    }
-</pre></div>
-<div class="section">
-<h3>Example<a name="Example"></a></h3>
-<div class="section">
-<h4>Select query with synchronous result delivery<a name="Select_query_with_synchronous_result_delivery"></a></h4>
-
-<div class="source">
-<pre>    use dataverse company;
-
-    for $l in dataset('Employee') return $l;
-</pre></div>
-<p>API call for the above query statement in the URL-encoded form.</p>
-<p>[http://localhost:19002/query?query=use%20dataverse%20company;for%20$l%20in%20dataset(&#x2018;Employee&#x2019;)%20return%20$l;](<a class="externalLink" href="http://localhost:19002/query?query=use%20dataverse%20company;for%20$l%20in%20dataset(&apos;Employee&apos;)%20return%20$l;">http://localhost:19002/query?query=use%20dataverse%20company;for%20$l%20in%20dataset('Employee')%20return%20$l;</a>)</p></div>
-<div class="section">
-<h4>Response<a name="Response"></a></h4>
-<p><i>HTTP OK 200</i><br />Payload</p>
-
-<div class="source">
-<pre>    {
-      &quot;results&quot;: [
-          [
-              &quot;{ &quot;id&quot;: 123, &quot;name&quot;: &quot;John Doe&quot; }&quot;
-          ]
-      ]
-    }
-</pre></div></div>
-<div class="section">
-<h4>Same select query with asynchronous result delivery<a name="Same_select_query_with_asynchronous_result_delivery"></a></h4>
-<p>API call for the above query statement in the URL-encoded form with mode=asynchronous</p>
-<p>[http://localhost:19002/query?query=use%20dataverse%20company;for%20$l%20in%20dataset(&#x2018;Employee&#x2019;)%20return%20$l;&amp;mode=asynchronous](<a class="externalLink" href="http://localhost:19002/query?query=use%20dataverse%20company;for%20$l%20in%20dataset(&apos;Employee&apos;)%20return%20$l;&amp;mode=asynchronous">http://localhost:19002/query?query=use%20dataverse%20company;for%20$l%20in%20dataset('Employee')%20return%20$l;&amp;mode=asynchronous</a>)</p></div>
-<div class="section">
-<h4>Response<a name="Response"></a></h4>
-<p><i>HTTP OK 200</i><br />Payload</p>
-
-<div class="source">
-<pre>    {
-        &quot;handle&quot;: [45,0]
-    }
-</pre></div></div></div></div>
-<div class="section">
-<h2><a name="AsynchronousResultApi" id="AsynchronousResultApi">Asynchronous Result API</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Asynchronous_Result_API_Back_to_TOC"></a></h2>
-<p><i>End point to fetch the results of an asynchronous query</i></p>
-<p>Endpoint: <i>/query/result</i></p>
-<p>Parameters:</p>
-
-<table border="0" class="table table-striped">
-
-<tr class="a">
-  
-<td>Parameter</td>
-  
-<td>Description</td>
-  
-<td>Required?</td>
-</tr>
-
-<tr class="b">
-  
-<td>handle</td>
-  
-<td>Result handle that was returned by a previous call to a /query call with mode = asynchronous</td>
-  
-<td>Yes</td>
-</tr>
-</table>
-<p>Result: The result is returned as a JSON object as follows:</p>
-
-<div class="source">
-<pre>    {
-       results: &lt;result as a string, if mode = synchronous, or mode = asynchronous and results are available&gt;
-       error-code: [&lt;code&gt;, &lt;message&gt;] (if an error occurs)
-    }
-</pre></div>
-<p>If mode = asynchronous and results are not available, the returned JSON object is empty: { }</p>
-<div class="section">
-<h3>Example<a name="Example"></a></h3>
-<div class="section">
-<h4>Fetching results for asynchronous query<a name="Fetching_results_for_asynchronous_query"></a></h4>
-<p>We use the handle returned by the asynchronous query to get the results for the query. The handle returned was:</p>
-
-<div class="source">
-<pre>    {
-        &quot;handle&quot;: [45,0]
-    }
-</pre></div>
-<p>API call for reading results from the previous asynchronous query in the URL-encoded form.</p>
-<p><a class="externalLink" href="http://localhost:19002/query/result?handle=%7B%22handle%22%3A+%5B45%2C+0%5D%7D">http://localhost:19002/query/result?handle=%7B%22handle%22%3A+%5B45%2C+0%5D%7D</a></p></div>
-<div class="section">
-<h4>Response<a name="Response"></a></h4>
-<p><i>HTTP OK 200</i><br />Payload</p>
-
-<div class="source">
-<pre>    {
-      &quot;results&quot;: [
-          [
-              &quot;{ &quot;id&quot;: 123, &quot;name&quot;: &quot;John Doe&quot; }&quot;
-          ]
-      ]
-    }
-</pre></div></div></div></div>
-<div class="section">
-<h2><a name="QueryStatusApi" id="QueryStatusApi">Query Status API</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Query_Status_API_Back_to_TOC"></a></h2>
-<p><i>End point to check the status of the query asynchronous</i></p>
-<p>Endpoint: <i>/query/status</i></p>
-<p>Parameters:</p>
-
-<table border="0" class="table table-striped">
-
-<tr class="a">
-  
-<td>Parameter</td>
-  
-<td>Description</td>
-  
-<td>Required?</td>
-</tr>
-
-<tr class="b">
-  
-<td>handle</td>
-  
-<td>Result handle that was returned by a previous call to a /query call with mode = asynchronous</td>
-  
-<td>Yes</td>
-</tr>
-</table>
-<p>Result: The result is returned as a JSON object as follows:</p>
-
-<div class="source">
-<pre>    {
-       status: (&quot;RUNNING&quot; | &quot;SUCCESS&quot; | &quot;ERROR&quot;)
-    }
-</pre></div></div>
-<div class="section">
-<h2><a name="ErrorCodes" id="ErrorCodes">Error Codes</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Error_Codes_Back_to_TOC"></a></h2>
-<p>Table of error codes and their types:</p>
-
-<table border="0" class="table table-striped">
-
-<tr class="a">
-  
-<td>Code</td>
-  
-<td>Type</td>
-</tr>
-
-<tr class="b">
-  
-<td>1</td>
-  
-<td>Invalid statement</td>
-</tr>
-
-<tr class="a">
-  
-<td>2</td>
-  
-<td>Parse failures</td>
-</tr>
-
-<tr class="b">
-  
-<td>99</td>
-  
-<td>Uncategorized error</td>
-</tr>
-</table></div>
-                  </div>
-            </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container-fluid">
-              <div class="row span12">Copyright &copy;                   2015.
-          All Rights Reserved.      
-                    
-      </div>
-
-                                                                  <?xml version="1.0" encoding="UTF-8"?>
-<div class="row-fluid">Apache AsterixDB, AsterixDB, Apache, the Apache
-        feather logo, and the Apache AsterixDB project logo are either
-        registered trademarks or trademarks of The Apache Software
-        Foundation in the United States and other countries.
-        All other marks mentioned may be trademarks or registered
-        trademarks of their respective owners.</div>
-                  
-        
-                </div>
-    </footer>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/blob/3dffc852/aql/allens.html
----------------------------------------------------------------------
diff --git a/aql/allens.html b/aql/allens.html
deleted file mode 100644
index b5efbd7..0000000
--- a/aql/allens.html
+++ /dev/null
@@ -1,615 +0,0 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia at 2015-05-31
- | Rendered using Apache Maven Fluido Skin 1.3.0
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20150531" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>AsterixDB - </title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-
-      
-    <script type="text/javascript" src="../js/apache-maven-fluido-1.3.0.min.js"></script>
-
-    
-            </head>
-        <body class="topBarDisabled">
-          
-                
-                    
-    
-        <div class="container-fluid">
-          <div id="banner">
-        <div class="pull-left">
-                                                  <a href=".././" id="bannerLeft">
-                                                                                                <img src="../images/asterixlogo.png"  alt="AsterixDB"/>
-                </a>
-                      </div>
-        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
-                                                                                                <img src="../images/egg-logo.png"  alt="Apache Software Foundation Incubator"/>
-                </a>
-      </div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-                
-                    
-                  <li id="publishDate">Last Published: 2015-05-31</li>
-                      
-                
-                    
-                 <li id="projectVersion" class="pull-right">Version: 0.8.7-SNAPSHOT</li>
-      
-                                            <li class="divider pull-right">|</li>
-                        
-    <li class="pull-right">              <a href="../index.html" title="Home">
-        Home</a>
-  </li>
-
-                        </ul>
-      </div>
-
-            
-      <div class="row-fluid">
-        <div id="leftColumn" class="span3">
-          <div class="well sidebar-nav">
-                
-                    
-                <ul class="nav nav-list">
-                    <li class="nav-header">Apache Software Foundation</li>
-                                
-      <li>
-    
-                          <a href="http://www.apache.org/" class="externalLink" title="Home">
-          <i class="none"></i>
-        Home</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Donate">
-          <i class="none"></i>
-        Donate</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
-          <i class="none"></i>
-        Thanks</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/security/" class="externalLink" title="Security">
-          <i class="none"></i>
-        Security</a>
-            </li>
-                              <li class="nav-header">User Documentation</li>
-                                
-      <li>
-    
-                          <a href="../install.html" title="Installing and Managing AsterixDB using Managix">
-          <i class="none"></i>
-        Installing and Managing AsterixDB using Managix</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/primer.html" title="AsterixDB 101: An ADM and AQL Primer">
-          <i class="none"></i>
-        AsterixDB 101: An ADM and AQL Primer</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/primer-sql-like.html" title="AsterixDB 101: An ADM and AQL Primer (For SQL Fans)">
-          <i class="none"></i>
-        AsterixDB 101: An ADM and AQL Primer (For SQL Fans)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/js-sdk.html" title="AsterixDB Javascript SDK">
-          <i class="none"></i>
-        AsterixDB Javascript SDK</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/datamodel.html" title="Asterix Data Model (ADM)">
-          <i class="none"></i>
-        Asterix Data Model (ADM)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/manual.html" title="Asterix Query Language (AQL)">
-          <i class="none"></i>
-        Asterix Query Language (AQL)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/functions.html" title="AQL Functions">
-          <i class="none"></i>
-        AQL Functions</a>
-            </li>
-                  
-      <li class="active">
-    
-            <a href="#"><i class="none"></i>AQL Allen's Relations Functions</a>
-          </li>
-                  
-      <li>
-    
-                          <a href="../aql/similarity.html" title="AQL Support of Similarity Queries">
-          <i class="none"></i>
-        AQL Support of Similarity Queries</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/externaldata.html" title="Accessing External Data">
-          <i class="none"></i>
-        Accessing External Data</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/filters.html" title="Filter-Based LSM Index Acceleration">
-          <i class="none"></i>
-        Filter-Based LSM Index Acceleration</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../api.html" title="REST API to AsterixDB">
-          <i class="none"></i>
-        REST API to AsterixDB</a>
-            </li>
-            </ul>
-                
-                    
-                
-          <hr class="divider" />
-
-           <div id="poweredBy">
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                                                                                                                         <a href=".././" title="Hyracks" class="builtBy">
-        <img class="builtBy"  alt="Hyracks" src="../images/hyrax_ts.png"    />
-      </a>
-                      </div>
-          </div>
-        </div>
-        
-                
-        <div id="bodyColumn"  class="span9" >
-                                  
-            <h1>AsterixDB Temporal Functions: Allen&#x2019;s Relations</h1>
-<div class="section">
-<h2><a name="toc" id="toc">Table of Contents</a><a name="Table_of_Contents"></a></h2>
-
-<ul>
-  
-<li><a href="#AboutAllensRelations">About Allen&#x2019;s Relations</a></li>
-  
-<li><a href="#AllensRelatonsFunctions">Allen&#x2019;s Relations Functions</a></li>
-</ul></div>
-<div class="section">
-<h2><a name="AboutAllensRelations" id="AboutAllensRelations">About Allen&#x2019;s Relations</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="About_Allens_Relations_Back_to_TOC"></a></h2>
-<p>AsterixDB supports Allen&#x2019;s relations over interval types. Allen&#x2019;s relations are also called Allen&#x2019;s interval algebra. There are totally 13 base relations described by this algebra, and all of them are supported in AsterixDB (note that <tt>interval-equals</tt> is supported by the <tt>=</tt> comparison symbol so there is no extra function for it). </p>
-<p>A detailed description of Allen&#x2019;s relations can be found from its <a class="externalLink" href="http://en.wikipedia.org/wiki/Allen&apos;s_interval_algebra">wikipedia entry</a>. </p></div>
-<div class="section">
-<h2><a name="AllensRelatonsFunctions" id="AllensRelatonsFunctions">Allen&#x2019;s Relations Functions</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Allens_Relations_Functions_Back_to_TOC"></a></h2>
-<div class="section">
-<h3>interval-before, interval-after<a name="interval-before_interval-after"></a></h3>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-before(interval1, interval2)
-interval-after(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>These two functions check whether an interval happens before/after another interval. </p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-before(interval1, interval2)</tt> is true if and only if <tt>interval1.end &lt; interval2.start</tt>, and <tt>interval-after(interval1, interval2)</tt> is true if and only if <tt>interval1.start &gt; interval2.end</tt>. If any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;2005-05-01&quot;, &quot;2012-09-09&quot;)
-return {&quot;interval-before&quot;: interval-before($itv1, $itv2), &quot;interval-after&quot;: interval-after($itv2, $itv1)}
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;interval-before&quot;: true, &quot;interval-after&quot;: true }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3>interval-covers, interval-covered-by<a name="interval-covers_interval-covered-by"></a></h3>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-covers(interval1, interval2)
-interval-covered-by(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>These two functions check whether one interval covers the other interval.</p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-covers(interval1, interval2)</tt> is true if and only if</p>
-  
-<div class="source">
-<pre>interval1.start &lt;= interval2.start
-AND interval1.end &gt;= interval2.end
-</pre></div>
-<p><tt>interval-covered-by(interval1, interval2)</tt> is true if and only if</p>
-  
-<div class="source">
-<pre>interval2.start &lt;= interval1.start
-AND interval2.end &gt;= interval1.end
-</pre></div>
-<p>For both functions, if any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;2000-03-01&quot;, &quot;2004-09-09&quot;)
-let $itv3 := interval-from-date(&quot;2006-08-01&quot;, &quot;2007-03-01&quot;)
-let $itv4 := interval-from-date(&quot;2004-09-10&quot;, &quot;2012-08-01&quot;)
-return {&quot;interval-covers&quot;: interval-covers($itv1, $itv2), &quot;interval-covered-by&quot;: interval-covered-by($itv3, $itv4)}
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;interval-covers&quot;: true, &quot;interval-covered-by&quot;: true }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3>interval-overlaps, interval-overlapped-by<a name="interval-overlaps_interval-overlapped-by"></a></h3>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-overlaps(interval1, interval2)
-interval-overlapped-by(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>These functions check whether two intervals overlap with each other.</p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-overlaps(interval1, interval2)</tt> is true if and only if</p>
-  
-<div class="source">
-<pre>interval1.start &lt; interval2.start
-AND interval2.end &gt; interval1.end
-AND interval1.end &gt; interval2.start
-</pre></div>
-<p><tt>interval-overlapped-by(interval1, interval2)</tt> is true if and only if</p>
-  
-<div class="source">
-<pre>interval2.start &lt; interval1.start
-AND interval1.end &gt; interval2.end
-AND interval2.end &gt; interval1.start
-</pre></div>
-<p>For all these functions, if any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p>
-<p>Note that <tt>interval-overlaps</tt> and <tt>interval-overlapped-by</tt> are following the Allen&#x2019;s relations on the definition of overlap.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;2004-05-01&quot;, &quot;2012-09-09&quot;)
-let $itv3 := interval-from-date(&quot;2006-08-01&quot;, &quot;2007-03-01&quot;)
-let $itv4 := interval-from-date(&quot;2004-09-10&quot;, &quot;2006-12-31&quot;)
-return {&quot;overlaps&quot;: interval-overlaps($itv1, $itv2), 
-        &quot;overlapped-by&quot;: interval-overlapped-by($itv3, $itv4)}
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;overlaps&quot;: true, &quot;overlapped-by&quot;: true }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3>interval-overlapping<a name="interval-overlapping"></a></h3>
-<p>Note that <tt>interval-overlapping</tt> is not an Allen&#x2019;s Relation, but syntactic sugar we added for the case that the intersect of two intervals is not empty. Basically this function returns true if any of these functions return true: <tt>interval-overlaps</tt>, <tt>interval-overlapped-by</tt>, <tt>interval-covers</tt>, or <tt>interval-covered-by</tt>.</p>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-overlapping(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>This functions check whether two intervals share any points with each other. </p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-overlapping(interval1, interval2)</tt> is true if</p>
-  
-<div class="source">
-<pre>(interval2.start &gt;= interval1.start
-AND interval2.start &lt; interval1.end)
-OR
-(interval2.end &gt; interval1.start
-AND interval2.end &lt;= interval1.end)
-</pre></div>
-<p>If any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;2004-05-01&quot;, &quot;2012-09-09&quot;)
-let $itv3 := interval-from-date(&quot;2006-08-01&quot;, &quot;2007-03-01&quot;)
-let $itv4 := interval-from-date(&quot;2004-09-10&quot;, &quot;2006-12-31&quot;)
-return {&quot;overlapping1&quot;: interval-overlapping($itv1, $itv2), 
-        &quot;overlapping2&quot;: interval-overlapping($itv3, $itv4)}
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;overlapping1&quot;: true, &quot;overlapping2&quot;: true }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3>interval-meets, interval-met-by<a name="interval-meets_interval-met-by"></a></h3>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-meets(interval1, interval2)
-interval-met-by(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>These two functions check whether an interval meets with another interval. </p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-meets(interval1, interval2)</tt> is true if and only if <tt>interval1.end = interval2.start</tt>, and <tt>interval-met-by(interval1, interval2)</tt> is true if and only if <tt>interval1.start = interval2.end</tt>. If any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;2005-01-01&quot;, &quot;2012-09-09&quot;)
-let $itv3 := interval-from-date(&quot;2006-08-01&quot;, &quot;2007-03-01&quot;)
-let $itv4 := interval-from-date(&quot;2004-09-10&quot;, &quot;2006-08-01&quot;)
-return {&quot;meets&quot;: interval-meets($itv1, $itv2), &quot;metby&quot;: interval-met-by($itv3, $itv4)}
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;meets&quot;: true, &quot;metby&quot;: true }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3>interval-starts, interval-started-by<a name="interval-starts_interval-started-by"></a></h3>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-starts(interval1, interval2)
-interval-started-by(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>These two functions check whether one interval starts with the other interval.</p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-starts(interval1, interval2)</tt> returns true if and only if</p>
-  
-<div class="source">
-<pre>interval1.start = interval2.start
-AND interval1.end &lt;= interval2.end
-</pre></div>
-<p><tt>interval-started-by(interval1, interval2)</tt> returns true if and only if</p>
-  
-<div class="source">
-<pre>interval1.start = interval2.start
-AND interval2.end &lt;= interval1.end
-</pre></div>
-<p>For both functions, if any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;2000-01-01&quot;, &quot;2012-09-09&quot;)
-let $itv3 := interval-from-date(&quot;2006-08-01&quot;, &quot;2007-03-01&quot;)
-let $itv4 := interval-from-date(&quot;2006-08-01&quot;, &quot;2006-08-01&quot;)
-return {&quot;interval-starts&quot;: interval-starts($itv1, $itv2), &quot;interval-started-by&quot;: interval-started-by($itv3, $itv4)}
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;interval-starts&quot;: true, &quot;interval-started-by&quot;: true }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3>interval-ends, interval-ended-by<a name="interval-ends_interval-ended-by"></a></h3>
-
-<ul>
-  
-<li>
-<p>Syntax:</p>
-  
-<div class="source">
-<pre>interval-ends(interval1, interval2)
-interval-ended-by(interval1, interval2)
-</pre></div></li>
-  
-<li>
-<p>These two functions check whether one interval ends with the other interval.</p></li>
-  
-<li>Arguments:
-  
-<ul>
-    
-<li><tt>interval1</tt>, <tt>interval2</tt>: two intervals to be compared</li>
-  </ul></li>
-  
-<li>
-<p>Return Value:</p>
-<p>A <tt>boolean</tt> value. Specifically, <tt>interval-ends(interval1, interval2)</tt> returns true if and only if</p>
-  
-<div class="source">
-<pre>interval1.end = interval2.end
-AND interval1.start &gt;= interval2.start
-</pre></div>
-<p><tt>interval-ended-by(interval1, interval2)</tt> returns true if and only if</p>
-  
-<div class="source">
-<pre>interval2.end = interval1.end
-AND interval2.start &gt;= interval1.start
-</pre></div>
-<p>For both functions, if any of the two inputs is <tt>null</tt>, <tt>null</tt> is returned.</p></li>
-  
-<li>
-<p>Examples:</p>
-  
-<div class="source">
-<pre>let $itv1 := interval-from-date(&quot;2000-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv2 := interval-from-date(&quot;1998-01-01&quot;, &quot;2005-01-01&quot;)
-let $itv3 := interval-from-date(&quot;2006-08-01&quot;, &quot;2007-03-01&quot;)
-let $itv4 := interval-from-date(&quot;2006-09-10&quot;, &quot;2007-03-01&quot;)
-return {&quot;interval-ends&quot;: interval-ends($itv1, $itv2), &quot;interval-ended-by&quot;: interval-ended-by($itv3, $itv4) }
-</pre></div></li>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;interval-ends&quot;: true, &quot;interval-ended-by&quot;: true }
-</pre></div></li>
-</ul></div></div>
-                  </div>
-            </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container-fluid">
-              <div class="row span12">Copyright &copy;                   2015.
-          All Rights Reserved.      
-                    
-      </div>
-
-                                                                  <?xml version="1.0" encoding="UTF-8"?>
-<div class="row-fluid">Apache AsterixDB, AsterixDB, Apache, the Apache
-        feather logo, and the Apache AsterixDB project logo are either
-        registered trademarks or trademarks of The Apache Software
-        Foundation in the United States and other countries.
-        All other marks mentioned may be trademarks or registered
-        trademarks of their respective owners.</div>
-                  
-        
-                </div>
-    </footer>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-site/blob/3dffc852/aql/datamodel.html
----------------------------------------------------------------------
diff --git a/aql/datamodel.html b/aql/datamodel.html
deleted file mode 100644
index 9e7b87a..0000000
--- a/aql/datamodel.html
+++ /dev/null
@@ -1,707 +0,0 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia at 2015-05-31
- | Rendered using Apache Maven Fluido Skin 1.3.0
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20150531" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>AsterixDB - </title>
-    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
-    <link rel="stylesheet" href="../css/site.css" />
-    <link rel="stylesheet" href="../css/print.css" media="print" />
-
-      
-    <script type="text/javascript" src="../js/apache-maven-fluido-1.3.0.min.js"></script>
-
-    
-            </head>
-        <body class="topBarDisabled">
-          
-                
-                    
-    
-        <div class="container-fluid">
-          <div id="banner">
-        <div class="pull-left">
-                                                  <a href=".././" id="bannerLeft">
-                                                                                                <img src="../images/asterixlogo.png"  alt="AsterixDB"/>
-                </a>
-                      </div>
-        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
-                                                                                                <img src="../images/egg-logo.png"  alt="Apache Software Foundation Incubator"/>
-                </a>
-      </div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-                
-                    
-                  <li id="publishDate">Last Published: 2015-05-31</li>
-                      
-                
-                    
-                 <li id="projectVersion" class="pull-right">Version: 0.8.7-SNAPSHOT</li>
-      
-                                            <li class="divider pull-right">|</li>
-                        
-    <li class="pull-right">              <a href="../index.html" title="Home">
-        Home</a>
-  </li>
-
-                        </ul>
-      </div>
-
-            
-      <div class="row-fluid">
-        <div id="leftColumn" class="span3">
-          <div class="well sidebar-nav">
-                
-                    
-                <ul class="nav nav-list">
-                    <li class="nav-header">Apache Software Foundation</li>
-                                
-      <li>
-    
-                          <a href="http://www.apache.org/" class="externalLink" title="Home">
-          <i class="none"></i>
-        Home</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Donate">
-          <i class="none"></i>
-        Donate</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
-          <i class="none"></i>
-        Thanks</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/security/" class="externalLink" title="Security">
-          <i class="none"></i>
-        Security</a>
-            </li>
-                              <li class="nav-header">User Documentation</li>
-                                
-      <li>
-    
-                          <a href="../install.html" title="Installing and Managing AsterixDB using Managix">
-          <i class="none"></i>
-        Installing and Managing AsterixDB using Managix</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/primer.html" title="AsterixDB 101: An ADM and AQL Primer">
-          <i class="none"></i>
-        AsterixDB 101: An ADM and AQL Primer</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/primer-sql-like.html" title="AsterixDB 101: An ADM and AQL Primer (For SQL Fans)">
-          <i class="none"></i>
-        AsterixDB 101: An ADM and AQL Primer (For SQL Fans)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/js-sdk.html" title="AsterixDB Javascript SDK">
-          <i class="none"></i>
-        AsterixDB Javascript SDK</a>
-            </li>
-                  
-      <li class="active">
-    
-            <a href="#"><i class="none"></i>Asterix Data Model (ADM)</a>
-          </li>
-                  
-      <li>
-    
-                          <a href="../aql/manual.html" title="Asterix Query Language (AQL)">
-          <i class="none"></i>
-        Asterix Query Language (AQL)</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/functions.html" title="AQL Functions">
-          <i class="none"></i>
-        AQL Functions</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/allens.html" title="AQL Allen's Relations Functions">
-          <i class="none"></i>
-        AQL Allen's Relations Functions</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/similarity.html" title="AQL Support of Similarity Queries">
-          <i class="none"></i>
-        AQL Support of Similarity Queries</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/externaldata.html" title="Accessing External Data">
-          <i class="none"></i>
-        Accessing External Data</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../aql/filters.html" title="Filter-Based LSM Index Acceleration">
-          <i class="none"></i>
-        Filter-Based LSM Index Acceleration</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="../api.html" title="REST API to AsterixDB">
-          <i class="none"></i>
-        REST API to AsterixDB</a>
-            </li>
-            </ul>
-                
-                    
-                
-          <hr class="divider" />
-
-           <div id="poweredBy">
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                                                                                                                         <a href=".././" title="Hyracks" class="builtBy">
-        <img class="builtBy"  alt="Hyracks" src="../images/hyrax_ts.png"    />
-      </a>
-                      </div>
-          </div>
-        </div>
-        
-                
-        <div id="bodyColumn"  class="span9" >
-                                  
-            <h1>Asterix Data Model (ADM)</h1>
-<div class="section">
-<h2><a name="toc" id="toc">Table of Contents</a><a name="Table_of_Contents"></a></h2>
-
-<ul>
-  
-<li><a href="#PrimitiveTypes">Primitive Types</a>
-  
-<ul>
-    
-<li><a href="#PrimitiveTypesBoolean">Boolean</a></li>
-    
-<li><a href="#PrimitiveTypesInt">Int8 / Int16 / Int32 / Int64</a></li>
-    
-<li><a href="#PrimitiveTypesFloat">Float</a></li>
-    
-<li><a href="#PrimitiveTypesDouble">Double</a></li>
-    
-<li><a href="#PrimitiveTypesString">String</a></li>
-    
-<li><a href="#PrimitiveTypesPoint">Point</a></li>
-    
-<li><a href="#PrimitiveTypesLine">Line</a></li>
-    
-<li><a href="#PrimitiveTypesRectangle">Rectangle</a></li>
-    
-<li><a href="#PrimitiveTypesCircle">Circle</a></li>
-    
-<li><a href="#PrimitiveTypesPolygon">Polygon</a></li>
-    
-<li><a href="#PrimitiveTypesDate">Date</a></li>
-    
-<li><a href="#PrimitiveTypesTime">Time</a></li>
-    
-<li><a href="#PrimitiveTypesDateTime">Datetime</a></li>
-    
-<li><a href="#PrimitiveTypesDuration">Duration/Year-month-duration/Day-time-duration</a></li>
-    
-<li><a href="#PrimitiveTypesInterval">Interval</a></li>
-  </ul></li>
-  
-<li><a href="#DerivedTypes">Derived Types</a>
-  
-<ul>
-    
-<li><a href="#DerivedTypesRecord">Record</a></li>
-    
-<li><a href="#DerivedTypesOrderedList">OrderedList</a></li>
-    
-<li><a href="#DerivedTypesUnorderedList">UnorderedList</a></li>
-  </ul></li>
-</ul>
-<p>An instance of Asterix data model (ADM) can be a <i><i>primitive type</i></i> (<tt>int32</tt>, <tt>int64</tt>, <tt>string</tt>, <tt>float</tt>, <tt>double</tt>, <tt>date</tt>, <tt>time</tt>, <tt>datetime</tt>, etc. or <tt>null</tt>) or a <i><i>derived type</i></i>.</p></div>
-<div class="section">
-<h2><a name="PrimitiveTypes" id="PrimitiveTypes">Primitive Types</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Primitive_Types_Back_to_TOC"></a></h2>
-<div class="section">
-<h3><a name="PrimitiveTypesBoolean" id="PrimitiveTypesBoolean">Boolean</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="BooleanBack_to_TOC"></a></h3>
-<p><tt>boolean</tt> data type can have one of the two values: <i><i>true</i></i> or <i><i>false</i></i>.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $t := true
-let $f := false
-return { &quot;true&quot;: $t, &quot;false&quot;: $f }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;true&quot;: true, &quot;false&quot;: false }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesInt" id="PrimitiveTypesInt">Int8 / Int16 / Int32 / Int64</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Int8__Int16__Int32__Int64_Back_to_TOC"></a></h3>
-<p>Integer types using 8, 16, 32, or 64 bits. The ranges of these types are:</p>
-
-<ul>
-  
-<li><tt>int8</tt>: -127 to 127</li>
-  
-<li><tt>int16</tt>: -32767 to 32767</li>
-  
-<li><tt>int32</tt>: -2147483647 to 2147483647</li>
-  
-<li><tt>int64</tt>: -9223372036854775808 to 9223372036854775807</li>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v8 := int8(&quot;125&quot;)
-let $v16 := int16(&quot;32765&quot;)
-let $v32 := 294967295
-let $v64 := int64(&quot;1700000000000000000&quot;)
-return { &quot;int8&quot;: $v8, &quot;int16&quot;: $v16, &quot;int32&quot;: $v32, &quot;int64&quot;: $v64}
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;int8&quot;: 125i8, &quot;int16&quot;: 32765i16, &quot;int32&quot;: 294967295, &quot;int64&quot;: 1700000000000000000i64 }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesFloat" id="PrimitiveTypesFloat">Float</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Float_Back_to_TOC"></a></h3>
-<p><tt>float</tt> represents approximate numeric data values using 4 bytes. The range of a float value can be from 2^(-149) to (2-2^(-23)&#xb7;2^(127) for both positive and negative. Beyond these ranges will get <tt>INF</tt> or <tt>-INF</tt>.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := float(&quot;NaN&quot;)
-let $v2 := float(&quot;INF&quot;)
-let $v3 := float(&quot;-INF&quot;)
-let $v4 := float(&quot;-2013.5&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2, &quot;v3&quot;: $v3, &quot;v4&quot;: $v4 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: NaNf, &quot;v2&quot;: Infinityf, &quot;v3&quot;: -Infinityf, &quot;v4&quot;: -2013.5f }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesDouble" id="PrimitiveTypesDouble">Double</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Double_Back_to_TOC"></a></h3>
-<p><tt>double</tt> represents approximate numeric data values using 8 bytes. The range of a double value can be from (2^(-1022)) to (2-2^(-52))&#xb7;2^(1023) for both positive and negative. Beyond these ranges will get <tt>INF</tt> or <tt>-INF</tt>.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := double(&quot;NaN&quot;)
-let $v2 := double(&quot;INF&quot;)
-let $v3 := double(&quot;-INF&quot;)
-let $v4 := double(&quot;-2013.593823748327284&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2, &quot;v3&quot;: $v3, &quot;v4&quot;: $v4 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: NaNd, &quot;v2&quot;: Infinityd, &quot;v3&quot;: -Infinityd, &quot;v4&quot;: -2013.5938237483274d }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesString" id="PrimitiveTypesString">String</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="String_Back_to_TOC"></a></h3>
-<p><tt>string</tt> represents a sequence of characters.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := string(&quot;This is a string.&quot;)
-let $v2 := string(&quot;\&quot;This is a quoted string\&quot;&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: &quot;This is a string.&quot;, &quot;v2&quot;: &quot;\&quot;This is a quoted string\&quot;&quot; }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesPoint" id="PrimitiveTypesPoint">Point</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Point_Back_to_TOC"></a></h3>
-<p><tt>point</tt> is the fundamental two-dimensional building block for spatial types. It consists of two <tt>double</tt> coordinates x and y.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := point(&quot;80.10d, -10E5&quot;)
-let $v2 := point(&quot;5.10E-10d, -10E5&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: point(&quot;80.1,-1000000.0&quot;), &quot;v2&quot;: point(&quot;5.1E-10,-1000000.0&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesLine" id="PrimitiveTypesLine">Line</a> <font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Line_Back_to_TOC"></a></h3>
-<p><tt>line</tt> consists of two points that represent the start and the end points of a line segment.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := line(&quot;10.1234,11.1e-1 +10.2E-2,-11.22&quot;)
-let $v2 := line(&quot;0.1234,-1.00e-10 +10.5E-2,-01.02&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: line(&quot;10.1234,1.11 0.102,-11.22&quot;), &quot;v2&quot;: line(&quot;0.1234,-1.0E-10 0.105,-1.02&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesRectangle" id="PrimitiveTypesRectangle">Rectangle</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="RectangleBack_to_TOC"></a></h3>
-<p><tt>rectangle</tt> consists of two points that represent the <i><i>bottom left</i></i> and <i><i>upper right</i></i> corners of a rectangle.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := rectangle(&quot;5.1,11.8 87.6,15.6548&quot;)
-let $v2 := rectangle(&quot;0.1234,-1.00e-10 5.5487,0.48765&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: rectangle(&quot;5.1,11.8 87.6,15.6548&quot;), &quot;v2&quot;: rectangle(&quot;0.1234,-1.0E-10 5.5487,0.48765&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesCircle" id="PrimitiveTypesCircle">Circle</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="CircleBack_to_TOC"></a></h3>
-<p><tt>circle</tt> consists of one point that represents the center of the circle and a radius of type <tt>double</tt>.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := circle(&quot;10.1234,11.1e-1 +10.2E-2&quot;)
-let $v2 := circle(&quot;0.1234,-1.00e-10 +10.5E-2&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: circle(&quot;10.1234,1.11 0.102&quot;), &quot;v2&quot;: circle(&quot;0.1234,-1.0E-10 0.105&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesPolygon" id="PrimitiveTypesPolygon">Polygon</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="PolygonBack_to_TOC"></a></h3>
-<p><tt>polygon</tt> consists of <i><i>n</i></i> points that represent the vertices of a <i><i>simple closed</i></i> polygon.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := polygon(&quot;-1.2,+1.3e2 -2.14E+5,2.15 -3.5e+2,03.6 -4.6E-3,+4.81&quot;)
-let $v2 := polygon(&quot;-1.0,+10.5e2 -02.15E+50,2.5 -1.0,+3.3e3 -2.50E+05,20.15 +3.5e+2,03.6 -4.60E-3,+4.75 -2,+1.0e2 -2.00E+5,20.10 30.5,03.25 -4.33E-3,+4.75&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: polygon(&quot;-1.2,130.0 -214000.0,2.15 -350.0,3.6 -0.0046,4.81&quot;), &quot;v2&quot;: polygon(&quot;-1.0,1050.0 -2.15E50,2.5 -1.0,3300.0 -250000.0,20.15 350.0,3.6 -0.0046,4.75 -2.0,100.0 -200000.0,20.1 30.5,3.25 -0.00433,4.75&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesDate" id="PrimitiveTypesDate">Date</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="DateBack_to_TOC"></a></h3>
-<p><tt>date</tt> represents a time point along the Gregorian calendar system specified by the year, month and day. ASTERIX supports the date from <tt>-9999-01-01</tt> to <tt>9999-12-31</tt>.</p>
-<p>A date value can be represented in two formats, extended format and basic format.</p>
-
-<ul>
-  
-<li>Extended format is represented as <tt>[-]yyyy-mm-dd</tt> for <tt>year-month-day</tt>. Each field should be padded if there are less digits than the format specified.</li>
-  
-<li>Basic format is in the format of <tt>[-]yyyymmdd</tt>.</li>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := date(&quot;2013-01-01&quot;)
-let $v2 := date(&quot;-19700101&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: date(&quot;2013-01-01&quot;), &quot;v2&quot;: date(&quot;-1970-01-01&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesTime" id="PrimitiveTypesTime">Time</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="TimeBack_to_TOC"></a></h3>
-<p><tt>time</tt> type describes the time within the range of a day. It is represented by three fields: hour, minute and second. Millisecond field is optional as the fraction of the second field. Its extended format is as <tt>hh:mm:ss[.mmm]</tt> and the basic format is <tt>hhmmss[mmm]</tt>. The value domain is from <tt>00:00:00.000</tt> to <tt>23:59:59.999</tt>.</p>
-<p>Timezone field is optional for a time value. Timezone is represented as <tt>[+|-]hh:mm</tt> for extended format or <tt>[+|-]hhmm</tt> for basic format. Note that the sign designators cannot be omitted. <tt>Z</tt> can also be used to represent the UTC local time. If no timezone information is given, it is UTC by default.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := time(&quot;12:12:12.039Z&quot;)
-let $v2 := time(&quot;000000000-0800&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: time(&quot;12:12:12.039Z&quot;), &quot;v2&quot;: time(&quot;08:00:00.000Z&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesDateTime" id="PrimitiveTypesDateTime">Datetime</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="DatetimeBack_to_TOC"></a></h3>
-<p>A <tt>datetime</tt> value is a combination of an <tt>date</tt> and <tt>time</tt>, representing a fixed time point along the Gregorian calendar system. The value is among <tt>-9999-01-01 00:00:00.000</tt> and <tt>9999-12-31 23:59:59.999</tt>.</p>
-<p>A <tt>datetime</tt> value is represented as a combination of the representation of its <tt>date</tt> part and <tt>time</tt> part, separated by a separator <tt>T</tt>. Either extended or basic format can be used, and the two parts should be the same format.</p>
-<p>Millisecond field and timezone field are optional, as specified in the <tt>time</tt> type.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := datetime(&quot;2013-01-01T12:12:12.039Z&quot;)
-let $v2 := datetime(&quot;-19700101T000000000-0800&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: datetime(&quot;2013-01-01T12:12:12.039Z&quot;), &quot;v2&quot;: datetime(&quot;-1970-01-01T08:00:00.000Z&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesDuration" id="PrimitiveTypesDuration">Duration/Year-month-duration/Day-time-duration</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="DurationYear-month-durationDay-time-durationBack_to_TOC"></a></h3>
-<p><tt>duration</tt> represents a duration of time. A duration value is specified by integers on at least one of the following fields: year, month, day, hour, minute, second, and millisecond.</p>
-<p>A duration value is in the format of <tt>[-]PnYnMnDTnHnMn.mmmS</tt>. The millisecond part (as the fraction of the second field) is optional, and when no millisecond field is used, the decimal point should also be absent.</p>
-<p>Negative durations are also supported for the arithmetic operations between time instance types (<tt>date</tt>, <tt>time</tt> and <tt>datetime</tt>), and is used to roll the time back for the given duration. For example <tt>date(&quot;2012-01-01&quot;) + duration(&quot;-P3D&quot;)</tt> will return <tt>date(&quot;2011-12-29&quot;)</tt>.</p>
-<p>There are also two sub-duration types, namely <tt>year-month-duration</tt> and <tt>day-time-duration</tt>. <tt>year-month-duration</tt> represents only the years and months of a duration, while <tt>day-time-duration</tt> represents only the day to millisecond fields. Different from the <tt>duration</tt> type, both these two subtypes are totally ordered, so they can be used for comparison and index construction.</p>
-<p>Note that a canonical representation of the duration is always returned, regardless whether the duration is in the canonical representation or not from the user&#x2019;s input. More information about canonical representation can be found from <a class="externalLink" href="http://www.w3.org/TR/xpath-functions/#canonical-dayTimeDuration">XPath dayTimeDuration Canonical Representation</a> and <a class="externalLink" href="http://www.w3.org/TR/xpath-functions/#canonical-yearMonthDuration">yearMonthDuration Canonical Representation</a>.</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := duration(&quot;P100Y12MT12M&quot;)
-let $v2 := duration(&quot;-PT20.943S&quot;)
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: duration(&quot;P101YT12M&quot;), &quot;v2&quot;: duration(&quot;-PT20.943S&quot;) }
-</pre></div></li>
-</ul></div>
-<div class="section">
-<h3><a name="PrimitiveTypesInterval" id="PrimitiveTypesInterval">Interval</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="IntervalBack_to_TOC"></a></h3>
-<p><tt>interval</tt> represents inclusive-exclusive ranges of time. It is defined by two time point values with the same temporal type(<tt>date</tt>, <tt>time</tt> or <tt>datetime</tt>).</p>
-
-<ul>
-  
-<li>
-<p>Example:</p>
-  
-<div class="source">
-<pre>let $v1 := interval-from-date(date(&quot;2013-01-01&quot;), date(&quot;20130505&quot;))
-let $v2 := interval-from-time(time(&quot;00:01:01&quot;), time(&quot;213901049+0800&quot;))
-let $v3 := interval-from-datetime(datetime(&quot;2013-01-01T00:01:01&quot;), datetime(&quot;20130505T213901049+0800&quot;))
-return { &quot;v1&quot;: $v1, &quot;v2&quot;: $v2, &quot;v3&quot;: $v3 }
-</pre></div></li>
-</ul>
-
-<ul>
-  
-<li>
-<p>The expected result is:</p>
-  
-<div class="source">
-<pre>{ &quot;v1&quot;: interval-date(&quot;2013-01-01, 2013-05-05&quot;), &quot;v2&quot;: interval-time(&quot;00:01:01.000Z, 13:39:01.049Z&quot;), &quot;v3&quot;: interval-datetime(&quot;2013-01-01T00:01:01.000Z, 2013-05-05T13:39:01.049Z&quot;) }
-</pre></div></li>
-</ul></div></div>
-<div class="section">
-<h2><a name="DerivedTypes" id="DerivedTypes">Derived Types</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="Derived_TypesBack_to_TOC"></a></h2>
-<div class="section">
-<h3><a name="DerivedTypesRecord" id="DerivedTypesRecord">Record</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="RecordBack_to_TOC"></a></h3>
-<p>A <tt>record</tt> contains a set of &#xfb01;elds, where each &#xfb01;eld is described by its name and type. A record type is either open or closed. Open records can contain &#xfb01;elds that are not part of the type de&#xfb01;nition, while closed records cannot. Syntactically, record constructors are surrounded by curly braces &#x201c;{&#x2026;}&#x201d;.</p>
-<p>An example would be</p>
-
-<div class="source">
-<pre>    { &quot;id&quot;: 213508, &quot;name&quot;: &quot;Alice Bob&quot; }
-</pre></div></div>
-<div class="section">
-<h3><a name="DerivedTypesOrderedList" id="DerivedTypesOrderedList">OrderedList</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="OrderedListBack_to_TOC"></a></h3>
-<p>An <tt>orderedList</tt> is a sequence of values for which the order is determined by creation or insertion. OrderedList constructors are denoted by brackets: &#x201c;[&#x2026;]&#x201d;.</p>
-<p>An example would be</p>
-
-<div class="source">
-<pre>    [&quot;alice&quot;, 123, &quot;bob&quot;, null]
-</pre></div></div>
-<div class="section">
-<h3><a name="DerivedTypesUnorderedList" id="DerivedTypesUnorderedList">UnorderedList</a><font size="4"><a href="#toc">[Back to TOC]</a></font><a name="UnorderedListBack_to_TOC"></a></h3>
-<p>An <tt>unorderedList</tt> is an unordered sequence of values, similar to bags in SQL. UnorderedList constructors are denoted by two opening flower braces followed by data and two closing flower braces, like &#x201c;{{&#x2026;}}&#x201d;.</p>
-<p>An example would be</p>
-
-<div class="source">
-<pre>    {{&quot;hello&quot;, 9328, &quot;world&quot;, [1, 2, null]}}
-</pre></div></div></div>
-                  </div>
-            </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container-fluid">
-              <div class="row span12">Copyright &copy;                   2015.
-          All Rights Reserved.      
-                    
-      </div>
-
-                                                                  <?xml version="1.0" encoding="UTF-8"?>
-<div class="row-fluid">Apache AsterixDB, AsterixDB, Apache, the Apache
-        feather logo, and the Apache AsterixDB project logo are either
-        registered trademarks or trademarks of The Apache Software
-        Foundation in the United States and other countries.
-        All other marks mentioned may be trademarks or registered
-        trademarks of their respective owners.</div>
-                  
-        
-                </div>
-    </footer>
-  </body>
-</html>