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

org.apache.lens.api.metastore
Enum XMeasureType

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

public enum XMeasureType
extends Enum<XMeasureType>

Java class for x_measure_type.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="x_measure_type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="TINYINT"/>
     <enumeration value="SMALLINT"/>
     <enumeration value="INT"/>
     <enumeration value="BIGINT"/>
     <enumeration value="FLOAT"/>
     <enumeration value="DOUBLE"/>
     <enumeration value="DECIMAL"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BIGINT
           
DECIMAL
           
DOUBLE
           
FLOAT
           
INT
           
SMALLINT
           
TINYINT
           
 
Method Summary
static XMeasureType fromValue(String v)
           
 String value()
           
static XMeasureType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XMeasureType[] 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

TINYINT

public static final XMeasureType TINYINT

SMALLINT

public static final XMeasureType SMALLINT

INT

public static final XMeasureType INT

BIGINT

public static final XMeasureType BIGINT

FLOAT

public static final XMeasureType FLOAT

DOUBLE

public static final XMeasureType DOUBLE

DECIMAL

public static final XMeasureType DECIMAL
Method Detail

values

public static XMeasureType[] 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 (XMeasureType c : XMeasureType.values())
    System.out.println(c);

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

valueOf

public static XMeasureType 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

value

public String value()

fromValue

public static XMeasureType fromValue(String v)


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