Uses of Class
edu.caltech.nanodb.relations.ForeignKeyColumnRefs
-
Packages that use ForeignKeyColumnRefs Package Description edu.caltech.nanodb.commands This package contains the classes that represent the commands that the NanoSQL database recognizes.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 ForeignKeyColumnRefs in edu.caltech.nanodb.commands
Methods in edu.caltech.nanodb.commands that return ForeignKeyColumnRefs Modifier and Type Method Description static ForeignKeyColumnRefs
DDLUtils. makeForeignKey(Schema tableSchema, TableInfo refTableInfo, ConstraintDecl constraintDecl)
This method constructs aForeignKeyColumnRefs
object that includes the columns named in the input list, as well as the referenced table and column names. -
Uses of ForeignKeyColumnRefs in edu.caltech.nanodb.relations
Fields in edu.caltech.nanodb.relations with type parameters of type ForeignKeyColumnRefs Modifier and Type Field Description private java.util.ArrayList<ForeignKeyColumnRefs>
Schema. foreignKeys
A collection of foreign-key objects specifying other tables that this table references.Methods in edu.caltech.nanodb.relations that return types with arguments of type ForeignKeyColumnRefs Modifier and Type Method Description java.util.List<ForeignKeyColumnRefs>
Schema. getForeignKeys()
Methods in edu.caltech.nanodb.relations with parameters of type ForeignKeyColumnRefs Modifier and Type Method Description void
Schema. addForeignKey(ForeignKeyColumnRefs fk)
private boolean
DatabaseConstraintEnforcer. referencedTableHasValue(ForeignKeyColumnRefs foreignKey, Tuple tuple)
This helper function enforces a foreign key constraint by checking the referenced table to ensure that the tuple being added has values that appear in the referenced table. -
Uses of ForeignKeyColumnRefs in edu.caltech.nanodb.storage
Methods in edu.caltech.nanodb.storage that return ForeignKeyColumnRefs Modifier and Type Method Description protected ForeignKeyColumnRefs
SchemaWriter. readForeignKey(PageReader pgReader, int typeID)
Methods in edu.caltech.nanodb.storage with parameters of type ForeignKeyColumnRefs Modifier and Type Method Description protected void
SchemaWriter. writeForeignKey(PageWriter pgWriter, ForeignKeyColumnRefs key)
-