Uses of Class
com.akiban.sql.types.DataTypeDescriptor

Packages that use DataTypeDescriptor
com.akiban.sql.compiler   
com.akiban.sql.parser   
com.akiban.sql.types   
 

Uses of DataTypeDescriptor in com.akiban.sql.compiler
 

Methods in com.akiban.sql.compiler that return DataTypeDescriptor
protected  DataTypeDescriptor TypeComputer.aggregateNode(AggregateNode node)
           
protected  DataTypeDescriptor TypeComputer.betweenOperatorNode(BetweenOperatorNode node)
           
protected  DataTypeDescriptor TypeComputer.binaryArithmeticOperatorNode(BinaryArithmeticOperatorNode node)
           
protected  DataTypeDescriptor TypeComputer.binaryComparisonOperatorNode(BinaryComparisonOperatorNode node)
           
protected  DataTypeDescriptor TypeComputer.binaryLogicalOperatorNode(BinaryLogicalOperatorNode node)
           
protected  DataTypeDescriptor TypeComputer.coalesceFunctionNode(CoalesceFunctionNode node)
           
protected  DataTypeDescriptor TypeComputer.computeType(ValueNode node)
          Probably need to subclass and handle NodeTypes.COLUMN_REFERENCE to get type propagation started.
protected  DataTypeDescriptor TypeComputer.concatenationOperatorNode(ConcatenationOperatorNode node)
           
protected  DataTypeDescriptor TypeComputer.conditionalNode(ConditionalNode node)
           
protected  DataTypeDescriptor TypeComputer.dominantType(ValueNodeList nodeList)
           
protected  DataTypeDescriptor TypeComputer.inListOperatorNode(InListOperatorNode node)
           
 DataTypeDescriptor TimeTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor NumericTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor TypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
          Type resolution methods on binary operators
 DataTypeDescriptor DateTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor TimestampTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor IntervalTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
protected  DataTypeDescriptor TypeComputer.resultColumn(ResultColumn node)
           
protected  DataTypeDescriptor TypeComputer.subqueryNode(SubqueryNode node)
           
protected  DataTypeDescriptor TypeComputer.unaryLogicalOperatorNode(UnaryLogicalOperatorNode node)
           
 

Methods in com.akiban.sql.compiler with parameters of type DataTypeDescriptor
protected  boolean TypeComputer.addDominantCast(DataTypeDescriptor toType, DataTypeDescriptor fromType)
           
 int TimeTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int LOBTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int XMLTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int NumericTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
abstract  int TypeCompiler.getCastToCharWidth(DataTypeDescriptor dtd)
          Return the maximum width for this data type when cast to a char type.
 int CLOBTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int BitTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int DateTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int BooleanTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int UserDefinedTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int TimestampTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int IntervalTypeCompiler.getCastToCharWidth(DataTypeDescriptor dtd)
           
 int CharTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 int RefTypeCompiler.getCastToCharWidth(DataTypeDescriptor dts)
           
 DataTypeDescriptor TimeTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor NumericTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor TypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
          Type resolution methods on binary operators
 DataTypeDescriptor DateTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor TimestampTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 DataTypeDescriptor IntervalTypeCompiler.resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator)
           
 

Uses of DataTypeDescriptor in com.akiban.sql.parser
 

Methods in com.akiban.sql.parser that return DataTypeDescriptor
 DataTypeDescriptor ValueNode.getType()
          Get the DataTypeDescriptor from this ValueNode.
 DataTypeDescriptor JavaValueNode.getType()
          Get the resolved data type of this node.
 DataTypeDescriptor VirtualColumnNode.getType()
          Get the DataTypeDesciptor from this Node.
 DataTypeDescriptor ColumnDefinitionNode.getType()
          Returns the data type of the column being defined.
 DataTypeDescriptor SQLToJavaValueNode.getType()
          Override behavior in superclass.
 

Methods in com.akiban.sql.parser with parameters of type DataTypeDescriptor
 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 ValueNode.setType(DataTypeDescriptor type)
          Set the DataTypeDescriptor for this ValueNode.
 void VirtualColumnNode.setType(DataTypeDescriptor dtd)
           
 void ColumnDefinitionNode.setType(DataTypeDescriptor dts)
          Set the type of this column
 

Uses of DataTypeDescriptor in com.akiban.sql.types
 

Fields in com.akiban.sql.types declared as DataTypeDescriptor
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.
 

Methods in com.akiban.sql.types that return DataTypeDescriptor
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()
           
 

Methods in com.akiban.sql.types with parameters of type DataTypeDescriptor
 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.
 

Constructors in com.akiban.sql.types with parameters of type DataTypeDescriptor
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.