Serialized Form
-
Package edu.caltech.nanodb.commands
-
Exception Class edu.caltech.nanodb.commands.ExecutionException
class ExecutionException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.expressions
-
Exception Class edu.caltech.nanodb.expressions.DivideByZeroException
class DivideByZeroException extends ExpressionException implements Serializable -
Exception Class edu.caltech.nanodb.expressions.ExpressionException
class ExpressionException extends NanoDBException implements Serializable -
Exception Class edu.caltech.nanodb.expressions.TruncationException
class TruncationException extends TypeCastException implements Serializable -
Class edu.caltech.nanodb.expressions.TupleLiteral
class TupleLiteral extends Object implements Serializable -
Exception Class edu.caltech.nanodb.expressions.TypeCastException
class TypeCastException extends ExpressionException implements Serializable
-
-
Package edu.caltech.nanodb.indexes
-
Exception Class edu.caltech.nanodb.indexes.IndexException
class IndexException extends StorageException implements Serializable
-
-
Package edu.caltech.nanodb.queryeval
-
Exception Class edu.caltech.nanodb.queryeval.InvalidSQLException
class InvalidSQLException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.relations
-
Class edu.caltech.nanodb.relations.ColumnInfo
class ColumnInfo extends Object implements Serializable-
Serialized Fields
-
name
String name
The name of the attribute. -
tableName
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
class ColumnType extends 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.
-
-
-
Exception Class edu.caltech.nanodb.relations.ConstraintViolationException
class ConstraintViolationException extends NanoDBException implements Serializable -
Class edu.caltech.nanodb.relations.Schema
class Schema extends Object implements Serializable-
Serialized Fields
-
candidateKeys
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
HashMap<String,
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
HashMap<String,
HashMap<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 anullkey, whichHashMapsupports. The inner hash-map has column names for keys, and maps to column information objects. -
columnInfos
ArrayList<ColumnInfo> columnInfos
The collection of the column-info objects describing the columns in the schema. -
foreignKeys
ArrayList<ForeignKeyColumnRefs> foreignKeys
A collection of foreign-key objects specifying other tables that this table references. -
indexes
HashMap<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
HashSet<Integer> notNullCols
A set recording the indexes of the columns have NOT NULL constraints on them. -
referencingTables
HashSet<String> referencingTables
A set of the tables that reference this table.
-
-
-
Exception Class edu.caltech.nanodb.relations.SchemaNameException
class SchemaNameException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.server
-
Class edu.caltech.nanodb.server.CommandResult
class CommandResult extends 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
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
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.
-
-
-
Exception Class edu.caltech.nanodb.server.NanoDBException
class NanoDBException extends RuntimeException implements Serializable
-
-
Package edu.caltech.nanodb.server.properties
-
Exception Class edu.caltech.nanodb.server.properties.PropertyException
class PropertyException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.storage
-
Exception Class edu.caltech.nanodb.storage.DataFormatException
class DataFormatException extends StorageException implements Serializable -
Exception Class edu.caltech.nanodb.storage.FileSystemException
class FileSystemException extends StorageException implements Serializable -
Exception Class edu.caltech.nanodb.storage.InvalidFilePointerException
class InvalidFilePointerException extends StorageException implements Serializable -
Exception Class edu.caltech.nanodb.storage.StorageException
class StorageException extends NanoDBException implements Serializable -
Exception Class edu.caltech.nanodb.storage.TableException
class TableException extends StorageException implements Serializable -
Exception Class edu.caltech.nanodb.storage.TupleFileException
class TupleFileException extends StorageException implements Serializable
-
-
Package edu.caltech.nanodb.storage.btreefile
-
Exception Class edu.caltech.nanodb.storage.btreefile.BTreeTupleFileException
class BTreeTupleFileException extends TupleFileException implements Serializable
-
-
Package edu.caltech.nanodb.storage.writeahead
-
Exception Class edu.caltech.nanodb.storage.writeahead.WALFileException
class WALFileException extends IOException implements Serializable
-
-
Package edu.caltech.nanodb.transactions
-
Exception Class edu.caltech.nanodb.transactions.TransactionException
class TransactionException extends NanoDBException implements Serializable
-
-
Package edu.caltech.nanodb.transactions.lockcc
-
Exception Class edu.caltech.nanodb.transactions.lockcc.DeadlockException
class DeadlockException extends TransactionException implements Serializable
-