Package org.apache.calcite.avatica
Enum SqlType.Method
- java.lang.Object
-
- java.lang.Enum<SqlType.Method>
-
- org.apache.calcite.avatica.SqlType.Method
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SqlType.Method>
- Enclosing class:
- SqlType
public static enum SqlType.Method extends java.lang.Enum<SqlType.Method>
Getter methods inResultSet.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringmethodName
-
Constructor Summary
Constructors Modifier Constructor Description privateMethod(java.lang.String methodName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlType.MethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SqlType.Method[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_BYTE
public static final SqlType.Method GET_BYTE
-
GET_SHORT
public static final SqlType.Method GET_SHORT
-
GET_INT
public static final SqlType.Method GET_INT
-
GET_LONG
public static final SqlType.Method GET_LONG
-
GET_FLOAT
public static final SqlType.Method GET_FLOAT
-
GET_DOUBLE
public static final SqlType.Method GET_DOUBLE
-
GET_BIG_DECIMAL
public static final SqlType.Method GET_BIG_DECIMAL
-
GET_BOOLEAN
public static final SqlType.Method GET_BOOLEAN
-
GET_STRING
public static final SqlType.Method GET_STRING
-
GET_N_STRING
public static final SqlType.Method GET_N_STRING
-
GET_BYTES
public static final SqlType.Method GET_BYTES
-
GET_DATE
public static final SqlType.Method GET_DATE
-
GET_TIME
public static final SqlType.Method GET_TIME
-
GET_TIMESTAMP
public static final SqlType.Method GET_TIMESTAMP
-
GET_ASCII_STREAM
public static final SqlType.Method GET_ASCII_STREAM
-
GET_BINARY_STREAM
public static final SqlType.Method GET_BINARY_STREAM
-
GET_CHARACTER_STREAM
public static final SqlType.Method GET_CHARACTER_STREAM
-
GET_N_CHARACTER_STREAM
public static final SqlType.Method GET_N_CHARACTER_STREAM
-
GET_CLOB
public static final SqlType.Method GET_CLOB
-
GET_N_CLOB
public static final SqlType.Method GET_N_CLOB
-
GET_BLOB
public static final SqlType.Method GET_BLOB
-
GET_ARRAY
public static final SqlType.Method GET_ARRAY
-
GET_REF
public static final SqlType.Method GET_REF
-
GET_URL
public static final SqlType.Method GET_URL
-
GET_OBJECT
public static final SqlType.Method GET_OBJECT
-
GET_ROW_ID
public static final SqlType.Method GET_ROW_ID
-
GET_SQLXML
public static final SqlType.Method GET_SQLXML
-
-
Method Detail
-
values
public static SqlType.Method[] 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 (SqlType.Method c : SqlType.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlType.Method valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-