Package | Description |
---|---|
com.akiban.sql.compiler | |
com.akiban.sql.parser | |
com.akiban.sql.types |
Modifier and Type | Method and Description |
---|---|
DataTypeDescriptor |
ColumnDefinitionNode.getType()
Returns the data type of the column being defined.
|
DataTypeDescriptor |
JavaValueNode.getType()
Get the resolved data type of this node.
|
DataTypeDescriptor |
VirtualColumnNode.getType()
Get the DataTypeDesciptor from this Node.
|
DataTypeDescriptor |
ValueNode.getType()
Get the DataTypeDescriptor from this ValueNode.
|
DataTypeDescriptor |
SQLToJavaValueNode.getType()
Override behavior in superclass.
|
Modifier and Type | Method and Description |
---|---|
Object |
QueryTreeNode.convertDefaultNode(DataTypeDescriptor typeDescriptor)
Translate a Default node into a default value, given a type descriptor.
|
ConstantNode |
QueryTreeNode.getNullNode(DataTypeDescriptor type)
Get a ConstantNode to represent a typed null value.
|
void |
ColumnDefinitionNode.setType(DataTypeDescriptor dts)
Set the type of this column
|
void |
VirtualColumnNode.setType(DataTypeDescriptor dtd) |
void |
ValueNode.setType(DataTypeDescriptor type)
Set the DataTypeDescriptor for this ValueNode.
|
Modifier and Type | Field and Description |
---|---|
static DataTypeDescriptor |
DataTypeDescriptor.INTEGER
Runtime INTEGER type that is nullable.
|
static DataTypeDescriptor |
DataTypeDescriptor.INTEGER_NOT_NULL
Runtime INTEGER type that is not nullable.
|
static DataTypeDescriptor |
DataTypeDescriptor.MEDIUMINT |
static DataTypeDescriptor |
DataTypeDescriptor.MEDIUMINT_NOT_NULL |
static DataTypeDescriptor |
DataTypeDescriptor.SMALLINT
Runtime SMALLINT type that is nullable.
|
static DataTypeDescriptor |
DataTypeDescriptor.SMALLINT_NOT_NULL
Runtime INTEGER type that is not nullable.
|
Modifier and Type | Method and Description |
---|---|
static DataTypeDescriptor |
DataTypeDescriptor.getBuiltInDataTypeDescriptor(int jdbcType)
Get a descriptor that corresponds to a nullable builtin JDBC type.
|
static DataTypeDescriptor |
DataTypeDescriptor.getBuiltInDataTypeDescriptor(int jdbcType,
boolean isNullable)
Get a descriptor that corresponds to a builtin JDBC type.
|
static DataTypeDescriptor |
DataTypeDescriptor.getBuiltInDataTypeDescriptor(int jdbcType,
boolean isNullable,
int maxLength)
Get a descriptor that corresponds to a builtin JDBC type.
|
static DataTypeDescriptor |
DataTypeDescriptor.getBuiltInDataTypeDescriptor(int jdbcType,
int length)
Get a descriptor that corresponds to a nullable builtin variable
length JDBC type.
|
static DataTypeDescriptor |
DataTypeDescriptor.getBuiltInDataTypeDescriptor(String sqlTypeName)
Get a DataTypeDescriptor that corresponds to a nullable builtin SQL type.
|
static DataTypeDescriptor |
DataTypeDescriptor.getBuiltInDataTypeDescriptor(String sqlTypeName,
int length)
Get a DataTypeDescriptor that corresponds to a builtin SQL type
Collation type will be UCS_BASIC and derivation IMPLICIT.
|
DataTypeDescriptor[] |
TypeId.RowMultiSetTypeId.getColumnTypes() |
DataTypeDescriptor |
DataTypeDescriptor.getDominantType(DataTypeDescriptor otherDTS)
Get the dominant type (DataTypeDescriptor) of the 2.
|
DataTypeDescriptor |
DataTypeDescriptor.getNullabilityType(boolean isNullable)
Return a type descriptor identical to the this type
with the exception of its nullability.
|
DataTypeDescriptor[] |
RoutineAliasInfo.getParameterTypes()
Types of the parameters.
|
DataTypeDescriptor |
RoutineAliasInfo.getReturnType() |
static DataTypeDescriptor |
DataTypeDescriptor.getRowMultiSet(String[] columnNames,
DataTypeDescriptor[] columnTypes)
Get a catalog type that corresponds to a SQL Row Multiset
|
static DataTypeDescriptor |
DataTypeDescriptor.getSQLDataTypeDescriptor(String javaTypeName)
Get a DataTypeDescriptor that corresponds to a Java type
|
static DataTypeDescriptor |
DataTypeDescriptor.getSQLDataTypeDescriptor(String javaTypeName,
boolean isNullable)
Get a DataTypeDescriptor that corresponds to a Java type
|
static DataTypeDescriptor |
DataTypeDescriptor.getSQLDataTypeDescriptor(String javaTypeName,
int precision,
int scale,
boolean isNullable,
int maximumWidth)
Get a DataTypeDescriptor that corresponds to a Java type
|
DataTypeDescriptor |
JSQLType.getSQLType()
What's our SQLTYPE?
|
DataTypeDescriptor |
DataTypeDescriptor.getUnsigned() |
Modifier and Type | Method and Description |
---|---|
boolean |
DataTypeDescriptor.comparable(DataTypeDescriptor compareWithDTD,
boolean forEquals)
Check if this type is comparable with the passed type.
|
DataTypeDescriptor |
DataTypeDescriptor.getDominantType(DataTypeDescriptor otherDTS)
Get the dominant type (DataTypeDescriptor) of the 2.
|
int |
TypeId.getPrecision(DataTypeDescriptor leftType,
DataTypeDescriptor rightType)
Get the precision of the merge of two Decimals
|
static TypeId |
TypeId.getRowMultiSet(String[] columnNames,
DataTypeDescriptor[] columnTypes) |
static DataTypeDescriptor |
DataTypeDescriptor.getRowMultiSet(String[] columnNames,
DataTypeDescriptor[] columnTypes)
Get a catalog type that corresponds to a SQL Row Multiset
|
int |
TypeId.getScale(DataTypeDescriptor leftType,
DataTypeDescriptor rightType)
Get the scale of the merge of two decimals
|
String |
TypeId.toParsableString(DataTypeDescriptor dts)
Converts this TypeId, given a data type descriptor (including length/precision),
to a string.
|
Constructor and Description |
---|
DataTypeDescriptor(DataTypeDescriptor source,
CharacterTypeAttributes characterAttributes) |
JSQLType(DataTypeDescriptor sqlType)
Create a JSQLType from a SQL type.
|
RoutineAliasInfo(String methodName,
int parameterCount,
String[] parameterNames,
DataTypeDescriptor[] parameterTypes,
int[] parameterModes,
int dynamicResultSets,
String language,
String parameterStyle,
RoutineAliasInfo.SQLAllowed sqlAllowed,
boolean deterministic,
boolean definersRights,
boolean calledOnNullInput,
DataTypeDescriptor returnType)
Create a RoutineAliasInfo for a PROCEDURE or FUNCTION
|
RoutineAliasInfo(String methodName,
int parameterCount,
String[] parameterNames,
DataTypeDescriptor[] parameterTypes,
int[] parameterModes,
int dynamicResultSets,
String language,
String parameterStyle,
RoutineAliasInfo.SQLAllowed sqlAllowed,
boolean deterministic,
boolean definersRights,
boolean calledOnNullInput,
DataTypeDescriptor returnType)
Create a RoutineAliasInfo for a PROCEDURE or FUNCTION
|
TypeId.RowMultiSetTypeId(String[] columnNames,
DataTypeDescriptor[] columnTypes) |
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.