Class JavaSparkSQLExample

  • public final class JavaSparkSQLExample
    extends java.lang.Object
    Java Spark SQL Example program.

    This code has been copied from the Apache Spark ( to demonstrate a spark example.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JavaSparkSQLExample.Person
      Simple person class.
    • Method Summary

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

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

      • main

        public static void main​(java.lang.String[] args)
                         throws org.apache.spark.sql.AnalysisException
        Main function.
        args - arguments.
        org.apache.spark.sql.AnalysisException - Exception.