This project has retired. For details please refer to its Attic page.
ResultColumnType (Lens 2.0.1-beta-incubating API)

org.apache.lens.api.query
Enum ResultColumnType

java.lang.Object
  extended by java.lang.Enum<ResultColumnType>
      extended by org.apache.lens.api.query.ResultColumnType
All Implemented Interfaces:
Serializable, Comparable<ResultColumnType>

public enum ResultColumnType
extends Enum<ResultColumnType>

The Enum ResultColumnType.


Enum Constant Summary
ARRAY
          The array.
BIGINT
          The bigint.
BINARY
          The binary.
BOOLEAN
          The boolean.
CHAR
          The char.
DATE
          The date.
DECIMAL
          The decimal.
DOUBLE
          The double.
FLOAT
          The float.
INT
          The int.
MAP
          The map.
NULL
          The null.
SMALLINT
          The smallint.
STRING
          The string.
STRUCT
          The struct.
TIMESTAMP
          The timestamp.
TINYINT
          The tinyint.
UNIONTYPE
          The uniontype.
USER_DEFINED
          The user defined.
VARCHAR
          The varchar.
 
Method Summary
static ResultColumnType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResultColumnType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOOLEAN

public static final ResultColumnType BOOLEAN
The boolean.


TINYINT

public static final ResultColumnType TINYINT
The tinyint.


SMALLINT

public static final ResultColumnType SMALLINT
The smallint.


INT

public static final ResultColumnType INT
The int.


BIGINT

public static final ResultColumnType BIGINT
The bigint.


FLOAT

public static final ResultColumnType FLOAT
The float.


DOUBLE

public static final ResultColumnType DOUBLE
The double.


STRING

public static final ResultColumnType STRING
The string.


TIMESTAMP

public static final ResultColumnType TIMESTAMP
The timestamp.


BINARY

public static final ResultColumnType BINARY
The binary.


ARRAY

public static final ResultColumnType ARRAY
The array.


MAP

public static final ResultColumnType MAP
The map.


STRUCT

public static final ResultColumnType STRUCT
The struct.


UNIONTYPE

public static final ResultColumnType UNIONTYPE
The uniontype.


USER_DEFINED

public static final ResultColumnType USER_DEFINED
The user defined.


DECIMAL

public static final ResultColumnType DECIMAL
The decimal.


NULL

public static final ResultColumnType NULL
The null.


DATE

public static final ResultColumnType DATE
The date.


VARCHAR

public static final ResultColumnType VARCHAR
The varchar.


CHAR

public static final ResultColumnType CHAR
The char.

Method Detail

values

public static ResultColumnType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ResultColumnType c : ResultColumnType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ResultColumnType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.