ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [1/2] incubator-ignite git commit: # IGNITE-330 Added javadoc for demo.
Date Mon, 23 Mar 2015 15:27:08 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 c1d532607 -> 6d0ff1b11


# IGNITE-330 Added javadoc for demo.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/14d96a5e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/14d96a5e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/14d96a5e

Branch: refs/heads/ignite-45
Commit: 14d96a5e8ce7ebb78b6ae2ae63da4d63ca09311d
Parents: 46d054d
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Mar 23 22:26:54 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Mar 23 22:26:54 2015 +0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/schema/Demo.java     | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/14d96a5e/examples/schema-import/src/main/java/org/apache/ignite/schema/Demo.java
----------------------------------------------------------------------
diff --git a/examples/schema-import/src/main/java/org/apache/ignite/schema/Demo.java b/examples/schema-import/src/main/java/org/apache/ignite/schema/Demo.java
index 7e0ed72..ff489c8 100644
--- a/examples/schema-import/src/main/java/org/apache/ignite/schema/Demo.java
+++ b/examples/schema-import/src/main/java/org/apache/ignite/schema/Demo.java
@@ -19,6 +19,7 @@ package org.apache.ignite.schema;
 
 import org.apache.ignite.*;
 import org.apache.ignite.cache.store.*;
+import org.apache.ignite.cache.store.jdbc.*;
 import org.apache.ignite.configuration.*;
 
 import javax.cache.*;
@@ -26,8 +27,18 @@ import javax.cache.configuration.*;
 
 /**
  * Demo for CacheJdbcPojoStore.
+ *
+ * This example demonstrates the use of cache with {@link CacheJdbcPojoStore}.
+ *
+ * Custom SQL will be executed to populate cache with data from database.
  */
 public class Demo {
+    /**
+     * Executes demo.
+     *
+     * @param args Command line arguments, none required.
+     * @throws IgniteException If example execution failed.
+     */
     public static void main(String[] args) throws IgniteException {
         System.out.println(">>> Start demo...");
 


Mime
View raw message