Uses of Class
edu.caltech.nanodb.relations.ForeignKeyValueChangeOption
-
Packages that use ForeignKeyValueChangeOption 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. -
-
Uses of ForeignKeyValueChangeOption in edu.caltech.nanodb.commands
Fields in edu.caltech.nanodb.commands declared as ForeignKeyValueChangeOption Modifier and Type Field Description private ForeignKeyValueChangeOption
ConstraintDecl. onDeleteOption
ForTableConstraintType.FOREIGN_KEY
constraints, this is theForeignKeyValueChangeOption
for ON DELETE behavior.private ForeignKeyValueChangeOption
ConstraintDecl. onUpdateOption
ForTableConstraintType.FOREIGN_KEY
constraints, this is theForeignKeyValueChangeOption
for ON UPDATE behavior.Methods in edu.caltech.nanodb.commands that return ForeignKeyValueChangeOption Modifier and Type Method Description ForeignKeyValueChangeOption
ConstraintDecl. getOnDeleteOption()
Returns the ON DELETEForeignKeyValueChangeOption
for aTableConstraintType.FOREIGN_KEY
constraint.ForeignKeyValueChangeOption
ConstraintDecl. getOnUpdateOption()
Returns the ON UPDATEForeignKeyValueChangeOption
for aTableConstraintType.FOREIGN_KEY
constraint.Methods in edu.caltech.nanodb.commands with parameters of type ForeignKeyValueChangeOption Modifier and Type Method Description void
ConstraintDecl. setOnDeleteOption(ForeignKeyValueChangeOption f)
Add an ON DELETE option to aTableConstraintType.FOREIGN_KEY
constraint.void
ConstraintDecl. setOnUpdateOption(ForeignKeyValueChangeOption f)
Add an ON UPDATE option to aTableConstraintType.FOREIGN_KEY
constraint. -
Uses of ForeignKeyValueChangeOption in edu.caltech.nanodb.relations
Fields in edu.caltech.nanodb.relations declared as ForeignKeyValueChangeOption Modifier and Type Field Description private ForeignKeyValueChangeOption
ForeignKeyColumnRefs. onDeleteOption
This is the ON DELETE behaviorprivate ForeignKeyValueChangeOption
ForeignKeyColumnRefs. onUpdateOption
This is the ON UPDATE behaviorMethods in edu.caltech.nanodb.relations that return ForeignKeyValueChangeOption Modifier and Type Method Description static ForeignKeyValueChangeOption
ForeignKeyValueChangeOption. findType(int typeID)
Given the specified ID, this method returns the corresponding constraint type enum value, or it returnsnull
if the type value doesn't signify any constraint type in this enumeration.ForeignKeyValueChangeOption
ForeignKeyColumnRefs. getOnDeleteOption()
ForeignKeyValueChangeOption
ForeignKeyColumnRefs. getOnUpdateOption()
static ForeignKeyValueChangeOption
ForeignKeyValueChangeOption. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ForeignKeyValueChangeOption[]
ForeignKeyValueChangeOption. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in edu.caltech.nanodb.relations with parameters of type ForeignKeyValueChangeOption Constructor Description ForeignKeyColumnRefs(int[] colIndexes, java.lang.String referencedTable, int[] referencedColIndexes, ForeignKeyValueChangeOption onDeleteOption, ForeignKeyValueChangeOption onUpdateOption)
-