|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constant | |
---|---|
simpledb.index | |
simpledb.index.btree | |
simpledb.index.hash | |
simpledb.index.query | |
simpledb.materialize | |
simpledb.multibuffer | |
simpledb.parse | |
simpledb.query |
Uses of Constant in simpledb.index |
---|
Methods in simpledb.index with parameters of type Constant | |
---|---|
void |
Index.beforeFirst(Constant searchkey)
Positions the index before the first record having the specified search key. |
void |
Index.delete(Constant dataval,
RID datarid)
Deletes the index record having the specified dataval and dataRID values. |
void |
Index.insert(Constant dataval,
RID datarid)
Inserts an index record having the specified dataval and dataRID values. |
Uses of Constant in simpledb.index.btree |
---|
Methods in simpledb.index.btree that return Constant | |
---|---|
Constant |
DirEntry.dataVal()
Returns the dataval component of the entry |
Constant |
BTreePage.getDataVal(int slot)
Returns the dataval of the record at the specified slot. |
Methods in simpledb.index.btree with parameters of type Constant | |
---|---|
void |
BTreeIndex.beforeFirst(Constant searchkey)
Traverses the directory to find the leaf block corresponding to the specified search key. |
void |
BTreeIndex.delete(Constant dataval,
RID datarid)
Deletes the specified index record. |
int |
BTreePage.findSlotBefore(Constant searchkey)
Calculates the position where the first record having the specified search key should be, then returns the position before it. |
void |
BTreeIndex.insert(Constant dataval,
RID datarid)
Inserts the specified record into the index. |
void |
BTreePage.insertDir(int slot,
Constant val,
int blknum)
Inserts a directory entry at the specified slot. |
void |
BTreePage.insertLeaf(int slot,
Constant val,
RID rid)
Inserts a leaf index record at the specified slot. |
int |
BTreeDir.search(Constant searchkey)
Returns the block number of the B-tree leaf block that contains the specified search key. |
Constructors in simpledb.index.btree with parameters of type Constant | |
---|---|
BTreeLeaf(Block blk,
TableInfo ti,
Constant searchkey,
Transaction tx)
Opens a page to hold the specified leaf block. |
|
DirEntry(Constant dataval,
int blocknum)
Creates a new entry for the specified dataval and block number. |
Uses of Constant in simpledb.index.hash |
---|
Methods in simpledb.index.hash with parameters of type Constant | |
---|---|
void |
HashIndex.beforeFirst(Constant searchkey)
Positions the index before the first index record having the specified search key. |
void |
HashIndex.delete(Constant val,
RID rid)
Deletes the specified record from the table scan for the bucket. |
void |
HashIndex.insert(Constant val,
RID rid)
Inserts a new record into the table scan for the bucket. |
Uses of Constant in simpledb.index.query |
---|
Methods in simpledb.index.query that return Constant | |
---|---|
Constant |
IndexSelectScan.getVal(String fldname)
Returns the value of the field of the current data record. |
Constant |
IndexJoinScan.getVal(String fldname)
Returns the Constant value of the specified field. |
Constructors in simpledb.index.query with parameters of type Constant | |
---|---|
IndexSelectPlan(Plan p,
IndexInfo ii,
Constant val,
Transaction tx)
Creates a new indexselect node in the query tree for the specified index and selection constant. |
|
IndexSelectScan(Index idx,
Constant val,
TableScan ts)
Creates an index select scan for the specified index and selection constant. |
Uses of Constant in simpledb.materialize |
---|
Methods in simpledb.materialize that return Constant | |
---|---|
Constant |
SortScan.getVal(String fldname)
Gets the Constant value of the specified field of the current scan. |
Constant |
MergeJoinScan.getVal(String fldname)
Returns the value of the specified field. |
Constant |
GroupValue.getVal(String fldname)
Returns the Constant value of the specified field in the group. |
Constant |
GroupByScan.getVal(String fldname)
Gets the Constant value of the specified field. |
Constant |
MaxFn.value()
Returns the current maximum. |
Constant |
CountFn.value()
Returns the current count. |
Constant |
AggregationFn.value()
Returns the computed aggregation value. |
Uses of Constant in simpledb.multibuffer |
---|
Methods in simpledb.multibuffer that return Constant | |
---|---|
Constant |
MultiBufferProductScan.getVal(String fldname)
Returns the value of the specified field. |
Constant |
ChunkScan.getVal(String fldname)
|
Uses of Constant in simpledb.parse |
---|
Methods in simpledb.parse that return Constant | |
---|---|
Constant |
Parser.constant()
|
Methods in simpledb.parse that return types with arguments of type Constant | |
---|---|
List<Constant> |
InsertData.vals()
Returns a list of values for the specified fields. |
Constructor parameters in simpledb.parse with type arguments of type Constant | |
---|---|
InsertData(String tblname,
List<String> flds,
List<Constant> vals)
Saves the table name and the field and value lists. |
Uses of Constant in simpledb.query |
---|
Classes in simpledb.query that implement Constant | |
---|---|
class |
IntConstant
The class that wraps Java ints as database constants. |
class |
StringConstant
The class that wraps Java strings as database constants. |
Methods in simpledb.query that return Constant | |
---|---|
Constant |
FieldNameExpression.asConstant()
This method should never be called. |
Constant |
Expression.asConstant()
Returns the constant corresponding to a constant expression. |
Constant |
ConstantExpression.asConstant()
Unwraps the constant and returns it. |
Constant |
Term.equatesWithConstant(String fldname)
Determines if this term is of the form "F=c" where F is the specified field and c is some constant. |
Constant |
Predicate.equatesWithConstant(String fldname)
Determines if there is a term of the form "F=c" where F is the specified field and c is some constant. |
Constant |
FieldNameExpression.evaluate(Scan s)
Evaluates the field by getting its value in the scan. |
Constant |
Expression.evaluate(Scan s)
Evaluates the expression with respect to the current record of the specified scan. |
Constant |
ConstantExpression.evaluate(Scan s)
Returns the constant, regardless of the scan. |
Constant |
TableScan.getVal(String fldname)
Returns the value of the specified field, as a Constant. |
Constant |
SelectScan.getVal(String fldname)
|
Constant |
Scan.getVal(String fldname)
Returns the value of the specified field in the current record. |
Constant |
ProjectScan.getVal(String fldname)
|
Constant |
ProductScan.getVal(String fldname)
Returns the value of the specified field. |
Methods in simpledb.query with parameters of type Constant | |
---|---|
int |
StringConstant.compareTo(Constant c)
|
int |
IntConstant.compareTo(Constant c)
|
void |
UpdateScan.setVal(String fldname,
Constant val)
Modifies the field value of the current record. |
void |
TableScan.setVal(String fldname,
Constant val)
Sets the value of the specified field, as a Constant. |
void |
SelectScan.setVal(String fldname,
Constant val)
|
Constructors in simpledb.query with parameters of type Constant | |
---|---|
ConstantExpression(Constant c)
Creates a new expression by wrapping a constant. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |