Uses of Class
edu.caltech.nanodb.relations.SQLDataType
-
Packages that use SQLDataType Package Description edu.caltech.nanodb.expressions This package contains classes for representing and evaluating arithmetic and logical expressions.edu.caltech.nanodb.queryeval This package contains the query-evaluation components of the database.edu.caltech.nanodb.relations This package contains the basic data-types for representing relations in NanoDB. -
-
Uses of SQLDataType in edu.caltech.nanodb.expressions
Fields in edu.caltech.nanodb.expressions with type parameters of type SQLDataType Modifier and Type Field Description private static java.util.HashMap<java.lang.Class,SQLDataType>
TypeConverter. sqlTypeMapping
A mapping from the various Java types used for expression results, to their corresponding SQL data types.Methods in edu.caltech.nanodb.expressions that return SQLDataType Modifier and Type Method Description private SQLDataType
ArithmeticOperator. getSQLResultType(SQLDataType lType, SQLDataType rType)
static SQLDataType
TypeConverter. getSQLType(java.lang.Object obj)
This method attempts to assign a SQL data type to a value produced by the expression classes.Methods in edu.caltech.nanodb.expressions with parameters of type SQLDataType Modifier and Type Method Description private SQLDataType
ArithmeticOperator. getSQLResultType(SQLDataType lType, SQLDataType rType)
-
Uses of SQLDataType in edu.caltech.nanodb.queryeval
Fields in edu.caltech.nanodb.queryeval declared as SQLDataType Modifier and Type Field Description private SQLDataType
ColumnStatsCollector. sqlType
The SQL data-type for the column that stats are being collected for.Fields in edu.caltech.nanodb.queryeval with type parameters of type SQLDataType Modifier and Type Field Description private static java.util.HashSet<SQLDataType>
SelectivityEstimator. SUPPORTED_TYPES_COMPARE_ESTIMATES
This collection specifies the data-types that support comparison selectivity estimates (not including equals or not-equals).Methods in edu.caltech.nanodb.queryeval with parameters of type SQLDataType Modifier and Type Method Description static boolean
SelectivityEstimator. typeSupportsCompareEstimates(SQLDataType type)
Returns true if the database supports selectivity estimates for comparisons (other than equals and not-equals) on the specified SQL data type.Constructors in edu.caltech.nanodb.queryeval with parameters of type SQLDataType Constructor Description ColumnStatsCollector(SQLDataType sqlType)
Initializes a new column-stats collector object for a column with the specified base SQL datatype. -
Uses of SQLDataType in edu.caltech.nanodb.relations
Fields in edu.caltech.nanodb.relations declared as SQLDataType Modifier and Type Field Description private SQLDataType
ColumnType. baseType
The base SQL data-type for the attribute.Methods in edu.caltech.nanodb.relations that return SQLDataType Modifier and Type Method Description static SQLDataType
SQLDataType. findType(byte typeID)
Given the specified ID, this method returns the corresponding SQL data type enum value, or it returnsnull
if the type value doesn't signify any SQL data type in this enumeration.SQLDataType
ColumnType. getBaseType()
Returns the base datatype for the attribute.static SQLDataType
SQLDataType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLDataType[]
SQLDataType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in edu.caltech.nanodb.relations with parameters of type SQLDataType Modifier and Type Method Description static boolean
SQLDataType. isNumber(SQLDataType type)
static boolean
SQLDataType. isString(SQLDataType type)
Constructors in edu.caltech.nanodb.relations with parameters of type SQLDataType Constructor Description ColumnType(SQLDataType baseType)
Construct a new attribute-type instance, with the specified base SQL datatype.
-