Uses of Interface
edu.caltech.nanodb.storage.TupleFile
-
Packages that use TupleFile 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.plannodes This package contains classes for representing query execution plans, as well as analyzing their costs.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.edu.caltech.nanodb.storage.heapfile This package provides a naive implementation of the heap file organization for NanoDB. -
-
Uses of TupleFile in edu.caltech.nanodb.commands
Fields in edu.caltech.nanodb.commands declared as TupleFile Modifier and Type Field Description private TupleFile
DeleteCommand.TupleRemover. tupleFile
private TupleFile
InsertCommand.TupleInserter. tupleFile
private TupleFile
UpdateCommand.TupleUpdater. tupleFile
-
Uses of TupleFile in edu.caltech.nanodb.indexes
Fields in edu.caltech.nanodb.indexes declared as TupleFile Modifier and Type Field Description private TupleFile
IndexInfo. tupleFile
The tuple file that stores the index's data.Methods in edu.caltech.nanodb.indexes that return TupleFile Modifier and Type Method Description TupleFile
IndexInfo. getTupleFile()
Returns the tuple file that holds this index's data.Methods in edu.caltech.nanodb.indexes with parameters of type TupleFile Modifier and Type Method Description static PageTuple
IndexUtils. findTupleInIndex(Tuple key, TupleFile idxTupleFile)
Given an index tuple-file and a search key, this method attempts to find the first tuple in the index that matches the search key.void
IndexInfo. setTupleFile(TupleFile tupleFile)
static java.util.List<java.lang.String>
IndexUtils. verifyIndex(TupleFile tableTupleFile, TupleFile indexTupleFile)
This method performs a basic but important verification, that every tuple in a table is referenced once by the table's index, and no index entry has a tuple-reference to a non-existent tuple.Constructors in edu.caltech.nanodb.indexes with parameters of type TupleFile Constructor Description IndexInfo(TableInfo tableInfo, IndexColumnRefs indexColRefs, TupleFile tupleFile)
-
Uses of TupleFile in edu.caltech.nanodb.plannodes
Fields in edu.caltech.nanodb.plannodes declared as TupleFile Modifier and Type Field Description private TupleFile
FileScanNode. tupleFile
The table to select from if this node is a leaf. -
Uses of TupleFile in edu.caltech.nanodb.relations
Fields in edu.caltech.nanodb.relations declared as TupleFile Modifier and Type Field Description private TupleFile
TableInfo. tupleFile
The tuple file that holds the table's data.Methods in edu.caltech.nanodb.relations that return TupleFile Modifier and Type Method Description TupleFile
TableInfo. getTupleFile()
Returns the tuple file that holds the table's data.Methods in edu.caltech.nanodb.relations with parameters of type TupleFile Modifier and Type Method Description static Tuple
TableUtils. findFirstTupleEquals(TupleFile tupleFile, java.util.Map<java.lang.Integer,java.lang.Object> values)
static Tuple
TableUtils. findNextTupleEquals(TupleFile tupleFile, Tuple prevTup, java.util.Map<java.lang.Integer,java.lang.Object> values)
Constructors in edu.caltech.nanodb.relations with parameters of type TupleFile Constructor Description TableInfo(java.lang.String tableName, TupleFile tupleFile)
Construct a table-information object that represents the specified table name and associated tuple file. -
Uses of TupleFile in edu.caltech.nanodb.storage
Subinterfaces of TupleFile in edu.caltech.nanodb.storage Modifier and Type Interface Description interface
HashedTupleFile
This interface extends theTupleFile
interface, adding operations that can be provided on files of tuples that are hashed on a specific key.interface
SequentialTupleFile
This interface extends theTupleFile
interface, adding operations that can be provided on files of tuples that are stored in a specific sequential order.Methods in edu.caltech.nanodb.storage that return TupleFile Modifier and Type Method Description TupleFile
TupleFileManager. createTupleFile(DBFile dbFile, Schema schema)
Initialize the specifiedDBFile
to be a new empty table with the specified schema.TupleFile
StorageManager. openTupleFile(java.lang.String filename)
TupleFile
TupleFileManager. openTupleFile(DBFile dbFile)
Open the specifiedDBFile
as aTupleFile
of a specific type, containing tuples of data conforming to a specific schema.Methods in edu.caltech.nanodb.storage with parameters of type TupleFile Modifier and Type Method Description void
TupleFileManager. deleteTupleFile(TupleFile tupleFile)
Delete the specified tuple-file.void
TupleFileManager. saveMetadata(TupleFile tupleFile)
Writes the metadata (schema and stats information) for the tuple-file back into the tuple-file. -
Uses of TupleFile in edu.caltech.nanodb.storage.heapfile
Classes in edu.caltech.nanodb.storage.heapfile that implement TupleFile Modifier and Type Class Description class
HeapTupleFile
This class implements the TupleFile interface for heap files.Methods in edu.caltech.nanodb.storage.heapfile that return TupleFile Modifier and Type Method Description TupleFile
HeapTupleFileManager. createTupleFile(DBFile dbFile, Schema schema)
TupleFile
HeapTupleFileManager. openTupleFile(DBFile dbFile)
Methods in edu.caltech.nanodb.storage.heapfile with parameters of type TupleFile Modifier and Type Method Description void
HeapTupleFileManager. deleteTupleFile(TupleFile tupleFile)
void
HeapTupleFileManager. saveMetadata(TupleFile tupleFile)
-