Uses of Class
edu.caltech.nanodb.relations.ColumnType
-
Packages that use ColumnType Package Description edu.caltech.nanodb.expressions This package contains classes for representing and evaluating arithmetic and logical expressions.edu.caltech.nanodb.functions This package contains the abstractions for supporting simple functions, aggregate functions, and table-returning functions in NanoDB.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.edu.caltech.nanodb.storage This package contains the classes for the Storage Manager, which is responsible for how data is stored in and retrieved from database files. -
-
Uses of ColumnType in edu.caltech.nanodb.expressions
Methods in edu.caltech.nanodb.expressions with parameters of type ColumnType Modifier and Type Method Description static java.lang.Object
TypeConverter. coerceTo(java.lang.Object obj, ColumnType colType)
-
Uses of ColumnType in edu.caltech.nanodb.functions
Methods in edu.caltech.nanodb.functions that return ColumnType Modifier and Type Method Description ColumnType
Abs. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
ArcCos. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
ArcSin. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
ArcTan. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
ArcTan2. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Ceil. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Coalesce. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Concat. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Cos. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
CountAggregate. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
CountStar. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Floor. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Greatest. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
If. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
IfNull. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Least. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
MinMaxAggregate. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
NullIf. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Pow. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
ReadPerfCounter. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
ResetPerfCounter. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Round. getReturnType(java.util.List<Expression> args, Schema schema)
abstract ColumnType
ScalarFunction. getReturnType(java.util.List<Expression> args, Schema schema)
Returns the column type of the resulting column after applying the function.ColumnType
Sin. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Sqrt. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
StdDevVarAggregate. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
SumAvgAggregate. getReturnType(java.util.List<Expression> args, Schema schema)
ColumnType
Tan. getReturnType(java.util.List<Expression> args, Schema schema)
-
Uses of ColumnType in edu.caltech.nanodb.queryeval
Fields in edu.caltech.nanodb.queryeval with type parameters of type ColumnType Modifier and Type Field Description private java.util.ArrayList<ColumnType>
PrettyPrintTools. colTypes
Stores the column type for each columnprivate java.util.ArrayList<ColumnType>
PrettyTuplePrinter. colTypes
Stores the column type for each column -
Uses of ColumnType in edu.caltech.nanodb.relations
Fields in edu.caltech.nanodb.relations declared as ColumnType Modifier and Type Field Description static ColumnType
ColumnType. BIGINT
static ColumnType
ColumnType. DATE
static ColumnType
ColumnType. DATETIME
static ColumnType
ColumnType. DOUBLE
static ColumnType
ColumnType. FILE_POINTER
static ColumnType
ColumnType. FLOAT
static ColumnType
ColumnType. INTEGER
static ColumnType
ColumnType. SMALLINT
static ColumnType
ColumnType. TIME
static ColumnType
ColumnType. TIMESTAMP
static ColumnType
ColumnType. TINYINT
private ColumnType
ColumnInfo. type
The type information for the column.Methods in edu.caltech.nanodb.relations that return ColumnType Modifier and Type Method Description static ColumnType
ColumnType. CHAR(int length)
ColumnType
ColumnInfo. getType()
Returns the type of the attribute.static ColumnType
ColumnType. NUMERIC()
static ColumnType
ColumnType. NUMERIC(int precision)
static ColumnType
ColumnType. NUMERIC(int precision, int scale)
static ColumnType
ColumnType. VARCHAR(int length)
Constructors in edu.caltech.nanodb.relations with parameters of type ColumnType Constructor Description ColumnInfo(ColumnType type)
Construct a new column-info object for a column, specifying the type of the column.ColumnInfo(java.lang.String name, ColumnType type)
Construct a new column-info object for a column, specifying the attribute name and type of the column.ColumnInfo(java.lang.String name, java.lang.String tableName, ColumnType type)
Construct a new column-info object for a column, specifying the attribute name, table name, and type of the column. -
Uses of ColumnType in edu.caltech.nanodb.storage
Methods in edu.caltech.nanodb.storage with parameters of type ColumnType Modifier and Type Method Description private int
PageTuple. getColumnValueSize(ColumnType colType, int valueOffset)
Returns the number of bytes used by the column-value at the specified offset, with the specified type.static int
PageTuple. getStorageSize(ColumnType colType, int dataLength)
Returns the storage size of a particular column's (non-NULL) value, in bytes.java.lang.Object
DBPage. readObject(int position, ColumnType colType)
This method provides a higher-level wrapper around the other methods in the DBPage class, allowing object-values to be read, as long as the data-type is provided along with the object.java.lang.Object
PageReader. readObject(ColumnType colType)
static int
PageTuple. writeNonNullValue(DBPage dbPage, int offset, ColumnType colType, java.lang.Object value)
This helper function is used by thePageTuple.setColumnValue(int, java.lang.Object)
method in the specific case when a column is being set to a non-NULL value.int
DBPage. writeObject(int position, ColumnType colType, java.lang.Object value)
This method provides a higher-level wrapper around the other methods in the DBPage class, allowing object-values to be stored, as long as the object isn't null and the data-type is provided along with the object.void
PageWriter. writeObject(ColumnType colType, java.lang.Object value)
-