Uses of Class
org.apache.calcite.avatica.SqlType
-
Packages that use SqlType Package Description org.apache.calcite.avatica Avatica JDBC framework.org.apache.calcite.avatica.remote JDBC driver that uses remote procedure calls. -
-
Uses of SqlType in org.apache.calcite.avatica
Fields in org.apache.calcite.avatica with type parameters of type SqlType Modifier and Type Field Description private static java.util.Map<java.lang.Integer,SqlType>SqlType. BY_IDstatic java.util.Map<SqlType.Method,java.util.EnumSet<SqlType>>SqlType. GET_LISTstatic java.util.Map<java.lang.Class,java.util.EnumSet<SqlType>>SqlType. SET_LISTMethods in org.apache.calcite.avatica that return SqlType Modifier and Type Method Description static SqlTypeSqlType. valueOf(int type)Returns the enum constant of this type with the specified name.static SqlTypeSqlType. valueOf(java.lang.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.Methods in org.apache.calcite.avatica that return types with arguments of type SqlType Modifier and Type Method Description static java.lang.Iterable<java.util.Map.Entry<java.lang.Class,SqlType>>SqlType. getSetConversions()Returns the entries in JDBC table B-5.Methods in org.apache.calcite.avatica with parameters of type SqlType Modifier and Type Method Description static booleanSqlType. canGet(SqlType.Method method, SqlType sqlType)Returns whetherResultSet.getInt(int)and similar methods can convert a value to a particular SQL type.static booleanSqlType. canSet(java.lang.Class aClass, SqlType sqlType)Returns whetherPreparedStatement.setObject(int, java.lang.Object, int)andPreparedStatement.setNull(int, int)can assign a value of a particular class to a column of a particular SQL type.static ColumnMetaData.RepColumnMetaData.Rep. nonPrimitiveRepOf(SqlType type)Computes the given JDBC type for a primitive to the correspondingColumnMetaData.Repfor the equivalent Object type.static ColumnMetaData.RepColumnMetaData.Rep. serialRepOf(SqlType type)Computes the given JDBC type into theColumnMetaData.Repfor the wire (serial) form of that type. -
Uses of SqlType in org.apache.calcite.avatica.remote
Methods in org.apache.calcite.avatica.remote with parameters of type SqlType Modifier and Type Method Description private static java.lang.ObjectTypedValue. jdbcToSerial(ColumnMetaData.Rep rep, java.lang.Object value, java.util.Calendar calendar, SqlType componentType)Converts a value from JDBC format to a type that can be serialized as JSON.
-