Author: buildbot
Date: Thu Dec 18 19:47:34 2014
New Revision: 933262
Log:
Staging update by buildbot for metamodel
Modified:
websites/staging/metamodel/trunk/content/ (props changed)
websites/staging/metamodel/trunk/content/index.html
Propchange: websites/staging/metamodel/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Dec 18 19:47:34 2014
@@ -1 +1 @@
-1646517
+1646519
Modified: websites/staging/metamodel/trunk/content/index.html
==============================================================================
--- websites/staging/metamodel/trunk/content/index.html (original)
+++ websites/staging/metamodel/trunk/content/index.html Thu Dec 18 19:47:34 2014
@@ -1,56 +1,488 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
- <head>
- <title>Home Page</title>
-
+<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
- <meta property="og:image"
content="http://www.apache.org/images/asf_logo.gif" />
-
- <link rel="stylesheet" type="text/css" media="screen"
href="http://www.apache.org/css/style.css">
- <link rel="stylesheet" type="text/css" media="screen"
href="http://www.apache.org/css/code.css">
-
+ <title>Apache MetaModel</title>
+ <link href="http://fonts.googleapis.com/css?family=Ubuntu:400,700"
rel="stylesheet" type="text/css" media="screen">
+
+ <link href="css/prettify-metamodel.css" rel="stylesheet" type="text/css"
media="screen" />
+ <!-- <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"
media="screen"> -->
+ <link href="css/metamodel.css" rel="stylesheet" type="text/css"
media="screen">
- <!-- 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. -->
- </head>
-
- <body>
- <div id="page" class="container_16">
- <div id="header" class="grid_8">
- <img src="http://www.apache.org/images/feather-small.gif" alt="The
Apache Software Foundation">
- <h1>The Apache Software Foundation</h1>
- <h2>Home Page</h2>
- </div>
- <div id="nav" class="grid_8">
- <ul>
- <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
- <li><a href="http://www.apache.org/foundation/" title="The
Foundation">Foundation</a></li>
- <li><a href="http://projects.apache.org" title="The
Projects">Projects</a></li>
- <li><a href="http://people.apache.org" title="The
People">People</a></li>
- <li><a href="http://www.apache.org/foundation/getinvolved.html"
title="Get Involved">Get Involved</a></li>
- <li><a href="http://www.apache.org/dyn/closer.cgi"
title="Download">Download</a></li>
- <li><a href="http://www.apache.org/foundation/sponsorship.html"
title="Support Apache">Support Apache</a></li>
- </ul>
- <p><a href="/">Home</a></p>
- <form name="search" id="search" action="http://www.google.com/search"
method="get">
- <input value="*.apache.org" name="sitesearch" type="hidden"/>
- <input type="text" name="q" id="query">
- <input type="submit" id="submit" value="Search">
- </form>
- </div>
- <div class="clear"></div>
- <div id="content" class="grid_16"><div class="section-content"><h1
id="welcome">Welcome</h1>
-<p>Welcome to the Apache CMS. This site is for the MetaModel project. Please
see the following resources for further help:</p>
-<ul>
-<li><a
href="http://www.apache.org/dev/cmsref.html">http://www.apache.org/dev/cmsref.html</a></li>
-<li><a
href="http://wiki.apache.org/general/ApacheCms2010">http://wiki.apache.org/general/ApacheCms2010</a></li>
-</ul></div></div>
- <div class="clear"></div>
- </div>
+ <script type="text/javascript"
src="js/google-code-prettify/run_prettify.js?skin=desert"></script>
+
+ <script type="text/javascript" src="js/jquery.js"></script>
+ <script type="text/javascript" src="js/bootstrap.min.js"></script>
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $('body').scrollspy({ target: '#navbar_container',
offset: 120 });
+ });
+ </script>
+
+</head>
+
+<body>
- <div id="copyright" class="container_16">
- <p>Copyright © 2011 The Apache Software Foundation, Licensed under
the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License,
Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The
Apache Software Foundation.</p>
- </div>
- </body>
+ <div id="navbar_container" class="nav_container">
+ <ul id="navbar" class="nav">
+ <li><a href="#home">Home</a></li>
+ <li><a href="#news">News</a></li>
+ <li><a href="#download">Download</a></li>
+ <li><a href="#community">Community</a></li>
+ <li><a href="#examples">Examples</a></li>
+ </ul>
+ </div>
+
+ <div id="home">
+ <div class="section">
+ <div class="left">
+ <h1 class="title">
+ <img src="img/logo.png" /> <span
class="apache">Apache</span><br/>
+ <span
class="metamodel">MetaModel</span><br/>
+ </h1>
+
+ <p> </p>
+
+ <p><img src="img/features.png" alt="" />
+
+ </div>
+ <div class="right">
+ <div style="height: 1.6em;"></div>
+
+ <p>Apache MetaModel is a data access framework,
providing a common interface for
+ exploration and querying of different types of
datastores.</p>
+
+ <p class="center negativeIndent">
+ <img src="img/datastore-types.png?v=2"
alt="Datastore types" class="negativeIndent" />
+ </p>
+
+ <p>MetaModel <i>isn't</i> a data mapping
framework. Instead we emphasize abstraction of metadata and ability to add data
sources at runtime, making MetaModel great for generic data processing
applications, less so for applications modeled around a particular domain.</p>
+
+ <p>With MetaModel you get a uniform connector
and query API to <a href="https://wiki.apache.org/metamodel/DatabaseCompliancy"
target="_blank">many very different datastore types</a>, including:
+ Relational (JDBC) databases,
+ CSV files,
+ Excel spreadsheets,
+ <a
href="https://wiki.apache.org/metamodel/examples/XmlTableMapping"
target="_blank">XML</a> files,
+ <a
href="https://wiki.apache.org/metamodel/examples/JsonDataContext"
target="_blank">JSON</a> files,
+ Fixed width files, MongoDB, Apache
CouchDB, Apache HBase, Apache Cassandra, ElasticSearch, OpenOffice.org
databases,
+ <a
href="https://wiki.apache.org/metamodel/examples/SalesforceDataContext?highlight=%28%5CbCategoryExamples%5Cb%29"
target="_blank">Salesforce.com</a>,
+ SugarCRM and even
+ collections of <a
href="https://wiki.apache.org/metamodel/examples/PojoDataContext"
target="_blank">plain old Java objects</a> (POJOs).</p>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="graybg">
+ <div id="news"></div>
+ <div class="section">
+ <div class="left">
+ <h2>News</h2>
+ </div>
+ <div class="right">
+ <ul>
+ <li>2014-12-14 New release 4.3.1 -
<i>First TLP release, delivering bugfixes to the 4.3 version</i>.</li>
+ <li>2014-12-09 Apache Software
Foundation announces Apache MetaModel as new Top Level Project (<a
href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces67">read
more</a>).</li>
+ <li>2014-11-37 New TLP infrastructure
available - <i>Updated mailing lists, git repository location, website.</i></li>
+ <li>2014-11-24 New release
4.3.0-incubating - <i>Introducing ElasticSearch and Apache Cassandra
modules.</i></li>
+ <li>2014-11-20 Graduation resolution
accepted</li>
+ <li>2014-10-13 New Committer: Alberto
Rodriguez</li>
+ <li>2014-07-28 New release
4.2.0-incubating - <i>Introducing JSON file module. Made column data types
pluggable.</i></li>
+ <li>2014-06-30 New Committer: Tomasz
Guzialek</li>
+ <li>2014-05-11 New release
4.1.0-RC1-incubating - <i>Introducing Apache HBase and Spring Framework
modules.</i></li>
+ <li>2014-01-27 New release
4.0.0-incubating - <i>Updates to naming of file-based schemas and migration
towards Apache namespace.</i></li>
+ <li>2013-06-12 Project enters
incubation.</li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+ <div>
+ <div id="download"></div>
+ <div class="section" id="latestRelease">
+ <div class="left">
+ <h2>Download</h2>
+ </div>
+ <div class="right">
+ <p><b>Source:</b> Latest source code release of
MetaModel:</p>
+ <table class="download_listing">
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.3.1/source/MetaModel-4.3.1-source-release.zip">
+
MetaModel-4.3.1-source-release.zip
+ </a></td>
+ <td> |
+ <a
href="https://github.com/apache/metamodel/blob/MetaModel-4.3.1/CHANGES.md">
+ Release Notes
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.1/source/MetaModel-4.3.1-source-release.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.1/source/MetaModel-4.3.1-source-release.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.1/source/MetaModel-4.3.1-source-release.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.3.0-incubating/source/MetaModel-4.3.0-incubating-source-release.zip">
+
MetaModel-4.3.0-incubating-source-release.zip
+ </a></td>
+ <td> |
+ <a
href="https://github.com/apache/metamodel/blob/MetaModel-4.3.0-incubating/CHANGES.md">
+ Release Notes
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.0-incubating/source/MetaModel-4.3.0-incubating-source-release.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.0-incubating/source/MetaModel-4.3.0-incubating-source-release.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.0-incubating/source/MetaModel-4.3.0-incubating-source-release.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.2.0-incubating/source/MetaModel-4.2.0-incubating-source-release.zip">
+
MetaModel-4.2.0-incubating-source-release.zip
+ </a></td>
+ <td> |
+ <a
href="https://git-wip-us.apache.org/repos/asf?p=metamodel.git;a=blob_plain;f=CHANGES.txt;h=57b7b4f25249097a97be896f1c400d2011ab3ee7;hb=6e955dadfeff05714d3e5ea6926673537ef892b8">
+ Release Notes
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.2.0-incubating/source/MetaModel-4.2.0-incubating-source-release.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.2.0-incubating/source/MetaModel-4.2.0-incubating-source-release.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.2.0-incubating/source/MetaModel-4.2.0-incubating-source-release.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.1.0-RC1-incubating/source/MetaModel-4.1.0-RC1-incubating-source-release.zip">
+
MetaModel-4.1.0-RC1-incubating-source-release.zip
+ </a></td>
+ <td> |
+ <a
href="https://git-wip-us.apache.org/repos/asf?p=metamodel.git;a=blob_plain;f=CHANGES.txt;h=6918be30e76e9a1a8a09196103b6c9a341e7bf42;hb=879814961c8582b43b2601052fa439aee8f5978c">
+ Release Notes
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.1.0-RC1-incubating/source/MetaModel-4.1.0-RC1-incubating-source-release.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.1.0-RC1-incubating/source/MetaModel-4.1.0-RC1-incubating-source-release.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.1.0-RC1-incubating/source/MetaModel-4.1.0-RC1-incubating-source-release.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.0.0-incubating/source/MetaModel-4.0.0-incubating-source-release.zip">
+
MetaModel-4.0.0-incubating-source-release.zip
+ </a></td>
+ <td> |
+ <a
href="https://git-wip-us.apache.org/repos/asf?p=metamodel.git;a=blob_plain;f=CHANGES.txt;hb=ab4326a8a329804ad9846de904ca0fb657e5736e">
+ Release Notes
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.0.0-incubating/source/MetaModel-4.0.0-incubating-source-release.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.0.0-incubating/source/MetaModel-4.0.0-incubating-source-release.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.0.0-incubating/source/MetaModel-4.0.0-incubating-source-release.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ </table>
+ <p> </p>
+ <p><b>Binary:</b> A convenient package with all
MetaModel modules and dependencies as JAR binaries:</p>
+ <table class="download_listing">
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.3.1/packaged/MetaModel-4.3.1-packaged.zip">
+
MetaModel-4.3.1-packaged.zip
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.1/packaged/MetaModel-4.3.1-packaged.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.1/packaged/MetaModel-4.3.1-packaged.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.1/packaged/MetaModel-4.3.1-packaged.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.3.0-incubating/packaged/MetaModel-4.3.0-incubating-packaged.zip">
+
MetaModel-4.3.0-incubating-packaged.zip
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.0-incubating/packaged/MetaModel-4.3.0-incubating-packaged.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.0-incubating/packaged/MetaModel-4.3.0-incubating-packaged.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.3.0-incubating/packaged/MetaModel-4.3.0-incubating-packaged.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.2.0-incubating/packaged/MetaModel-4.2.0-incubating-packaged.zip">
+
MetaModel-4.2.0-incubating-packaged.zip
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.2.0-incubating/packaged/MetaModel-4.2.0-incubating-packaged.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.2.0-incubating/packaged/MetaModel-4.2.0-incubating-packaged.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.2.0-incubating/packaged/MetaModel-4.2.0-incubating-packaged.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.1.0-RC1-incubating/packaged/MetaModel-4.1.0-RC1-incubating-packaged.zip">
+
MetaModel-4.1.0-RC1-incubating-packaged.zip
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.1.0-RC1-incubating/packaged/MetaModel-4.1.0-RC1-incubating-packaged.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.1.0-RC1-incubating/packaged/MetaModel-4.1.0-RC1-incubating-packaged.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.1.0-RC1-incubating/packaged/MetaModel-4.1.0-RC1-incubating-packaged.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ <tr>
+ <td><a
class="download_primary_file"
href="http://www.apache.org/dyn/closer.cgi?path=/metamodel/metamodel-4.0.0-incubating/packaged/MetaModel-4.0.0-incubating-packaged.zip">
+
MetaModel-4.0.0-incubating-packaged.zip
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.0.0-incubating/packaged/MetaModel-4.0.0-incubating-packaged.zip.asc">
+ OpenPGP
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.0.0-incubating/packaged/MetaModel-4.0.0-incubating-packaged.zip.md5">
+ MD5
+ </a></td>
+ <td> |
+ <a
href="http://www.apache.org/dist/metamodel/metamodel-4.0.0-incubating/packaged/MetaModel-4.0.0-incubating-packaged.zip.sha1">
+ SHA1
+ </a></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ <div class="section" id="mavenDependency">
+ <div class="left">
+ <h2>Maven dependency</h2>
+ </div>
+ <div class="right">
+ <p>Apache MetaModel is also distributed through
the central Maven repository. Here's your typical <dependency>
declaration:</p>
+
+ <pre class="prettyprint"><dependency>
+ <groupId>org.apache.metamodel</groupId>
+ <artifactId>MetaModel-full</artifactId>
+ <version>4.3.1</version>
+</dependency></pre>
+ </div>
+ </div>
+
+ <div class="section" id="sourcecode">
+ <div class="left">
+ <h2>Source code</h2>
+ </div>
+ <div class="right">
+ <p>The source code for Apache MetaModel is
available through this Apache Git repository:</p>
+ <p><a
href="https://git-wip-us.apache.org/repos/asf/metamodel.git">https://git-wip-us.apache.org/repos/asf/metamodel.git</a></p>
+ </div>
+ </div>
+ </div>
+
+ <div class="graybg">
+ <div id="community"></div>
+ <div class="section" id="mailinglists">
+ <div class="left">
+ <h2>Mailing lists</h2>
+ </div>
+ <div class="right">
+ <p>To get involved with Apache MetaModel, start
by joining our mailing lists and engage in the conversations!</p>
+
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Subscribe</th>
+ <th>Unsubscribe</th>
+ <th>Post</th>
+ <th>Archive</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Developer List</td>
+ <td><a rel="nofollow"
href="mailto:[email protected]">Subscribe</a></td>
+ <td><a rel="nofollow"
href="mailto:[email protected]">Unsubscribe</a></td>
+ <td><a rel="nofollow"
href="mailto:[email protected]">Post</a></td>
+ <td><a rel="nofollow"
href="http://mail-archives.apache.org/mod_mbox/metamodel-dev/">mail-archives.apache.org</a></td>
+ </tr>
+ <tr>
+ <td>Commits</td>
+ <td><a rel="nofollow"
href="mailto:[email protected]">Subscribe</a></td>
+ <td><a rel="nofollow"
href="mailto:[email protected]">Unsubscribe</a></td>
+ <td><a rel="nofollow"
href="mailto:[email protected]">Post</a></td>
+ <td><a rel="nofollow"
href="http://mail-archives.apache.org/mod_mbox/metamodel-commits/">mail-archives.apache.org</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+
+ <div class="section" id="contributing">
+ <div class="left">
+ <h2>Contributing</h2>
+ </div>
+ <div class="right">
+ <p>Please refer to our <a
href="https://github.com/apache/metamodel/blob/master/CONTRIBUTE.md">CONTRIBUTE.md</a>
file for details on contributing to Apache MetaModel.</p>
+ </div>
+ </div>
+
+ <div class="section" id="issuetracking">
+ <div class="left">
+ <h2>Issue tracking</h2>
+ </div>
+ <div class="right">
+ <p>Issues for Apache MetaModel are tracked
through this Apache JIRA system:</p>
+ <p><a
href="https://issues.apache.org/jira/browse/METAMODEL">https://issues.apache.org/jira/browse/METAMODEL</a></p>
+ </div>
+ </div>
+
+ </div>
+
+ <div>
+
+ <div class="section" id="examples">
+ <div class="left">
+ <h2>Examples</h2>
+ <h3>Query with MetaModel</h3>
+ </div>
+
+ <div class="right">
+
+ <p>With MetaModel you use a type-safe SQL-like
API for querying any datastore:</p>
+
+ <pre class="prettyprint lang-java">DataContext
dataContext = DataContextFactory.create[TypeOfDatastore](...);
+DataSet dataSet = dataContext.query()
+ .from("libraries")
+ .select("name")
+ .where("language").eq("Java")
+ .and("enhances_data_access").eq(true)
+ .execute();</pre>
+
+ <p>The MetaModel query API allows you to use
the power of SQL, even on data formats such as CSV files, Excel spreadsheets,
NoSQL databases and more.</p>
+ </div>
+ </div>
+
+ <div class="section">
+ <div class="left">
+ <h3>Update with MetaModel</h3>
+ </div>
+ <div class="right">
+ <p>MetaModel lets you do CRUD operations on
arbitrary datamodels, also in a type-safe manner. Batch updates and
transactions are logically modelled as UpdateScript closures.</p>
+
+ <pre class="prettyprint
lang-java">dataContext.executeUpdate(new UpdateScript() {
+ public void run(UpdateCallback callback) {
+ // CREATE a table
+ Table table = callback.createTable("contributors")
+ .withColumn("id").ofType(INTEGER)
+ .withColumn("name").ofType(VARCHAR).execute();
+
+ // INSERT INTO table
+ callback.insertInto(table)
+ .value("id", 1).value("name", "John Doe").execute();
+ callback.insertInto(table)
+ .value("name", "Jane D.").execute();
+
+ // UPDATE table
+ callback.update(table).value("name","Jane Doe")
+ .where("id").eq(2).execute();
+
+ // DELETE FROM table
+ callback.deleteFrom(table).where("id").eq(1).execute();
+ }
+});</pre>
+
+ <p>The rest of the API should reveal itself
through using the DataContext! Javadocs, wiki, mailing lists and other
resources help too of course, so check them out.</p>
+ </div>
+ </div>
+
+ <div class="section" id="wiki">
+ <div class="left">
+ <h2>Wiki</h2>
+ </div>
+ <div class="right">
+ <p>Check out the <a
href="https://wiki.apache.org/metamodel">MetaModel wiki</a> for more in-depth
examples and documentation.</p>
+ </div>
+ </div>
+ </div>
+
+ <div class="graybg">
+ <div class="section" id="heritage">
+ <div class="left">
+ <h2>Heritage</h2>
+ </div>
+ <div class="right">
+ <p>MetaModel was initially developed and
released by Human Inference since 2011. In July 2013 MetaModel joined the Apache
+ Incubator and in November 2014 MetaModel
graduated to become a Top Level Project (TLP) of The Apache Foundation. It is
licensed under the Apache 2.0 license.</p>
+ </div>
+ </div>
+
+ <div class="section" style="margin-bottom: 2em;">
+ <div class="right">
+ <p>
+ Copyright © 2014
+ <a href="http://www.apache.org">The
Apache Software Foundation</a>
+ -
+ Licensed under the Apache License 2.0.
+ Apache MetaModel, MetaModel, and the
project logo are trademarks of The Apache Software Foundation
+ </p>
+ </div>
+ </div>
+
+ </div>
+</body>
</html>