| Package | Description |
|---|---|
| org.apache.calcite.avatica |
Avatica JDBC framework.
|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Field and Description |
|---|---|
ColumnMetaData.Rep |
ColumnMetaData.AvaticaType.rep
The type of the field that holds the value.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Class,ColumnMetaData.Rep> |
ColumnMetaData.Rep.VALUE_MAP |
| Modifier and Type | Method and Description |
|---|---|
static ColumnMetaData.Rep |
ColumnMetaData.Rep.fromProto(Common.Rep proto) |
static ColumnMetaData.Rep |
ColumnMetaData.Rep.of(Type clazz) |
static ColumnMetaData.Rep |
ColumnMetaData.Rep.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnMetaData.Rep[] |
ColumnMetaData.Rep.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnMetaData.ArrayType |
ColumnMetaData.array(ColumnMetaData.AvaticaType componentType,
String typeName,
ColumnMetaData.Rep rep)
Creates an
ColumnMetaData.ArrayType. |
static ColumnMetaData.ScalarType |
ColumnMetaData.scalar(int type,
String typeName,
ColumnMetaData.Rep rep)
Creates a
ColumnMetaData.ScalarType. |
ColumnMetaData |
ColumnMetaData.setRep(ColumnMetaData.Rep rep) |
ColumnMetaData.AvaticaType |
ColumnMetaData.AvaticaType.setRep(ColumnMetaData.Rep rep) |
ColumnMetaData.AvaticaType |
ColumnMetaData.ScalarType.setRep(ColumnMetaData.Rep rep) |
private TypedValue |
AvaticaSite.wrap(ColumnMetaData.Rep rep,
Object o) |
private TypedValue |
AvaticaSite.wrap(ColumnMetaData.Rep rep,
Object o,
Calendar calendar) |
| Constructor and Description |
|---|
ColumnMetaData.ArrayType(int type,
String typeName,
ColumnMetaData.Rep representation,
ColumnMetaData.AvaticaType component)
Not for public use.
|
ColumnMetaData.AvaticaType(int id,
String name,
ColumnMetaData.Rep rep) |
ColumnMetaData.ScalarType(int id,
String name,
ColumnMetaData.Rep rep) |
| Modifier and Type | Field and Description |
|---|---|
ColumnMetaData.Rep |
TypedValue.type
Type of the value.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
TypedValue.isSerial(ColumnMetaData.Rep rep,
Object value) |
private static Object |
TypedValue.jdbcToSerial(ColumnMetaData.Rep rep,
Object value,
Calendar calendar)
Converts a value from JDBC format to a type that can be serialized as
JSON.
|
private static Object |
TypedValue.localToSerial(ColumnMetaData.Rep rep,
Object value)
Converts a value from internal format to a type that can be serialized
as JSON.
|
static TypedValue |
TypedValue.ofJdbc(ColumnMetaData.Rep rep,
Object value,
Calendar calendar)
Creates a TypedValue from a value in JDBC representation.
|
static TypedValue |
TypedValue.ofLocal(ColumnMetaData.Rep rep,
Object value)
Creates a TypedValue from a value in local representation.
|
static TypedValue |
TypedValue.ofSerial(ColumnMetaData.Rep rep,
Object value)
Creates a TypedValue from a value in serial representation.
|
private static Object |
TypedValue.serialToJdbc(ColumnMetaData.Rep type,
Object value,
Calendar calendar) |
private static Object |
TypedValue.serialToLocal(ColumnMetaData.Rep rep,
Object value)
Converts a value to the exact type required for the given
representation.
|
| Constructor and Description |
|---|
TypedValue(ColumnMetaData.Rep rep,
Object value) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.