Class SqlDdlExample


  • public class SqlDdlExample
    extends java.lang.Object
    Example to showcase DDL capabilities of Ignite's SQL engine.

    Remote nodes could be started from command line as follows: 'ignite.{sh|bat} examples/config/example-sql.xml'.

    Alternatively you can run ExampleNodeStartup in either same or another JVM.

    To run this example on the Calcite-based SQL engine, modify examples/config/example-sql.xml file and set CalciteQueryEngineConfiguration as default.

    • Constructor Summary

      Constructors 
      Constructor Description
      SqlDdlExample()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Executes example.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SqlDdlExample

        public SqlDdlExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Executes example.
        Parameters:
        args - Command line arguments, none required.
        Throws:
        java.lang.Exception - If example execution failed.