Package | Description |
---|---|
com.akiban.sql.compiler | |
com.akiban.sql.parser | |
com.akiban.sql.types |
Modifier and Type | Method and Description |
---|---|
TypeId |
TypeCompiler.getTypeId() |
Modifier and Type | Method and Description |
---|---|
boolean |
TimestampTypeCompiler.compatible(TypeId otherType)
Tell whether this type (timestamp) is compatible with the given type.
|
boolean |
BitTypeCompiler.compatible(TypeId otherType)
Tell whether this type (bit) is compatible with the given type.
|
abstract boolean |
TypeCompiler.compatible(TypeId otherType)
Determine if this type is compatible to some other type
(e.g.
|
boolean |
NumericTypeCompiler.compatible(TypeId otherType)
Tell whether this type (numeric) is compatible with the given type.
|
boolean |
CharTypeCompiler.compatible(TypeId otherType)
Tell whether this type (char) is compatible with the given type.
|
boolean |
CLOBTypeCompiler.compatible(TypeId otherType)
Tell whether this type (CLOB) is compatible with the given type.
|
boolean |
TimeTypeCompiler.compatible(TypeId otherType) |
boolean |
UserDefinedTypeCompiler.compatible(TypeId otherType) |
boolean |
XMLTypeCompiler.compatible(TypeId otherType)
Tell whether this type (XML) is compatible with the given type.
|
boolean |
RefTypeCompiler.compatible(TypeId otherType)
Tell whether this type is compatible with the given type.
|
boolean |
BooleanTypeCompiler.compatible(TypeId otherType)
Tell whether this type (boolean) is compatible with the given type.
|
boolean |
IntervalTypeCompiler.compatible(TypeId otherType)
Tell whether this type (interval) is compatible with the given type.
|
boolean |
LOBTypeCompiler.compatible(TypeId otherType)
Tell whether this type (LOB) is compatible with the given type.
|
boolean |
DateTypeCompiler.compatible(TypeId otherType)
Tell whether this type (date) is compatible with the given type.
|
boolean |
TimestampTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
User types are convertible to other user types only if
(for now) they are the same type and are being used to
implement some JDBC type.
|
boolean |
BitTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this type (bit) can be converted to the given type.
|
abstract boolean |
TypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Determine if this type can be CONVERTed to some other type
|
boolean |
NumericTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction) |
boolean |
CharTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this type (char) can be converted to the given type.
|
boolean |
CLOBTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this type (LOB) can be converted to the given type.
|
boolean |
TimeTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
User types are convertible to other user types only if
(for now) they are the same type and are being used to
implement some JDBC type.
|
boolean |
UserDefinedTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Right now, casting is not allowed from one user defined type
to another.
|
boolean |
XMLTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this type (XML) can be converted to the given type.
|
boolean |
RefTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction) |
boolean |
BooleanTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this type (boolean) can be converted to the given type.
|
boolean |
IntervalTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Determine if this type (interval) can be converted to some other type.
|
boolean |
LOBTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this type (LOB) can be converted to the given type.
|
boolean |
DateTypeCompiler.convertible(TypeId otherType,
boolean forDataTypeFunction)
User types are convertible to other user types only if
(for now) they are the same type and are being used to
implement some JDBC type.
|
static TypeCompiler |
TypeCompiler.getTypeCompiler(TypeId typeId)
Get the TypeCompiler that corresponds to the given TypeId.
|
protected TypeCompiler |
TypeComputer.getTypeCompiler(TypeId typeId)
Get the TypeCompiler associated with the given TypeId
|
protected boolean |
TypeCompiler.numberConvertible(TypeId otherType,
boolean forDataTypeFunction)
Tell whether this numeric type can be converted to the given type.
|
Constructor and Description |
---|
BitTypeCompiler(TypeId typeId) |
BooleanTypeCompiler(TypeId typeId) |
CharTypeCompiler(TypeId typeId) |
CLOBTypeCompiler(TypeId typeId) |
DateTypeCompiler(TypeId typeId) |
IntervalTypeCompiler(TypeId typeId) |
LOBTypeCompiler(TypeId typeId) |
NumericTypeCompiler(TypeId typeId) |
RefTypeCompiler(TypeId typeId) |
TimestampTypeCompiler(TypeId typeId) |
TimeTypeCompiler(TypeId typeId) |
TypeCompiler(TypeId typeId) |
UserDefinedTypeCompiler(TypeId typeId) |
XMLTypeCompiler(TypeId typeId) |
Modifier and Type | Method and Description |
---|---|
TypeId |
ValueNode.getTypeId()
Get the TypeId from this ValueNode.
|
TypeId |
JavaValueNode.mapToTypeID(JSQLType jsqlType)
Map a JSQLType to a compilation type id.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypeId.RowMultiSetTypeId |
Modifier and Type | Method and Description |
---|---|
static TypeId[] |
TypeId.getAllBuiltinTypeIds()
Return all of the builtin type ids.
|
static TypeId |
TypeId.getBuiltInTypeId(int JDBCTypeId)
Get a TypeId of the given JDBC type.
|
static TypeId |
TypeId.getBuiltInTypeId(java.lang.String SQLTypeName)
Given a SQL type name return the corresponding TypeId.
|
static TypeId |
TypeId.getRowMultiSet(java.lang.String[] columnNames,
DataTypeDescriptor[] columnTypes) |
static TypeId |
TypeId.getSQLTypeForJavaType(java.lang.String javaTypeName)
Get a TypeId for the class that corresponds to the given Java type
name.
|
TypeId |
DataTypeDescriptor.getTypeId()
Gets the TypeId for the datatype.
|
static TypeId |
TypeId.getUserDefinedTypeId(java.lang.String className,
boolean delimitedIdentifier) |
static TypeId |
TypeId.getUserDefinedTypeId(java.lang.String schemaName,
java.lang.String unqualifiedName,
java.lang.String className)
This factory method is used for ANSI UDTs.
|
static TypeId |
TypeId.intervalTypeId(TypeId startField,
TypeId endField) |
Modifier and Type | Method and Description |
---|---|
static int |
DataTypeDescriptor.intervalMaxWidth(TypeId typeId,
int precision,
int scale) |
static TypeId |
TypeId.intervalTypeId(TypeId startField,
TypeId endField) |
Constructor and Description |
---|
DataTypeDescriptor(TypeId typeId,
boolean isNullable) |
DataTypeDescriptor(TypeId typeId,
boolean isNullable,
int maximumWidth)
Constructor for use with non-numeric types
|
DataTypeDescriptor(TypeId typeId,
boolean isNullable,
int maximumWidth,
CharacterTypeAttributes characterAttributes) |
DataTypeDescriptor(TypeId typeId,
int precision,
int scale,
boolean isNullable,
int maximumWidth)
Constructor for use with numeric types
|
Copyright © 2013. All Rights Reserved.