| Package | Description |
|---|---|
| org.apache.calcite.avatica |
Avatica JDBC framework.
|
| org.apache.calcite.avatica.util |
Avatica utilities.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Cursor.Accessor> |
AvaticaResultSet.accessorList |
| Modifier and Type | Method and Description |
|---|---|
private Cursor.Accessor |
AvaticaResultSet.getAccessor(int columnIndex)
Returns the accessor for column with a given index.
|
private Cursor.Accessor |
AvaticaResultSet.getAccessor(String columnLabel)
Returns the accessor for column with a given label.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
AvaticaSite.get(Cursor.Accessor accessor,
int targetSqlType,
Calendar localCalendar)
Similar logic to
AvaticaSite.setObject(java.lang.Object, int). |
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
AbstractCursor.AccessorImpl
Implementation of
Cursor.Accessor. |
private static class |
AbstractCursor.ApproximateNumericAccessor
Accessor of values that are
Double or null. |
(package private) static class |
AbstractCursor.ArrayAccessor
Accessor that assumes that the underlying value is an ARRAY;
corresponds to
Types.ARRAY. |
private static class |
AbstractCursor.BigDecimalAccessor
Accessor that assumes that the underlying value is a
BigDecimal;
corresponds to Types.DECIMAL. |
private static class |
AbstractCursor.BigNumberAccessor
Accessor of exact numeric values.
|
private static class |
AbstractCursor.BinaryAccessor
Accessor that assumes that the underlying value is an array of
ByteString values;
corresponds to Types.BINARY
and Types.VARBINARY. |
private static class |
AbstractCursor.BinaryFromStringAccessor
Accessor that assumes that the underlying value is a
String,
encoding Types.BINARY
and Types.VARBINARY values in Base64 format. |
private static class |
AbstractCursor.BooleanAccessor
Accessor that assumes that the underlying value is a
Boolean;
corresponds to Types.BOOLEAN. |
private static class |
AbstractCursor.ByteAccessor
Accessor that assumes that the underlying value is a
Byte;
corresponds to Types.TINYINT. |
private static class |
AbstractCursor.DateAccessor
Accessor that assumes that the underlying value is a DATE,
represented as a java.sql.Date;
corresponds to
Types.DATE. |
private static class |
AbstractCursor.DateFromNumberAccessor
Accessor that assumes that the underlying value is a DATE,
in its default representation
int;
corresponds to Types.DATE. |
private static class |
AbstractCursor.DoubleAccessor
Accessor that assumes that the underlying value is a
Double;
corresponds to Types.DOUBLE. |
private static class |
AbstractCursor.ExactNumericAccessor
Accessor of exact numeric values.
|
private static class |
AbstractCursor.FixedStringAccessor
Accessor that assumes that the underlying value is a
String;
corresponds to Types.CHAR. |
private static class |
AbstractCursor.FloatAccessor
Accessor that assumes that the underlying value is a
Float;
corresponds to Types.FLOAT. |
private static class |
AbstractCursor.IntAccessor
Accessor that assumes that the underlying value is an
Integer;
corresponds to Types.INTEGER. |
private static class |
AbstractCursor.IntervalDayTimeAccessor
Accessor that assumes that the underlying value is a
long;
corresponds to Types.OTHER. |
private static class |
AbstractCursor.IntervalYearMonthAccessor
Accessor that assumes that the underlying value is a
int;
corresponds to Types.OTHER. |
private static class |
AbstractCursor.LongAccessor
Accessor that assumes that the underlying value is a
Long;
corresponds to Types.BIGINT. |
(package private) static class |
AbstractCursor.NumberAccessor
Accessor that assumes that the underlying value is a
Number;
corresponds to Types.NUMERIC. |
private static class |
AbstractCursor.ObjectAccessor
Accessor that assumes that the underlying value is an OBJECT;
corresponds to
Types.JAVA_OBJECT. |
private static class |
AbstractCursor.ShortAccessor
Accessor that assumes that the underlying value is a
Short;
corresponds to Types.SMALLINT. |
private static class |
AbstractCursor.StringAccessor
Accessor that assumes that the underlying value is a
String;
corresponds to Types.CHAR
and Types.VARCHAR. |
private static class |
AbstractCursor.StringFromCharAccessor
Accessor that assumes that the underlying value is a
String;
corresponds to Types.CHAR. |
private static class |
AbstractCursor.StructAccessor
Accessor that assumes that the underlying value is a STRUCT;
corresponds to
Types.STRUCT. |
private static class |
AbstractCursor.TimeAccessor
Accessor that assumes that the underlying value is a TIME,
represented as a java.sql.Time;
corresponds to
Types.TIME. |
private static class |
AbstractCursor.TimeFromNumberAccessor
Accessor that assumes that the underlying value is a Time,
in its default representation
int;
corresponds to Types.TIME. |
private static class |
AbstractCursor.TimestampAccessor
Accessor that assumes that the underlying value is a TIMESTAMP,
represented as a java.sql.Timestamp;
corresponds to
Types.TIMESTAMP. |
private static class |
AbstractCursor.TimestampFromNumberAccessor
Accessor that assumes that the underlying value is a TIMESTAMP,
in its default representation
long;
corresponds to Types.TIMESTAMP. |
private static class |
AbstractCursor.TimestampFromUtilDateAccessor
Accessor that assumes that the underlying value is a TIMESTAMP,
represented as a java.util.Date;
corresponds to
Types.TIMESTAMP. |
| Modifier and Type | Field and Description |
|---|---|
(package private) Cursor.Accessor |
AbstractCursor.ArrayAccessor.componentAccessor |
| Modifier and Type | Field and Description |
|---|---|
private List<Cursor.Accessor> |
AbstractCursor.StructAccessor.fieldAccessors |
| Modifier and Type | Method and Description |
|---|---|
protected Cursor.Accessor |
AbstractCursor.createAccessor(ColumnMetaData columnMetaData,
AbstractCursor.Getter getter,
Calendar localCalendar,
ArrayImpl.Factory factory) |
protected Cursor.Accessor |
AbstractCursor.createAccessor(ColumnMetaData columnMetaData,
int ordinal,
Calendar localCalendar,
ArrayImpl.Factory factory) |
| Modifier and Type | Method and Description |
|---|---|
List<Cursor.Accessor> |
Cursor.createAccessors(List<ColumnMetaData> types,
Calendar localCalendar,
ArrayImpl.Factory factory)
Creates a list of accessors, one per column.
|
List<Cursor.Accessor> |
AbstractCursor.createAccessors(List<ColumnMetaData> types,
Calendar localCalendar,
ArrayImpl.Factory factory) |
| Constructor and Description |
|---|
AbstractCursor.ArrayAccessor(AbstractCursor.Getter getter,
ColumnMetaData.AvaticaType componentType,
Cursor.Accessor componentAccessor,
AbstractCursor.SlotGetter componentSlotGetter,
ArrayImpl.Factory factory) |
| Constructor and Description |
|---|
AbstractCursor.StructAccessor(AbstractCursor.Getter getter,
List<Cursor.Accessor> fieldAccessors) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.