Class JavaSparkSQLExample.Person

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    JavaSparkSQLExample

    public static final class JavaSparkSQLExample.Person
    extends java.lang.Object
    implements java.io.Serializable
    Simple person class.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Person()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAge()
      Getter.
      java.lang.String getName()
      Getter.
      void setAge​(int age)
      Setter.
      void setName​(java.lang.String name)
      Setter.
      • Methods inherited from class java.lang.Object

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

      • Person

        public Person()
    • Method Detail

      • getName

        public java.lang.String getName()
        Getter.
        Returns:
        name.
      • setName

        public void setName​(java.lang.String name)
        Setter.
        Parameters:
        name - name.
      • getAge

        public int getAge()
        Getter.
        Returns:
        age.
      • setAge

        public void setAge​(int age)
        Setter.
        Parameters:
        age - age.