Package com.mapd.thrift.calciteserver
Enum TExtArgumentType
- java.lang.Object
-
- java.lang.Enum<TExtArgumentType>
-
- com.mapd.thrift.calciteserver.TExtArgumentType
-
- All Implemented Interfaces:
Serializable,Comparable<TExtArgumentType>,org.apache.thrift.TEnum
public enum TExtArgumentType extends Enum<TExtArgumentType> implements org.apache.thrift.TEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ArrayDoubleArrayFloatArrayInt16ArrayInt32ArrayInt64ArrayInt8BoolCursorDoubleFloatGeoPointInt16Int32Int64Int8PDoublePFloatPInt16PInt32PInt64PInt8Void
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TExtArgumentTypefindByValue(int value)Find a the enum type by its integer value, as defined in the Thrift IDL.intgetValue()Get the integer value of this enum value, as defined in the Thrift IDL.static TExtArgumentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TExtArgumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Int8
public static final TExtArgumentType Int8
-
Int16
public static final TExtArgumentType Int16
-
Int32
public static final TExtArgumentType Int32
-
Int64
public static final TExtArgumentType Int64
-
Float
public static final TExtArgumentType Float
-
Double
public static final TExtArgumentType Double
-
Void
public static final TExtArgumentType Void
-
PInt8
public static final TExtArgumentType PInt8
-
PInt16
public static final TExtArgumentType PInt16
-
PInt32
public static final TExtArgumentType PInt32
-
PInt64
public static final TExtArgumentType PInt64
-
PFloat
public static final TExtArgumentType PFloat
-
PDouble
public static final TExtArgumentType PDouble
-
Bool
public static final TExtArgumentType Bool
-
ArrayInt8
public static final TExtArgumentType ArrayInt8
-
ArrayInt16
public static final TExtArgumentType ArrayInt16
-
ArrayInt32
public static final TExtArgumentType ArrayInt32
-
ArrayInt64
public static final TExtArgumentType ArrayInt64
-
ArrayFloat
public static final TExtArgumentType ArrayFloat
-
ArrayDouble
public static final TExtArgumentType ArrayDouble
-
GeoPoint
public static final TExtArgumentType GeoPoint
-
Cursor
public static final TExtArgumentType Cursor
-
-
Method Detail
-
values
public static TExtArgumentType[] 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 (TExtArgumentType c : TExtArgumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TExtArgumentType 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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.- Specified by:
getValuein interfaceorg.apache.thrift.TEnum
-
findByValue
public static TExtArgumentType findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.- Returns:
- null if the value is not found.
-
-