| Package | Description |
|---|---|
| org.apache.calcite.avatica |
Avatica JDBC framework.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<SqlType.Method,EnumSet<SqlType>> |
SqlType.GET_LIST |
static Map<Class,EnumSet<SqlType>> |
SqlType.SET_LIST |
| Modifier and Type | Method and Description |
|---|---|
static SqlType |
SqlType.valueOf(int type) |
static SqlType |
SqlType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlType[] |
SqlType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterable<Map.Entry<Class,SqlType>> |
SqlType.getSetConversions()
Returns the entries in JDBC table B-5.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SqlType.canGet(SqlType.Method aClass,
SqlType sqlType)
Returns whether
ResultSet.getInt(int) and similar methods
can convert a value to a particular SQL type. |
static boolean |
SqlType.canSet(Class aClass,
SqlType sqlType)
Returns whether
PreparedStatement.setObject(int, java.lang.Object, int) and
PreparedStatement.setNull(int, int) can assign a value of a particular class
to a column of a particular SQL type. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.