Uses of Class
edu.caltech.nanodb.storage.StorageManager
-
Packages that use StorageManager Package Description edu.caltech.nanodb.commands This package contains the classes that represent the commands that the NanoSQL database recognizes.edu.caltech.nanodb.indexes edu.caltech.nanodb.queryeval This package contains the query-evaluation components of the database.edu.caltech.nanodb.server 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.edu.caltech.nanodb.storage.heapfile This package provides a naive implementation of the heap file organization for NanoDB.edu.caltech.nanodb.storage.writeahead This package contains the implementation for the write-ahead log, which allows us to provide transaction atomicity, consistency and durability.edu.caltech.nanodb.transactions This package contains classes for managing transactions at the logical level, such as concurrency control and isolation, deadlock detection and aborting transactions. -
-
Uses of StorageManager in edu.caltech.nanodb.commands
Methods in edu.caltech.nanodb.commands with parameters of type StorageManager Modifier and Type Method Description private void
CreateTableCommand. initIndexes(StorageManager storageManager, TableInfo tableInfo)
private void
CreateTableCommand. initTableConstraints(StorageManager storageManager, Schema schema, java.util.HashMap<java.lang.String,TableInfo> referencedTables)
-
Uses of StorageManager in edu.caltech.nanodb.indexes
Fields in edu.caltech.nanodb.indexes declared as StorageManager Modifier and Type Field Description private StorageManager
BasicIndexManager. storageManager
The index manager uses the storage manager a lot, so it caches a reference to the storage manager at initialization.Constructors in edu.caltech.nanodb.indexes with parameters of type StorageManager Constructor Description BasicIndexManager(StorageManager storageManager)
Initializes the heap-file table manager.IndexUpdater(StorageManager storageManager)
-
Uses of StorageManager in edu.caltech.nanodb.queryeval
Fields in edu.caltech.nanodb.queryeval declared as StorageManager Modifier and Type Field Description protected StorageManager
CostBasedJoinPlanner. storageManager
The storage manager used during query planning.protected StorageManager
SimplestPlanner. storageManager
The storage manager used during query planning.Methods in edu.caltech.nanodb.queryeval with parameters of type StorageManager Modifier and Type Method Description void
CostBasedJoinPlanner. setStorageManager(StorageManager storageManager)
Sets the server to be used during query planning.void
Planner. setStorageManager(StorageManager storageManager)
Allows the storage manager to be injected into the planner implementation, so that the planner can retrieve schema and statistics on tables that are referenced by the query.void
SimplestPlanner. setStorageManager(StorageManager storageManager)
Sets the server to be used during query planning. -
Uses of StorageManager in edu.caltech.nanodb.server
Fields in edu.caltech.nanodb.server declared as StorageManager Modifier and Type Field Description private StorageManager
NanoDBServer. storageManager
The storage manager for this database server.Methods in edu.caltech.nanodb.server that return StorageManager Modifier and Type Method Description StorageManager
NanoDBServer. getStorageManager()
Returns the storage manager for this database server. -
Uses of StorageManager in edu.caltech.nanodb.storage
Fields in edu.caltech.nanodb.storage declared as StorageManager Modifier and Type Field Description protected StorageManager
DBFileReader. storageManager
A reference to the storage manager, which we will use to read pages needed for the various operations.private StorageManager
IndexedTableManager. storageManager
Constructors in edu.caltech.nanodb.storage with parameters of type StorageManager Constructor Description DBFileReader(DBFile dbFile, StorageManager storageManager)
DBFileWriter(DBFile dbFile, StorageManager storageManager)
IndexedTableManager(StorageManager storageManager)
-
Uses of StorageManager in edu.caltech.nanodb.storage.heapfile
Fields in edu.caltech.nanodb.storage.heapfile declared as StorageManager Modifier and Type Field Description private StorageManager
HeapTupleFile. storageManager
The storage manager to use for reading and writing file pages, pinning and unpinning pages, write-ahead logging, and so forth.private StorageManager
HeapTupleFileManager. storageManager
A reference to the storage manager.Constructors in edu.caltech.nanodb.storage.heapfile with parameters of type StorageManager Constructor Description HeapTupleFile(StorageManager storageManager, HeapTupleFileManager heapFileManager, DBFile dbFile, Schema schema, TableStats stats)
HeapTupleFileManager(StorageManager storageManager)
-
Uses of StorageManager in edu.caltech.nanodb.storage.writeahead
Fields in edu.caltech.nanodb.storage.writeahead declared as StorageManager Modifier and Type Field Description private StorageManager
WALManager. storageManager
Constructors in edu.caltech.nanodb.storage.writeahead with parameters of type StorageManager Constructor Description WALManager(StorageManager storageManager)
-
Uses of StorageManager in edu.caltech.nanodb.transactions
Fields in edu.caltech.nanodb.transactions declared as StorageManager Modifier and Type Field Description private StorageManager
TransactionManager. storageManager
A reference to the storage manager that this transaction manager is operating within.
-