externaltables

## Class UserInfo

- java.lang.Object
- - externaltables.UserInfo

-      class UserInfo
      extends Object

  A simple class which represents a User in the External Tables Cookbook example.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserInfo(String email)` Constructs a user object with its unique identifier, the email address.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) String` | `getAddress()` Returns the address attribute.
    `(package private) String` | `getEmail()` Returns the email identifier.
    `(package private) char` | `getGender()` Returns the gender attribute.
    `(package private) String` | `getName()` Returns the name attribute.
    `(package private) String` | `getPhone()` Returns the phone attribute.
    `(package private) Key` | `getStoreKey()` Returns a Key that can be used to write or read the UserInfo.
    `(package private) Value` | `getStoreValue()` Serializes user info attributes into the byte array of a Value.
    `(package private) void` | `setAddress(String address)` Changes the address attribute.
    `(package private) void` | `setGender(char gender)` Changes the gender attribute.
    `(package private) void` | `setName(String name)` Changes the name attribute.
    `(package private) void` | `setPhone(String phone)` Changes the phone attribute.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### UserInfo

          UserInfo(String email)

      Constructs a user object with its unique identifier, the email address.

  - ### Method Detail

    - #### getEmail

          String getEmail()

      Returns the email identifier.

    - #### setName

          void setName(String name)

      Changes the name attribute.

    - #### getName

          String getName()

      Returns the name attribute.

    - #### setGender

          void setGender(char gender)

      Changes the gender attribute.

    - #### getGender

          char getGender()

      Returns the gender attribute.

    - #### setAddress

          void setAddress(String address)

      Changes the address attribute.

    - #### getAddress

          String getAddress()

      Returns the address attribute.

    - #### setPhone

          void setPhone(String phone)

      Changes the phone attribute.

    - #### getPhone

          String getPhone()

      Returns the phone attribute.

    - #### getStoreKey

          Key getStoreKey()

      Returns a Key that can be used to write or read the UserInfo.

    - #### getStoreValue

          Value getStoreValue()

      Serializes user info attributes into the byte array of a Value.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.