Serialized Form
-
Package edu.caltech.nanodb.commands
-
Class edu.caltech.nanodb.commands.ExecutionException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.expressions
-
Class edu.caltech.nanodb.expressions.DivideByZeroException extends ExpressionException implements Serializable
-
Class edu.caltech.nanodb.expressions.ExpressionException extends NanoDBException implements Serializable
-
Class edu.caltech.nanodb.expressions.TruncationException extends TypeCastException implements Serializable
-
Class edu.caltech.nanodb.expressions.TupleLiteral extends java.lang.Object implements Serializable
-
Serialized Fields
-
storageSize
int storageSize
The cached storage size of the tuple literal in bytes, or -1 if the size has not been computed and cached. -
values
java.util.ArrayList<java.lang.Object> values
The actual values of the columns in the tuple.
-
-
-
Class edu.caltech.nanodb.expressions.TypeCastException extends ExpressionException implements Serializable
-
-
Package edu.caltech.nanodb.indexes
-
Class edu.caltech.nanodb.indexes.IndexException extends StorageException implements Serializable
-
-
Package edu.caltech.nanodb.queryeval
-
Class edu.caltech.nanodb.queryeval.InvalidSQLException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.relations
-
Class edu.caltech.nanodb.relations.ColumnInfo extends java.lang.Object implements Serializable
-
Serialized Fields
-
name
java.lang.String name
The name of the attribute. -
tableName
java.lang.String tableName
An optional table-name for the attribute, in cases where a join or Cartesian product generates a result with duplicate attribute-names. In most cases it is expected that this table-name will be null. -
type
ColumnType type
The type information for the column.
-
-
-
Class edu.caltech.nanodb.relations.ColumnType extends java.lang.Object implements Serializable
-
Serialized Fields
-
baseType
SQLDataType baseType
The base SQL data-type for the attribute. -
length
int length
For CHAR and VARCHAR attributes, this contains the length (or maximum length) of the character-sequence. This value must be at least 1; zero and negative values are invalid.This value is required in CHAR and VARCHAR attribute-declarations, but we default to a length of 1 here.
-
precision
int precision
For NUMERIC attributes, this contains the precision of the number, or the total number of significant digits in the number.The default precision value used is
ColumnType.DEFAULT_PRECISION
. -
scale
int scale
For NUMERIC attributes, this contains the scale of the number, or the number of significant digits that are to the right of the decimal place.The SQL Standard says that the default scale should be zero, which although this seems a bit useless, that's what we do.
-
-
-
Class edu.caltech.nanodb.relations.ConstraintViolationException extends NanoDBException implements Serializable
-
Class edu.caltech.nanodb.relations.Schema extends java.lang.Object implements Serializable
-
Serialized Fields
-
candidateKeys
java.util.ArrayList<KeyColumnRefs> candidateKeys
A collection of all candidate-key objects specifying the sets of columns that comprise candidate keys on this table. One of these keys may be specified as the primary key. -
colsHashedByColumn
java.util.HashMap<java.lang.String,java.util.ArrayList<Schema.IndexedColumnInfo>> colsHashedByColumn
A mapping that provides fast lookups for columns based only on column name. Because multiple columns could have the same column name (but different table names) in a single schema, the values in the mapping are lists. -
colsHashedByTable
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,Schema.IndexedColumnInfo>> colsHashedByTable
A mapping that provides fast lookups for columns based on table name and column name. The outer hash-map has table names for keys; "no table" is indicated with anull
key, whichHashMap
supports. The inner hash-map has column names for keys, and maps to column information objects. -
columnInfos
java.util.ArrayList<ColumnInfo> columnInfos
The collection of the column-info objects describing the columns in the schema. -
foreignKeys
java.util.ArrayList<ForeignKeyColumnRefs> foreignKeys
A collection of foreign-key objects specifying other tables that this table references. -
indexes
java.util.HashMap<java.lang.String,IndexColumnRefs> indexes
This collection provides easy access to all the indexes defined on this table, including those for candidate keys and the primary key. -
notNullCols
java.util.HashSet<java.lang.Integer> notNullCols
A set recording the indexes of the columns have NOT NULL constraints on them. -
referencingTables
java.util.HashSet<java.lang.String> referencingTables
A set of the tables that reference this table.
-
-
-
Class edu.caltech.nanodb.relations.SchemaNameException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.server
-
Class edu.caltech.nanodb.server.CommandResult extends java.lang.Object implements Serializable
-
Serialized Fields
-
endTimestamp
long endTimestamp
The system time when command execution ended. -
exitCommand
boolean exitCommand
A flag recording whether the command was an exit command or not. -
failure
java.lang.Exception failure
If a failure occurs while a command is being executed, this will be the exception that indicated the failure. -
firstResultTimestamp
long firstResultTimestamp
The time to the first result being produced. -
schema
Schema schema
If the command was a SELECT query and the results are to be kept, this will be the schema of the results as computed by the database. -
startTimestamp
long startTimestamp
The system time when command execution started. -
tuples
java.util.ArrayList<TupleLiteral> tuples
If the command was a SELECT query and the results are to be kept, this will be a collection of the tuples in the order they were produced by the database.
-
-
-
Class edu.caltech.nanodb.server.EventDispatchException extends NanoDBException implements Serializable
-
Class edu.caltech.nanodb.server.NanoDBException extends java.lang.RuntimeException implements Serializable
-
-
Package edu.caltech.nanodb.server.properties
-
Class edu.caltech.nanodb.server.properties.PropertyException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.storage
-
Class edu.caltech.nanodb.storage.DataFormatException extends StorageException implements Serializable
-
Class edu.caltech.nanodb.storage.FileSystemException extends StorageException implements Serializable
-
Class edu.caltech.nanodb.storage.InvalidFilePointerException extends StorageException implements Serializable
-
Class edu.caltech.nanodb.storage.StorageException extends NanoDBException implements Serializable
-
Class edu.caltech.nanodb.storage.TableException extends StorageException implements Serializable
-
Class edu.caltech.nanodb.storage.TupleFileException extends StorageException implements Serializable
-
-
Package edu.caltech.nanodb.storage.writeahead
-
Class edu.caltech.nanodb.storage.writeahead.WALFileException extends java.io.IOException implements Serializable
-
-
Package edu.caltech.nanodb.transactions
-
Class edu.caltech.nanodb.transactions.TransactionException extends NanoDBException implements Serializable
-