Uses of Class
edu.caltech.nanodb.relations.ColumnRefs
-
Packages that use ColumnRefs Package Description edu.caltech.nanodb.indexes edu.caltech.nanodb.relations This package contains the basic data-types for representing relations in NanoDB. -
-
Uses of ColumnRefs in edu.caltech.nanodb.indexes
Methods in edu.caltech.nanodb.indexes with parameters of type ColumnRefs Modifier and Type Method Description static Schema
IndexUtils. makeIndexSchema(Schema tableSchema, ColumnRefs indexDesc)
This method takes the schema of a table, and a description of an index, and it builds the schema that the index should have.static TupleLiteral
IndexUtils. makeTableSearchKey(ColumnRefs columnRefs, Tuple tuple, boolean findExactTuple)
This helper function creates aTupleLiteral
that holds the key-values necessary for probing, storing or deleting a tuple in a table's index. -
Uses of ColumnRefs in edu.caltech.nanodb.relations
Subclasses of ColumnRefs in edu.caltech.nanodb.relations Modifier and Type Class Description class
IndexColumnRefs
This class records that there is an index built on a particular set of columns.class
KeyColumnRefs
This class represents a primary key or other unique key, specifying the indexes of the columns in the key.Methods in edu.caltech.nanodb.relations that return ColumnRefs Modifier and Type Method Description static ColumnRefs
TableUtils. findIndexOnColumns(TableInfo tableInfo, int[] colIndexes)
Methods in edu.caltech.nanodb.relations with parameters of type ColumnRefs Modifier and Type Method Description boolean
ColumnRefs. equalsColumns(ColumnRefs ci)
Returns true if the specified ColumnIndexes object has the same columns as this object, in the exact same order.java.util.List<KeyColumnRefs>
Schema. getAllKeysOnColumns(ColumnRefs colRefs)
Returns all candidate-keys from this schema that have the specified set of columns.KeyColumnRefs
Schema. getKeyOnColumns(ColumnRefs colRefs)
Returns any candidate-key from this schema that has the specified set of columns.boolean
Schema. hasKeyOnColumns(ColumnRefs colRefs)
Returnstrue
if this schema has a candidate key on the set of columns specified in the argument.boolean
ColumnRefs. hasSameColumns(ColumnRefs ci)
Returns true if the specified ColumnIndexes object has the same columns as this object, independent of order.
-