Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

abort(Executor) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
abort() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
abort(String) - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
absolute(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
AbstractJoinPlan - Class in org.vanilladb.core.query.algebra
An abstract Plan class corresponding to the join relational algebra operator.
AbstractJoinPlan() - Constructor for class org.vanilladb.core.query.algebra.AbstractJoinPlan
 
acceptsURL(String) - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
AccessPath - Class in org.vanilladb.core.query.planner.opt
This class contains methods for a valid access path
AccessPath(TablePlanner, Plan) - Constructor for class org.vanilladb.core.query.planner.opt.AccessPath
 
AccessPath(AccessPath, TablePlanner, Plan) - Constructor for class org.vanilladb.core.query.planner.opt.AccessPath
 
add(Constant) - Method in class org.vanilladb.core.sql.BigIntConstant
 
add(Constant) - Method in class org.vanilladb.core.sql.Constant
Adds this constant a value specified by another constant.
add(Constant) - Method in class org.vanilladb.core.sql.DoubleConstant
 
add(Constant) - Method in class org.vanilladb.core.sql.IntegerConstant
 
add(String, Schema) - Method in class org.vanilladb.core.sql.Schema
Adds a field in another schema having the specified name to this schema.
add(Constant) - Method in class org.vanilladb.core.sql.VarcharConstant
 
addAll(Schema) - Method in class org.vanilladb.core.sql.Schema
Adds all of the fields in the specified schema to this schema.
addBatch(String) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
addBucket(String, Bucket) - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
 
addComponentProfile(Object, long, long, long, long, long, int) - Method in class org.vanilladb.core.util.TransactionProfiler
 
addField(String, Type) - Method in class org.vanilladb.core.sql.Schema
Adds a field to this schema having a specified name and type.
addField(String) - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
 
addLifecycleListener(TransactionLifecycleListener) - Method in class org.vanilladb.core.storage.tx.Transaction
 
addTime(Object, long) - Static method in class org.vanilladb.core.util.TimerStatistics
 
addToGlobalStatistics() - Method in class org.vanilladb.core.util.TransactionProfiler
 
afterLast() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
aggregationFn() - Method in class org.vanilladb.core.query.parse.QueryData
Returns the aggregation functions mentioned in the clause.
AggregationFn - Class in org.vanilladb.core.sql.aggfn
The interface implemented by aggregation functions.
AggregationFn() - Constructor for class org.vanilladb.core.sql.aggfn.AggregationFn
 
append(IoBuffer) - Method in interface org.vanilladb.core.storage.file.io.IoChannel
 
append(IoBuffer) - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioFileChannel
 
append(IoBuffer) - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectIoChannel
 
append(String) - Method in class org.vanilladb.core.storage.file.Page
Appends the contents of the page to the specified file.
append(Constant[]) - Method in class org.vanilladb.core.storage.log.LogMgr
Appends a log record to the file.
applyConstant(Constant) - Method in class org.vanilladb.core.sql.ConstantRange
 
applyConstant(Constant) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
applyConstant(Constant) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
applyHigh(Constant, boolean) - Method in class org.vanilladb.core.sql.ConstantRange
Returns a new range with high set to the specified constant if doing so makes the upper bound more strict.
applyHigh(Constant, boolean) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
applyHigh(Constant, boolean) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
applyLow(Constant, boolean) - Method in class org.vanilladb.core.sql.ConstantRange
Returns a new range with low set to the specified constant if doing so makes the lower bound more strict.
applyLow(Constant, boolean) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
applyLow(Constant, boolean) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns the name of the argument field.
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
argumentFieldName() - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
asBytes() - Method in class org.vanilladb.core.sql.BigIntConstant
 
asBytes() - Method in class org.vanilladb.core.sql.Constant
Returns the byte array corresponding to this constant value.
asBytes() - Method in class org.vanilladb.core.sql.DoubleConstant
 
asBytes() - Method in class org.vanilladb.core.sql.IntegerConstant
 
asBytes() - Method in class org.vanilladb.core.sql.VarcharConstant
Each char is encoded using the VarcharType.CHAR_SET.
asConstant() - Method in class org.vanilladb.core.sql.ConstantRange
 
asConstant() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
asConstant() - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
Return the evaluated constant value if both expressions are constant.
asConstant() - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
Unwraps the constant and returns it.
asConstant() - Method in interface org.vanilladb.core.sql.predicate.Expression
Returns the constant corresponding to a constant expression.
asConstant() - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
This method should never be called.
asConstant() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
asFieldName() - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
This method should never be called.
asFieldName() - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
This method should never be called.
asFieldName() - Method in interface org.vanilladb.core.sql.predicate.Expression
Returns the field name corresponding to a field name expression.
asFieldName() - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
Unwraps the field name and returns it.
asJavaVal() - Method in class org.vanilladb.core.sql.BigIntConstant
 
asJavaVal() - Method in class org.vanilladb.core.sql.Constant
Returns the Java object corresponding to this constant.
asJavaVal() - Method in class org.vanilladb.core.sql.DoubleConstant
Unwraps the Double and returns it.
asJavaVal() - Method in class org.vanilladb.core.sql.IntegerConstant
Unwraps the Integer and returns it.
asJavaVal() - Method in class org.vanilladb.core.sql.VarcharConstant
Unwraps the string and returns it.
asSearchKey() - Method in class org.vanilladb.core.storage.index.SearchRange
Converts this range into a SearchKey.
available() - Method in class org.vanilladb.core.storage.buffer.BufferMgr
Returns the number of available (ie unpinned) buffers.
AvgFn - Class in org.vanilladb.core.sql.aggfn
The avg aggregation function.
AvgFn(String) - Constructor for class org.vanilladb.core.sql.aggfn.AvgFn
 

B

BadSemanticException - Exception in org.vanilladb.core.query.planner
A runtime exception indicating that the submitted query has incorrect semantic.
BadSemanticException() - Constructor for exception org.vanilladb.core.query.planner.BadSemanticException
 
BadSemanticException(String) - Constructor for exception org.vanilladb.core.query.planner.BadSemanticException
 
BadSyntaxException - Exception in org.vanilladb.core.query.parse
A runtime exception indicating that the submitted query has incorrect syntax.
BadSyntaxException() - Constructor for exception org.vanilladb.core.query.parse.BadSyntaxException
 
BadSyntaxException(String) - Constructor for exception org.vanilladb.core.query.parse.BadSyntaxException
 
BasicLogRecord - Class in org.vanilladb.core.storage.log
A log record located at a specified position of a specified page.
BasicLogRecord(Page, LogSeqNum) - Constructor for class org.vanilladb.core.storage.log.BasicLogRecord
A log record located at the specified position of the specified page.
BasicQueryPlanner - Class in org.vanilladb.core.query.planner
The simplest, most naive query planner possible.
BasicQueryPlanner() - Constructor for class org.vanilladb.core.query.planner.BasicQueryPlanner
 
BasicUpdatePlanner - Class in org.vanilladb.core.query.planner
The basic planner for SQL update statements.
BasicUpdatePlanner() - Constructor for class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
beforeFirst() - Method in class org.vanilladb.core.query.algebra.ExplainScan
 
beforeFirst() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinScan
Positions the scan before the first record.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
Positions the scan before the first record, which in this case means positioning the index before the first instance of the selection constant.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByScan
Positions the scan before the first group.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinScan
Positions the scan before the first record, by positioning each underlying scan before their first records.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Positions the scan before the first record in sorted order.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.multibuffer.ChunkScan
 
beforeFirst() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinScan
 
beforeFirst() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductScan
Positions the scan before the first record.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.ProductScan
Positions the scan before its first record.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.ProjectScan
 
beforeFirst() - Method in interface org.vanilladb.core.query.algebra.Scan
Positions the scan before its first record.
beforeFirst() - Method in class org.vanilladb.core.query.algebra.SelectScan
 
beforeFirst() - Method in class org.vanilladb.core.query.algebra.TableScan
 
beforeFirst() - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
beforeFirst() - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
beforeFirst(SearchRange) - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
Traverses the directory to find the leaf page corresponding to the lower bound of the specified key range.
beforeFirst(SearchRange) - Method in class org.vanilladb.core.storage.index.hash.HashIndex
Positions the index before the first index record having the specified search key.
beforeFirst(SearchRange) - Method in class org.vanilladb.core.storage.index.Index
Positions the index before the first index record matching the specified range of search keys.
beforeFirst() - Method in class org.vanilladb.core.storage.record.RecordFile
Positions the current record so that a call to method next will wind up at the first record.
bestFactor(long, Transaction) - Static method in class org.vanilladb.core.query.algebra.multibuffer.BufferNeeds
This method considers the various factors of the specified output size (in blocks), and returns the highest factor that is less than the number of available buffers.
bestRoot(long, Transaction) - Static method in class org.vanilladb.core.query.algebra.multibuffer.BufferNeeds
This method considers the various roots of the specified output size (in blocks), and returns the highest root that is less than the number of available buffers.
betweenMinAndMax(SearchKey) - Method in class org.vanilladb.core.storage.index.SearchRange
Check if the given SearchKey is in the [min, max] of this range.
BIGINT - Static variable in class org.vanilladb.core.sql.Type
 
BigIntConstant - Class in org.vanilladb.core.sql
 
BigIntConstant(long) - Constructor for class org.vanilladb.core.sql.BigIntConstant
 
BigIntConstant(byte[]) - Constructor for class org.vanilladb.core.sql.BigIntConstant
 
BigIntType - Class in org.vanilladb.core.sql
 
BinaryArithmeticExpression - Class in org.vanilladb.core.sql.predicate
An expression consisting of a binary arithmetic operator and two sub-expressions as operands.
BinaryArithmeticExpression(Expression, BinaryArithmeticExpression.Operator, Expression) - Constructor for class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
Creates a binary arithmetic expression by wrapping two expressions and one operator.
BinaryArithmeticExpression.Operator - Class in org.vanilladb.core.sql.predicate
 
blkNum() - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
block() - Method in class org.vanilladb.core.storage.buffer.Buffer
Returns a block ID refers to the disk block that the buffer is pinned to.
block() - Method in class org.vanilladb.core.storage.record.RecordId
Returns the block associated with this record ID.
BLOCK_SIZE - Static variable in class org.vanilladb.core.storage.file.Page
The number of bytes in a block.
BlockId - Class in org.vanilladb.core.storage.file
A reference to a disk block.
BlockId(String, long) - Constructor for class org.vanilladb.core.storage.file.BlockId
Constructs a block ID for the specified fileName and block number.
blockNumber() - Method in class org.vanilladb.core.storage.index.btree.DirEntry
Returns the block number component of the entry
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.ExplainPlan
Estimates the number of block accesses for answering explain query.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinPlan
Estimates the number of block accesses to compute the join.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectPlan
Estimates the number of block accesses to compute the index selection, which is the same as the index traversal cost plus the number of matching data records.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
Returns the number of blocks required to compute the aggregation, which is one pass through the sorted table.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.materialize.MaterializePlan
Returns the estimated number of blocks in the materialized table.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
Returns the number of block acceses required to mergejoin the sorted tables.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.materialize.SortPlan
Returns the number of blocks in the sorted table, which is the same as it would be in a materialized table.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
Returns the number of block acceses required to hashjoin the tables.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
Returns an estimate of the number of block accesses required to execute the query.
blocksAccessed() - Method in interface org.vanilladb.core.query.algebra.Plan
Returns an estimate of the number of block accesses that will occur when the scan is read to completion.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.ProductPlan
Estimates the number of block accesses in the product.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.ProjectPlan
Estimates the number of block accesses in the projection, which is the same as in the underlying query.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.SelectPlan
Estimates the number of block accesses in the selection.
blocksAccessed() - Method in class org.vanilladb.core.query.algebra.TablePlan
Estimates the number of block accesses for the table, which is obtainable from the statistics manager.
blocksAccessed() - Method in class org.vanilladb.core.storage.metadata.statistics.TableStatInfo
Returns the estimated number of blocks in the table.
BTPageFormatter - Class in org.vanilladb.core.storage.index.btree
Formats a B-tree page.
BTPageFormatter(Schema, long[]) - Constructor for class org.vanilladb.core.storage.index.btree.BTPageFormatter
Creates a formatter.
BTreeDir - Class in org.vanilladb.core.storage.index.btree
A B-tree directory page that iterates over the B-tree directory blocks in a file.
BTreeIndex - Class in org.vanilladb.core.storage.index.btree
A B-tree implementation of Index.
BTreeIndex(IndexInfo, SearchKeyType, Transaction) - Constructor for class org.vanilladb.core.storage.index.btree.BTreeIndex
Opens a B-tree index for the specified index.
BTreeIndex.SearchPurpose - Enum in org.vanilladb.core.storage.index.btree
 
BTreeLeaf - Class in org.vanilladb.core.storage.index.btree
A B-tree leaf page that iterates over the B-tree leaf blocks in a file.
BTreeLeaf(String, BlockId, SearchKeyType, SearchRange, Transaction) - Constructor for class org.vanilladb.core.storage.index.btree.BTreeLeaf
Opens a page to hold the specified B-tree leaf block.
BTreePage - Class in org.vanilladb.core.storage.index.btree
A page corresponding to a single B-tree block in a file for BTreeDir or BTreeLeaf.
BTreePage(BlockId, int, Schema, Transaction) - Constructor for class org.vanilladb.core.storage.index.btree.BTreePage
Opens a page for the specified B-tree block.
Bucket - Class in org.vanilladb.core.storage.metadata.statistics
A bucket in a histogram that holds the record frequency and other statistics of a range of values in a specific field.
Bucket(ConstantRange, double, double) - Constructor for class org.vanilladb.core.storage.metadata.statistics.Bucket
 
Bucket(ConstantRange, double, double, Percentiles) - Constructor for class org.vanilladb.core.storage.metadata.statistics.Bucket
 
buckets(String) - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
 
Buffer - Class in org.vanilladb.core.storage.buffer
An individual buffer.
BUFFER_POOL_SIZE - Static variable in class org.vanilladb.core.storage.buffer.BufferMgr
 
BUFFER_SIZE - Static variable in class org.vanilladb.core.storage.buffer.Buffer
The available size (in bytes) for a buffer.
BufferAbortException - Exception in org.vanilladb.core.storage.buffer
A runtime exception indicating that the transaction needs to abort because a buffer request could not be satisfied.
BufferAbortException() - Constructor for exception org.vanilladb.core.storage.buffer.BufferAbortException
 
BufferMgr - Class in org.vanilladb.core.storage.buffer
The publicly-accessible buffer manager.
BufferMgr(long) - Constructor for class org.vanilladb.core.storage.buffer.BufferMgr
 
bufferMgr() - Method in class org.vanilladb.core.storage.tx.Transaction
 
bufferMgrCls - Static variable in class org.vanilladb.core.storage.tx.TransactionMgr
 
BufferNeeds - Class in org.vanilladb.core.query.algebra.multibuffer
A class containing static methods, which estimate the optimal number of buffers to allocate for a scan.
BufferNeeds() - Constructor for class org.vanilladb.core.query.algebra.multibuffer.BufferNeeds
 
bufferPool - Static variable in class org.vanilladb.core.storage.buffer.BufferMgr
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
buildRecord() - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Build the constants for the physical log record and return them as a list.
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
buildRecord() - Method in class org.vanilladb.core.storage.tx.recovery.SetValueClr
 
ByteHelper - Class in org.vanilladb.core.util
Provides utility methods for converting numeric values to/from bytes.
ByteHelper() - Constructor for class org.vanilladb.core.util.ByteHelper
 

C

callStoredProc(int, Object...) - Method in interface org.vanilladb.core.remote.storedprocedure.RemoteConnection
 
callStoredProc(int, Object...) - Method in class org.vanilladb.core.remote.storedprocedure.SpConnection
 
cancel() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
cancelRowUpdates() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
castTo(Type) - Method in class org.vanilladb.core.sql.BigIntConstant
 
castTo(Type) - Method in class org.vanilladb.core.sql.Constant
Casts this constant to the specified type.
castTo(Type) - Method in class org.vanilladb.core.sql.DoubleConstant
 
castTo(Type) - Method in class org.vanilladb.core.sql.IntegerConstant
 
castTo(Type) - Method in class org.vanilladb.core.sql.VarcharConstant
 
catalogMgr() - Static method in class org.vanilladb.core.server.VanillaDb
 
CatalogMgr - Class in org.vanilladb.core.storage.metadata
 
CatalogMgr(boolean, Transaction) - Constructor for class org.vanilladb.core.storage.metadata.CatalogMgr
 
CHAR_SET - Static variable in class org.vanilladb.core.sql.VarcharType
The name of charset used to encode/decode strings.
checkpoint(List<Long>) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Writes a checkpoint record to the log.
CheckpointTask - Class in org.vanilladb.core.storage.tx.recovery
The task performs non-quiescent checkpointing.
CheckpointTask() - Constructor for class org.vanilladb.core.storage.tx.recovery.CheckpointTask
 
ChunkScan - Class in org.vanilladb.core.query.algebra.multibuffer
The class for the chunk operator.
ChunkScan(TableInfo, long, long, Transaction) - Constructor for class org.vanilladb.core.query.algebra.multibuffer.ChunkScan
Creates a chunk consisting of the specified pages.
clear() - Method in interface org.vanilladb.core.storage.file.io.IoBuffer
 
clear() - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioByteBuffer
 
clear() - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectByteBuffer
 
clearBatch() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
clearWarnings() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
clearWarnings() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
clearWarnings() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
close() - Method in class org.vanilladb.core.query.algebra.ExplainScan
 
close() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinScan
Closes the scan by closing its LHS scan and its RHS index.
close() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
Closes the scan by closing the index and the tablescan.
close() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByScan
Closes the scan by closing the underlying scan.
close() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinScan
Closes the scan by closing the two underlying scans.
close() - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Closes the two underlying scans.
close() - Method in class org.vanilladb.core.query.algebra.multibuffer.ChunkScan
 
close() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinScan
 
close() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductScan
Closes the current scans.
close() - Method in class org.vanilladb.core.query.algebra.ProductScan
Closes both underlying scans.
close() - Method in class org.vanilladb.core.query.algebra.ProjectScan
 
close() - Method in interface org.vanilladb.core.query.algebra.Scan
Closes the scan and its subscans, if any.
close() - Method in class org.vanilladb.core.query.algebra.SelectScan
 
close() - Method in class org.vanilladb.core.query.algebra.TableScan
 
close() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
close() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
close() - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
close() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
close() - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
close() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
close() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
close() - Method in class org.vanilladb.core.storage.buffer.Buffer
 
close() - Method in interface org.vanilladb.core.storage.file.io.IoBuffer
 
close() - Method in interface org.vanilladb.core.storage.file.io.IoChannel
 
close() - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioByteBuffer
 
close() - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioFileChannel
 
close() - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectByteBuffer
 
close() - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectIoChannel
 
close() - Method in class org.vanilladb.core.storage.file.Page
Close this page to release resources.
close() - Method in class org.vanilladb.core.storage.index.btree.BTreeDir
Closes the directory page.
close() - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
Closes the index by closing its open leaf page, if necessary.
close() - Method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
Closes the leaf page.
close() - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Closes the page by unpinning its buffer.
close() - Method in class org.vanilladb.core.storage.index.hash.HashIndex
Closes the index by closing the current table scan.
close() - Method in class org.vanilladb.core.storage.index.Index
Closes the index.
close() - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Closes the header manager, by unpinning the block.
close() - Method in class org.vanilladb.core.storage.record.RecordFile
Closes the record file.
close() - Method in class org.vanilladb.core.storage.record.RecordPage
Closes the manager, by unpinning the block.
closeOnCompletion() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
commit() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
commit() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
commit() - Method in class org.vanilladb.core.storage.tx.Transaction
Commits the current transaction.
compare(Record, Record) - Method in class org.vanilladb.core.sql.RecordComparator
Compares two records and returns an integer less than (resp., equal to, or greater than) zero if the first record should be placed before (resp., the same with, or after) the second record by following the previous specified directions.
compareTo(Constant) - Method in class org.vanilladb.core.sql.BigIntConstant
 
compareTo(Constant) - Method in class org.vanilladb.core.sql.DoubleConstant
 
compareTo(Constant) - Method in class org.vanilladb.core.sql.IntegerConstant
 
compareTo(Constant) - Method in class org.vanilladb.core.sql.VarcharConstant
 
compareTo(BlockId) - Method in class org.vanilladb.core.storage.file.BlockId
 
compareTo(SearchKey) - Method in class org.vanilladb.core.storage.index.SearchKey
 
compareTo(LogSeqNum) - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
compareTo(RecordId) - Method in class org.vanilladb.core.storage.record.RecordId
 
CompesationLogRecord - Interface in org.vanilladb.core.storage.tx.recovery
 
ConcurrencyMgr - Class in org.vanilladb.core.storage.tx.concurrency
A locking-based concurrency manager that controls when a Transaction instance should be stalled to allow concurrency execution of multiple transactions.
ConcurrencyMgr() - Constructor for class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
 
concurrencyMgr() - Method in class org.vanilladb.core.storage.tx.Transaction
 
conjunctWith(Term) - Method in class org.vanilladb.core.sql.predicate.Predicate
Modifies the predicate to be the conjunction of itself and the specified term.
connect(String, Properties) - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
connect(String, Properties) - Method in class org.vanilladb.core.remote.jdbc.JdbcDriver
Connects to the VanillaDb server on the specified host.
connect() - Method in interface org.vanilladb.core.remote.jdbc.RemoteDriver
 
connect() - Method in class org.vanilladb.core.remote.jdbc.RemoteDriverImpl
Creates a new RemoteConnectionImpl object and returns it.
connect() - Method in interface org.vanilladb.core.remote.storedprocedure.RemoteDriver
 
connect() - Method in class org.vanilladb.core.remote.storedprocedure.RemoteDriverImpl
Creates a new RemoteConnectionImpl object and returns it.
connect(String, Properties) - Method in class org.vanilladb.core.remote.storedprocedure.SpDriver
 
ConnectionAdapter - Class in org.vanilladb.core.remote.jdbc
This class implements all of the methods of the Connection interface, by throwing an exception for each one.
ConnectionAdapter() - Constructor for class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
ConsoleSQLInterpreter - Class in org.vanilladb.core.util
 
ConsoleSQLInterpreter() - Constructor for class org.vanilladb.core.util.ConsoleSQLInterpreter
 
Constant - Class in org.vanilladb.core.sql
An abstract class that denotes a value of a supported type.
Constant() - Constructor for class org.vanilladb.core.sql.Constant
 
ConstantExpression - Class in org.vanilladb.core.sql.predicate
An expression consisting entirely of a single constant.
ConstantExpression(Constant) - Constructor for class org.vanilladb.core.sql.predicate.ConstantExpression
Creates a new expression by wrapping a constant.
ConstantRange - Class in org.vanilladb.core.sql
A range of constants.
ConstantRange() - Constructor for class org.vanilladb.core.sql.ConstantRange
 
constantRange(String) - Method in class org.vanilladb.core.sql.predicate.Predicate
Determines if the specified field is constrained by a constant range in this predicate.
constantRangeBucket(Bucket, ConstantRange) - Static method in class org.vanilladb.core.query.algebra.SelectPlan
Creates a new bucket by keeping the statistics of records and values in the specified bucket falling within the specified search range.
constantRangeHistogram(Histogram, Map<String, ConstantRange>) - Static method in class org.vanilladb.core.query.algebra.SelectPlan
Returns a histogram that, for each field, approximates the distribution of values from the specified histogram falling within the specified search range.
contains(Constant) - Method in class org.vanilladb.core.sql.ConstantRange
 
contains(ConstantRange) - Method in class org.vanilladb.core.sql.ConstantRange
 
contains(Constant) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
contains(ConstantRange) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
contains(Constant) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
contains(ConstantRange) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
copyToScan(UpdateScan) - Method in class org.vanilladb.core.query.algebra.materialize.TempRecordPage
Copy sorted records to UpdateScan
CoreProperties - Class in org.vanilladb.core.util
 
CoreProperties() - Constructor for class org.vanilladb.core.util.CoreProperties
 
CountFn - Class in org.vanilladb.core.sql.aggfn
The count aggregation function.
CountFn(String) - Constructor for class org.vanilladb.core.sql.aggfn.CountFn
 
countRecordUpdates(String, int) - Method in class org.vanilladb.core.storage.metadata.statistics.StatMgr
 
crabBackDirBlockForModification(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Releases exclusive locks on the directory block for crabbing back.
crabBackDirBlockForRead(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Releases shared locks on the directory block for crabbing back.
crabDownDirBlockForModification(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets exclusive lock on the directory block when crabbing down for modification.
crabDownDirBlockForRead(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets shared lock on the directory block when crabbing down for read.
createArrayOf(String, Object[]) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createBlob() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createCheckpoint() - Method in class org.vanilladb.core.storage.tx.recovery.CheckpointTask
Create a non-quiescent checkpoint.
createCheckpoint(Transaction) - Method in class org.vanilladb.core.storage.tx.TransactionMgr
Creates non-quiescent checkpoint record.
createClob() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createIndex(String, String, List<String>, IndexType, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
createIndex(String, String, List<String>, IndexType, Transaction) - Method in class org.vanilladb.core.storage.metadata.index.IndexMgr
Creates an index of the specified type for the specified field.
CreateIndexData - Class in org.vanilladb.core.query.parse
The parser for the create index statement.
CreateIndexData(String, String, List<String>, IndexType) - Constructor for class org.vanilladb.core.query.parse.CreateIndexData
Saves the index type, table and field names of the specified index.
createNClob() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createPlan(QueryData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicQueryPlanner
Creates a query plan as follows.
createPlan(QueryData, Transaction) - Method in class org.vanilladb.core.query.planner.opt.HeuristicQueryPlanner
Creates an optimized left-deep query plan using the following heuristics.
createPlan(QueryData, Transaction) - Method in class org.vanilladb.core.query.planner.opt.SelingerLikeQueryPlanner
Creates a left-deep query plan using the Selinger optimization.
createPlan(QueryData, Transaction) - Method in interface org.vanilladb.core.query.planner.QueryPlanner
Creates a plan for the parsed query.
createQueryPlan(String, Transaction) - Method in class org.vanilladb.core.query.planner.Planner
Creates a plan for an SQL select statement, using the supplied planner.
createSQLXML() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createStatement() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createStatement(int, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createStatement(int, int, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createStatement() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
createStatement() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
createStruct(String, Object[]) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
createTable(String, Schema, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
createTable(String, Schema, Transaction) - Method in class org.vanilladb.core.storage.metadata.TableMgr
Creates a new table having the specified name and schema.
CreateTableData - Class in org.vanilladb.core.query.parse
Data for the SQL create table statement.
CreateTableData(String, Schema) - Constructor for class org.vanilladb.core.query.parse.CreateTableData
Saves the table name and schema.
createView(String, String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
CreateViewData - Class in org.vanilladb.core.query.parse
Data for the SQL create view statement.
CreateViewData(String, QueryData) - Constructor for class org.vanilladb.core.query.parse.CreateViewData
Saves the view name and its definition.
currentBlk() - Method in class org.vanilladb.core.storage.index.btree.BTreePage
 
currentBlk() - Method in class org.vanilladb.core.storage.record.RecordPage
Returns the BlockId of the current record.
currentId() - Method in class org.vanilladb.core.storage.record.RecordPage
Returns the ID of the current record.
currentRecordId() - Method in class org.vanilladb.core.storage.record.RecordFile
Returns the record ID of the current record.

D

dataFileName - Variable in class org.vanilladb.core.storage.index.Index
 
DB_FILES_DIR - Static variable in class org.vanilladb.core.storage.file.FileMgr
 
DEFAULT_INDEX_TYPE - Static variable in class org.vanilladb.core.query.parse.Parser
 
DEFAULT_LOG_FILE - Static variable in class org.vanilladb.core.storage.log.LogMgr
 
DEFAULT_VALUE - Static variable in class org.vanilladb.core.storage.log.LogSeqNum
 
defaultInstance(Type) - Static method in class org.vanilladb.core.sql.Constant
Constructs a new instance of the specified type with default value.
delete() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
 
delete() - Method in class org.vanilladb.core.query.algebra.SelectScan
 
delete() - Method in class org.vanilladb.core.query.algebra.TableScan
 
delete() - Method in interface org.vanilladb.core.query.algebra.UpdateScan
Deletes the current record from the scan.
delete(String) - Method in class org.vanilladb.core.storage.file.FileMgr
Delete the specified file.
delete(SearchKey, RecordId, boolean) - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
Deletes the specified index record.
delete(RecordId) - Method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
Deletes the B-tree leaf record having the specified data record ID and the previously-specified search key.
delete(int) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Deletes a slot of the current BTreePage.
delete(SearchKey, RecordId, boolean) - Method in class org.vanilladb.core.storage.index.hash.HashIndex
Deletes the specified index record.
delete(SearchKey, RecordId, boolean) - Method in class org.vanilladb.core.storage.index.Index
Deletes the index record having the specified key and data record ID.
delete() - Method in class org.vanilladb.core.storage.record.RecordFile
Deletes the current record.
delete(RecordId) - Method in class org.vanilladb.core.storage.record.RecordFile
Deletes the specified record.
delete(RecordId) - Method in class org.vanilladb.core.storage.record.RecordPage
Deletes the current record.
deleteASlot(Transaction, BlockId, SearchKeyType, int) - Static method in class org.vanilladb.core.storage.index.btree.BTreeDir
 
deleteASlot(Transaction, BlockId, SearchKeyType, int) - Static method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
 
DeleteData - Class in org.vanilladb.core.query.parse
Data for the SQL delete statement.
DeleteData(String, Predicate) - Constructor for class org.vanilladb.core.query.parse.DeleteData
Saves the table name and predicate.
deleteRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
DIR_ASC - Static variable in class org.vanilladb.core.sql.RecordComparator
 
DIR_DESC - Static variable in class org.vanilladb.core.sql.RecordComparator
 
DirEntry - Class in org.vanilladb.core.storage.index.btree
A directory entry has two components: the key of the first record in that block, and the number of the child block.
DirEntry(SearchKey, long) - Constructor for class org.vanilladb.core.storage.index.btree.DirEntry
Creates a new entry for the specified key and block number.
dirsMayBeUpdated() - Method in class org.vanilladb.core.storage.index.btree.BTreeDir
 
DistinctCountFn - Class in org.vanilladb.core.sql.aggfn
The distinct count aggregation function.
DistinctCountFn(String) - Constructor for class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
distinctValues() - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
Returns the estimated number of distinct values within this instance's range.
distinctValues(ConstantRange) - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
Returns the estimated number of distinct values within the overlap of this instance's range and the specified range.
distinctValues(String) - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
Returns the estimated number of distinct values in the specified field of the table approximated by this histogram.
div(Constant) - Method in class org.vanilladb.core.sql.BigIntConstant
 
div(Constant) - Method in class org.vanilladb.core.sql.Constant
Divides this constant by a value specified by another constant.
div(Constant) - Method in class org.vanilladb.core.sql.DoubleConstant
 
div(Constant) - Method in class org.vanilladb.core.sql.IntegerConstant
 
div(Constant) - Method in class org.vanilladb.core.sql.VarcharConstant
 
DOUBLE - Static variable in class org.vanilladb.core.sql.Type
 
DOUBLE_SIZE - Static variable in class org.vanilladb.core.util.ByteHelper
 
DoubleConstant - Class in org.vanilladb.core.sql
The class that wraps Java doubles as database constants.
DoubleConstant(double) - Constructor for class org.vanilladb.core.sql.DoubleConstant
Create a constant by wrapping the specified long.
DoubleConstant(byte[]) - Constructor for class org.vanilladb.core.sql.DoubleConstant
 
DoubleConstantRange - Class in org.vanilladb.core.sql
 
DoubleConstantRange(Double, boolean, Double, boolean) - Constructor for class org.vanilladb.core.sql.DoubleConstantRange
Constructs a new instance.
DoubleType - Class in org.vanilladb.core.sql
 
DriverAdapter - Class in org.vanilladb.core.remote.jdbc
This class implements all of the methods of the Driver interface, by throwing an exception for each one.
DriverAdapter() - Constructor for class org.vanilladb.core.remote.jdbc.DriverAdapter
 
dropIndex(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
dropIndex(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.index.IndexMgr
Remove an index of the specified type for the specified field.
DropIndexData - Class in org.vanilladb.core.query.parse
The parser for the drop index statement.
DropIndexData(String) - Constructor for class org.vanilladb.core.query.parse.DropIndexData
Saves the index type, table and field names of the specified index.
dropTable(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
dropTable(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.TableMgr
Remove a table with the specified name.
DropTableData - Class in org.vanilladb.core.query.parse
Data for the SQL drop table statement.
DropTableData(String) - Constructor for class org.vanilladb.core.query.parse.DropTableData
Saves the table name and schema.
dropView(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
DropViewData - Class in org.vanilladb.core.query.parse
Data for the SQL drop view statement.
DropViewData(String) - Constructor for class org.vanilladb.core.query.parse.DropViewData
Saves the view name and its definition.

E

eatDelim(char) - Method in class org.vanilladb.core.query.parse.Lexer
Throws an exception if the current token is not the specified delimiter.
eatId() - Method in class org.vanilladb.core.query.parse.Lexer
Throws an exception if the current token is not an identifier.
eatKeyword(String) - Method in class org.vanilladb.core.query.parse.Lexer
Throws an exception if the current token is not the specified keyword.
eatNumericConstant() - Method in class org.vanilladb.core.query.parse.Lexer
Throws an exception if the current token is not an integer.
eatStringConstant() - Method in class org.vanilladb.core.query.parse.Lexer
Throws an exception if the current token is not a string.
EMPTY - Static variable in class org.vanilladb.core.storage.record.RecordPage
 
ENABLE_CPU_TIMER - Static variable in class org.vanilladb.core.util.TransactionProfiler
 
ENABLE_DISKIO_COUNTER - Static variable in class org.vanilladb.core.util.TransactionProfiler
 
ENABLE_NETWORKIO_COUNTER - Static variable in class org.vanilladb.core.util.TransactionProfiler
 
enableLogging(boolean) - Static method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
endStatement() - Method in class org.vanilladb.core.storage.tx.Transaction
Finishes the current statement.
equals(Object) - Method in class org.vanilladb.core.query.algebra.materialize.GroupValue
Two GroupValue objects are equal if they have the same values for their grouping fields.
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns a hash code value for the object.
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
equals(Object) - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
equals(Object) - Method in class org.vanilladb.core.sql.BigIntConstant
Indicates whether some other object is Constant object and its value equal to this one.
equals(Object) - Method in class org.vanilladb.core.sql.BigIntType
 
equals(Object) - Method in class org.vanilladb.core.sql.DoubleConstant
Indicates whether some other object is Constant object and its value equal to this one.
equals(Object) - Method in class org.vanilladb.core.sql.DoubleType
 
equals(Object) - Method in class org.vanilladb.core.sql.IntegerConstant
Indicates whether some other object is Constant object and its value equal to this one.
equals(Object) - Method in class org.vanilladb.core.sql.IntegerType
 
equals(Object) - Method in class org.vanilladb.core.sql.Schema
 
equals(Object) - Method in class org.vanilladb.core.sql.storedprocedure.SpResultRecord
 
equals(Object) - Method in class org.vanilladb.core.sql.VarcharConstant
Indicates whether some other object is Constant object and its value equal to this one.
equals(Object) - Method in class org.vanilladb.core.sql.VarcharType
 
equals(Object) - Method in class org.vanilladb.core.storage.file.BlockId
 
equals(Object) - Method in class org.vanilladb.core.storage.index.SearchKey
 
equals(Object) - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
equals(Object) - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
 
equals(Object) - Method in class org.vanilladb.core.storage.record.RecordId
 
evaluate(Record) - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
Evaluates the arithmetic expression by computing on the values from the record.
evaluate(Record) - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
Returns the constant, regardless of the record.
evaluate(Record) - Method in interface org.vanilladb.core.sql.predicate.Expression
Evaluates the expression with respect to the specified record.
evaluate(Record) - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
Evaluates the field by getting its value from the record.
execute(String) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
execute(String, int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
execute(String, int[]) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
execute(String, String[]) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
execute() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
executeBatch() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
executeCreateIndex(CreateIndexData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeCreateIndex(CreateIndexData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeCreateIndex(CreateIndexData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified create index statement, and returns the number of affected records.
executeCreateTable(CreateTableData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeCreateTable(CreateTableData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeCreateTable(CreateTableData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified create table statement, and returns the number of affected records.
executeCreateView(CreateViewData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeCreateView(CreateViewData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeCreateView(CreateViewData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified create view statement, and returns the number of affected records.
executeDelete(DeleteData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeDelete(DeleteData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeDelete(DeleteData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified delete statement, and returns the number of affected records.
executeDropIndex(DropIndexData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeDropIndex(DropIndexData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeDropIndex(DropIndexData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified drop index statement, and returns the number of affected records.
executeDropTable(DropTableData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeDropTable(DropTableData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeDropTable(DropTableData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified drop table statement, and returns the number of affected records.
executeDropView(DropViewData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeDropView(DropViewData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeDropView(DropViewData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified drop view statement, and returns the number of affected records.
executeInsert(InsertData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeInsert(InsertData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeInsert(InsertData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified insert statement, and returns the number of affected records.
executeModify(ModifyData, Transaction) - Method in class org.vanilladb.core.query.planner.BasicUpdatePlanner
 
executeModify(ModifyData, Transaction) - Method in class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
executeModify(ModifyData, Transaction) - Method in interface org.vanilladb.core.query.planner.UpdatePlanner
Executes the specified modify statement, and returns the number of affected records.
executeQuery(String) - Method in class org.vanilladb.core.remote.jdbc.JdbcStatement
 
executeQuery(String) - Method in interface org.vanilladb.core.remote.jdbc.RemoteStatement
 
executeQuery(String) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
executeSql() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
executeUpdate(String, Transaction) - Method in class org.vanilladb.core.query.planner.Planner
Executes an SQL insert, delete, modify, or create statement.
executeUpdate(String) - Method in class org.vanilladb.core.remote.jdbc.JdbcStatement
 
executeUpdate(String) - Method in interface org.vanilladb.core.remote.jdbc.RemoteStatement
 
executeUpdate(String) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
executeUpdate(String, int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
executeUpdate(String, int[]) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
executeUpdate(String, String[]) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
ExplainPlan - Class in org.vanilladb.core.query.algebra
The Plan class corresponding to the explain relational algebra operator.
ExplainPlan(Plan) - Constructor for class org.vanilladb.core.query.algebra.ExplainPlan
Creates a new explain node in the query tree, having the specified query.
ExplainScan - Class in org.vanilladb.core.query.algebra
The scan class corresponding to the explain relational algebra operator.
ExplainScan(Scan, Schema, String) - Constructor for class org.vanilladb.core.query.algebra.ExplainScan
Creates a explain scan having the specified underlying query.
Expression - Interface in org.vanilladb.core.sql.predicate
A SQL expression.

F

FCAT - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
Name of the field catalog.
FCAT_FLDNAME - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
A field name of the field catalog.
FCAT_TBLNAME - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
A field name of the field catalog.
FCAT_TYPE - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
A field name of the field catalog.
FCAT_TYPEARG - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
A field name of the field catalog.
fieldName() - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns the name of the new aggregation field.
fieldName() - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
fieldName() - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
fieldName() - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
fieldName() - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
fieldName() - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
fieldName() - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
FieldNameExpression - Class in org.vanilladb.core.sql.predicate
An expression consisting entirely of a single field.
FieldNameExpression(String) - Constructor for class org.vanilladb.core.sql.predicate.FieldNameExpression
Creates a new expression by wrapping a field.
fieldNames() - Method in class org.vanilladb.core.query.parse.CreateIndexData
Returns the list of names of the indexed fields.
fieldNames() - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
Returns the names of the indexed fields.
fields() - Method in class org.vanilladb.core.query.parse.InsertData
Returns a list of fields for which values will be specified in the new record.
fields() - Method in class org.vanilladb.core.sql.Schema
Returns a sorted set containing the field names in this schema, sorted by their natural ordering.
fields() - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
 
fieldType() - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns the type of aggregation value.
fieldType() - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
fieldType() - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
fieldType() - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
fieldType() - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
fieldType() - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
fieldType() - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
FileHeaderFormatter - Class in org.vanilladb.core.storage.record
An object that can format a page to look like a the header of a file.
FileHeaderFormatter() - Constructor for class org.vanilladb.core.storage.record.FileHeaderFormatter
 
FileHeaderPage - Class in org.vanilladb.core.storage.record
Manages the placement and access of metadata in the file header.
FileHeaderPage(String, Transaction) - Constructor for class org.vanilladb.core.storage.record.FileHeaderPage
Creates the header manager for a specified file.
fileMgr() - Static method in class org.vanilladb.core.server.VanillaDb
 
FileMgr - Class in org.vanilladb.core.storage.file
The VanillaDb file manager.
FileMgr(String) - Constructor for class org.vanilladb.core.storage.file.FileMgr
Creates a file manager for the specified database.
fileName() - Method in class org.vanilladb.core.storage.file.BlockId
Returns the name of the file where the block lives.
fileName() - Method in class org.vanilladb.core.storage.metadata.TableInfo
Returns the filename assigned to this table.
fileSize() - Method in class org.vanilladb.core.storage.record.RecordFile
Returns the number of blocks in the specified file.
findColumn(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
first() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
FLAG_SIZE - Static variable in class org.vanilladb.core.storage.record.RecordPage
 
flush(LogSeqNum) - Method in class org.vanilladb.core.storage.log.LogMgr
Ensures that the log records corresponding to the specified LSN has been written to disk.
flushAll() - Method in class org.vanilladb.core.storage.buffer.BufferMgr
Flushes all dirty buffers.
flushAllMyBuffers() - Method in class org.vanilladb.core.storage.buffer.BufferMgr
Flushes the dirty buffers modified by the host transaction.
format(Buffer) - Method in class org.vanilladb.core.storage.buffer.PageFormatter
Initializes a page, whose contents will be written to a new disk block.
format(Buffer) - Method in class org.vanilladb.core.storage.index.btree.BTPageFormatter
Formats the page by initializing as many index-record slots as possible to have default values.
format(Buffer) - Method in class org.vanilladb.core.storage.record.FileHeaderFormatter
 
format(Buffer) - Method in class org.vanilladb.core.storage.record.RecordFormatter
Formats the page by allocating as many record slots as possible, given the record size.
formatFileHeader(String, Transaction) - Static method in class org.vanilladb.core.storage.record.RecordFile
Format the header of specified file.
frequency() - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
Returns the estimated frequency of records whose values fall within this instance's range.
fromInteger(int) - Static method in enum org.vanilladb.core.storage.index.IndexType
 

G

get(int, byte[]) - Method in interface org.vanilladb.core.storage.file.io.IoBuffer
 
get(int, byte[]) - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioByteBuffer
 
get(int, byte[]) - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectByteBuffer
 
get(int) - Method in class org.vanilladb.core.storage.index.SearchKey
 
get(int) - Method in class org.vanilladb.core.storage.index.SearchKeyType
 
get(int) - Method in class org.vanilladb.core.storage.index.SearchRange
 
getActiveTxCount() - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
getArgument() - Method in class org.vanilladb.core.sql.BigIntType
 
getArgument() - Method in class org.vanilladb.core.sql.DoubleType
 
getArgument() - Method in class org.vanilladb.core.sql.IntegerType
 
getArgument() - Method in class org.vanilladb.core.sql.Type
Returns the argument associated with this instance.
getArgument() - Method in class org.vanilladb.core.sql.VarcharType
 
getArray(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getArray(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getAsciiStream(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getAsciiStream(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getAutoCommit() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
getAutoCommit() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
getBigDecimal(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBigDecimal(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBigDecimal(int, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBigDecimal(String, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBinaryStream(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBinaryStream(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBlob(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBlob(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBoolean(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBoolean(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getByte(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getByte(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBytes(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getBytes(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getCatalog() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getCatalogName(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getCharacterStream(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getCharacterStream(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getClientInfo() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getClientInfo(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getClob(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getClob(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getColumnClassName(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getColumnCount() - Method in class org.vanilladb.core.remote.jdbc.JdbcMetaData
 
getColumnCount() - Method in interface org.vanilladb.core.remote.jdbc.RemoteMetaData
 
getColumnCount() - Method in class org.vanilladb.core.remote.jdbc.RemoteMetaDataImpl
Returns the size of the field list.
getColumnCount() - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getColumnDisplaySize(int) - Method in class org.vanilladb.core.remote.jdbc.JdbcMetaData
 
getColumnDisplaySize(int) - Method in interface org.vanilladb.core.remote.jdbc.RemoteMetaData
 
getColumnDisplaySize(int) - Method in class org.vanilladb.core.remote.jdbc.RemoteMetaDataImpl
Returns the number of characters required to display the specified column.
getColumnDisplaySize(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getColumnLabel(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getColumnName(int) - Method in class org.vanilladb.core.remote.jdbc.JdbcMetaData
 
getColumnName(int) - Method in interface org.vanilladb.core.remote.jdbc.RemoteMetaData
 
getColumnName(int) - Method in class org.vanilladb.core.remote.jdbc.RemoteMetaDataImpl
Returns the field name for the specified column number.
getColumnName(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getColumnType(int) - Method in class org.vanilladb.core.remote.jdbc.JdbcMetaData
 
getColumnType(int) - Method in interface org.vanilladb.core.remote.jdbc.RemoteMetaData
 
getColumnType(int) - Method in class org.vanilladb.core.remote.jdbc.RemoteMetaDataImpl
Returns the type of the specified column.
getColumnType(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getColumnTypeName(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getComponentCount(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
getComponentCpuTime(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
getComponentDiskIOCount(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
getComponentNetworkInSize(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
getComponentNetworkOutSize(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
getComponents() - Method in class org.vanilladb.core.util.TransactionProfiler
 
getComponentTime(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
getConcurrency() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getConfigFilePath() - Method in class org.vanilladb.core.util.CoreProperties
 
getConfigFilePath() - Method in class org.vanilladb.core.util.PropertiesLoader
 
getConnection() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getCost() - Method in class org.vanilladb.core.query.planner.opt.AccessPath
 
getCpuTime() - Static method in class org.vanilladb.core.util.ThreadMXBean
 
getCursorName() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getDataRecordId() - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
Returns the data record ID from the current index record in B-tree leaves.
getDataRecordId() - Method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
Returns the data record ID of the current B-tree leaf record.
getDataRecordId() - Method in class org.vanilladb.core.storage.index.hash.HashIndex
Retrieves the data record ID from the current index record.
getDataRecordId() - Method in class org.vanilladb.core.storage.index.Index
Returns the data record ID stored in the current index record.
getDate(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getDate(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getDate(int, Calendar) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getDate(String, Calendar) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getDouble(String) - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
getDouble(String) - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
getDouble(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getDouble(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getExecutionTime() - Method in class org.vanilladb.core.util.TransactionProfiler
 
getFetchDirection() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getFetchDirection() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getFetchSize() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getFetchSize() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getFileName(String) - Static method in class org.vanilladb.core.storage.index.btree.BTreeDir
 
getFileName(String) - Static method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
 
getFlag(int) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Returns the i-th flag.
getFloat(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getFloat(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getGeneratedKeys() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getHoldability() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getHoldability() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getIndexedFields(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
getIndexedFields(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.index.IndexMgr
 
getIndexInfo() - Method in class org.vanilladb.core.storage.index.Index
 
getIndexInfo(String, String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
getIndexInfo(String, String, Transaction) - Method in class org.vanilladb.core.storage.metadata.index.IndexMgr
Returns a map containing the index info for all indexes on the specified table.
getIndexInfoByName(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
getIndexInfoByName(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.index.IndexMgr
Returns the requested index info object with the given index name.
getInt(String) - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
getInt(String) - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
getInt(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getInt(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getKeyType() - Method in class org.vanilladb.core.storage.index.Index
 
getLastDeletedSlot() - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Returns the id of last deleted record.
getLoader() - Static method in class org.vanilladb.core.util.CoreProperties
 
getLocalProfiler() - Static method in class org.vanilladb.core.util.TransactionProfiler
Get the profiler local to this thread.
getlogicalStartLSN() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalEndRecord
 
getLogString() - Method in class org.vanilladb.core.storage.tx.recovery.LogReader
 
getLong(String) - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
getLong(String) - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
getLong(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getLong(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getLSN() - Method in class org.vanilladb.core.storage.log.BasicLogRecord
Returns the log sequence number of this log record.
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
Returns the log sequence number of this log record.
getLSN() - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Returns the log sequence number of this log record.
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
getLSN() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
getMajorVersion() - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
getMax() - Method in class org.vanilladb.core.storage.index.SearchKeyType
 
getMax() - Method in class org.vanilladb.core.storage.index.SearchRange
 
getMaxFieldSize() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getMaxRows() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getMessageSize(Object) - Static method in class org.vanilladb.core.util.TransactionProfiler
 
getMetaData() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getMetaData() - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
getMetaData() - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
getMetaData() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getMethodCsv() - Method in class org.vanilladb.core.util.Profiler
Stop and obtain the self execution time of methods, each as a row in CSV format.
getMin() - Method in class org.vanilladb.core.storage.index.SearchKeyType
 
getMin() - Method in class org.vanilladb.core.storage.index.SearchRange
 
getMinorVersion() - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
getMoreResults() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getMoreResults(int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getNCharacterStream(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getNCharacterStream(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getNClob(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getNClob(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getNetworkInSize() - Method in class org.vanilladb.core.util.TransactionProfiler
 
getNetworkOutSize() - Method in class org.vanilladb.core.util.TransactionProfiler
 
getNetworkTimeout() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getNextDeletedSlotId() - Method in class org.vanilladb.core.storage.record.RecordPage
 
getNextTxNum() - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
getNString(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getNString(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getNumRecords() - Method in class org.vanilladb.core.storage.index.btree.BTreeDir
 
getNumRecords() - Method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
 
getNumRecords() - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Returns the number of index records in this page.
getObject(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getObject(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getObject(int, Map<String, Class<?>>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getObject(int, Class<T>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getObject(String, Map<String, Class<?>>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getObject(String, Class<T>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getPackageCsv() - Method in class org.vanilladb.core.util.Profiler
Stop and obtain the self execution time of packages, each as a row in CSV format.
getParamHelper() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
getParentLogger() - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
getPlan() - Method in class org.vanilladb.core.query.planner.opt.AccessPath
 
getPrecision(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getPropertyAsBoolean(String, boolean) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsClass(String, Class<?>, Class<?>) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsDouble(String, double) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsDoubleArray(String, double[]) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsInteger(String, int) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsIntegerArray(String, int[]) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsLong(String, long) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsString(String, String) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyAsStringArray(String, String[]) - Method in class org.vanilladb.core.util.PropertiesLoader
 
getPropertyInfo(String, Properties) - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
getQueryTimeout() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getRecordId() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
 
getRecordId() - Method in class org.vanilladb.core.query.algebra.SelectScan
 
getRecordId() - Method in class org.vanilladb.core.query.algebra.TableScan
 
getRecordId() - Method in interface org.vanilladb.core.query.algebra.UpdateScan
Returns the RecordId of the current record.
getRecords() - Method in class org.vanilladb.core.remote.storedprocedure.SpResultSet
 
getRef(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getRef(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getResultSet() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getResultSetConcurrency() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getResultSetHoldability() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getResultSetSchema() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
 
getResultSetType() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getRowId(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getRowId(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getScale(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getSchema() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getSchema() - Method in class org.vanilladb.core.remote.storedprocedure.SpResultSet
 
getSchemaName(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getShort(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getShort(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getSqlType() - Method in class org.vanilladb.core.sql.BigIntType
 
getSqlType() - Method in class org.vanilladb.core.sql.DoubleType
 
getSqlType() - Method in class org.vanilladb.core.sql.IntegerType
 
getSqlType() - Method in class org.vanilladb.core.sql.Type
Returns the SQL type corresponding to this instance.
getSqlType() - Method in class org.vanilladb.core.sql.VarcharType
 
getSQLXML(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getSQLXML(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getStatement() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getString(String) - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
getString(String) - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
getString(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getString(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getStroredProcedure(int) - Method in class org.vanilladb.core.sql.storedprocedure.SampleStoredProcedureFactory
 
getStroredProcedure(int) - Method in interface org.vanilladb.core.sql.storedprocedure.StoredProcedureFactory
 
getSwapLock() - Method in class org.vanilladb.core.storage.buffer.Buffer
 
getTableInfo() - Method in class org.vanilladb.core.query.algebra.materialize.TempTable
Return the table's metadata.
getTableInfo(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
getTableInfo(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.TableMgr
Retrieves the metadata for the specified table out of the catalog.
getTableName(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
getTableStatInfo(TableInfo, Transaction) - Method in class org.vanilladb.core.storage.metadata.statistics.StatMgr
Returns the statistical information about the specified table.
getTailSolt() - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Returns the id of tail slot.
getTblUsed() - Method in class org.vanilladb.core.query.planner.opt.AccessPath
 
getThreadCount() - Static method in class org.vanilladb.core.util.ThreadMXBean
 
getTime(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTime(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTime(int, Calendar) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTime(String, Calendar) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTimestamp(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTimestamp(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTimestamp(int, Calendar) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTimestamp(String, Calendar) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getTopLines(int) - Method in class org.vanilladb.core.util.Profiler
Stop and obtain the top lines, ordered by their execution time.
getTopMethods(int) - Method in class org.vanilladb.core.util.Profiler
Stop and obtain the top methods, ordered by their self execution time.
getTopPackages(int) - Method in class org.vanilladb.core.util.Profiler
Stop and obtain the top packages, ordered by their self execution time.
getTotalCpuTime() - Method in class org.vanilladb.core.util.TransactionProfiler
 
getTotalDiskIOCount() - Method in class org.vanilladb.core.util.TransactionProfiler
 
getTransaction() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
getTransactionIsolation() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
getTransactionIsolation() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
getTransactionNumber() - Method in class org.vanilladb.core.storage.tx.Transaction
 
getType() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getType() - Method in class org.vanilladb.core.sql.BigIntConstant
 
getType() - Method in class org.vanilladb.core.sql.Constant
Returns the type corresponding to this constant.
getType() - Method in class org.vanilladb.core.sql.DoubleConstant
 
getType() - Method in class org.vanilladb.core.sql.IntegerConstant
 
getType() - Method in class org.vanilladb.core.sql.VarcharConstant
 
getTypeMap() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getUndoNextLSN() - Method in interface org.vanilladb.core.storage.tx.recovery.CompesationLogRecord
 
getUndoNextLSN() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
 
getUndoNextLSN() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
 
getUndoNextLSN() - Method in class org.vanilladb.core.storage.tx.recovery.SetValueClr
 
getUnicodeStream(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getUnicodeStream(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getUpdateCount() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
getURL(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getURL(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getVal(String) - Method in class org.vanilladb.core.query.algebra.ExplainScan
 
getVal(String) - Method in class org.vanilladb.core.query.algebra.index.IndexJoinScan
Returns the Constant value of the specified field.
getVal(String) - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
Returns the value of the field of the current data record.
getVal(String) - Method in class org.vanilladb.core.query.algebra.materialize.GroupByScan
Gets the Constant value of the specified field.
getVal(String) - Method in class org.vanilladb.core.query.algebra.materialize.GroupValue
Returns the Constant value of the specified field in the group.
getVal(String) - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinScan
Returns the value of the specified field.
getVal(String) - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Gets the Constant value of the specified field of the current scan.
getVal(String) - Method in class org.vanilladb.core.query.algebra.multibuffer.ChunkScan
 
getVal(String) - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinScan
 
getVal(String) - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductScan
Returns the value of the specified field.
getVal(String) - Method in class org.vanilladb.core.query.algebra.ProductScan
Returns the value of the specified field.
getVal(String) - Method in class org.vanilladb.core.query.algebra.ProjectScan
 
getVal(String) - Method in class org.vanilladb.core.query.algebra.SelectScan
 
getVal(String) - Method in class org.vanilladb.core.query.algebra.TableScan
Returns the value of the specified field, as a Constant.
getVal(String) - Method in interface org.vanilladb.core.sql.RangeRecord
Returns the value range of the specified field.
getVal(String) - Method in interface org.vanilladb.core.sql.Record
Returns the value of the specified field.
getVal(String) - Method in class org.vanilladb.core.sql.storedprocedure.SpResultRecord
 
getVal(int, Type) - Method in class org.vanilladb.core.storage.buffer.Buffer
Returns the value at the specified offset of this buffer's page.
getVal(Buffer, int, Type) - Method in class org.vanilladb.core.storage.buffer.PageFormatter
 
getVal(int, Type) - Method in class org.vanilladb.core.storage.file.Page
Returns the value at a specified offset of this page.
getVal(int, String) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
 
getVal(String) - Method in class org.vanilladb.core.storage.record.RecordFile
Returns the value of the specified field in the current record.
getVal(String) - Method in class org.vanilladb.core.storage.record.RecordPage
Returns the value stored in the specified field of this record.
getViewDef(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
getViewNamesByTable(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.CatalogMgr
 
getWarnings() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
getWarnings() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
getWarnings() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
groupByHistogram(Histogram, Set<String>, Set<AggregationFn>) - Static method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
Returns a histogram that, for each field, approximates distribution of values in the group-by and aggregation fields.
GroupByPlan - Class in org.vanilladb.core.query.algebra.materialize
The Plan class for the groupby operator.
GroupByPlan(Plan, Set<String>, Set<AggregationFn>, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.GroupByPlan
Creates a group-by plan for the underlying query.
GroupByScan - Class in org.vanilladb.core.query.algebra.materialize
The Scan class for the groupby operator.
GroupByScan(Scan, Collection<String>, Collection<AggregationFn>) - Constructor for class org.vanilladb.core.query.algebra.materialize.GroupByScan
Creates a groupby scan, given a grouped table scan.
groupFields() - Method in class org.vanilladb.core.query.parse.QueryData
Returns the field names mentioned in the group by clause.
GroupValue - Class in org.vanilladb.core.query.algebra.materialize
An object that holds the values of the grouping fields for the current record of a scan.
GroupValue(Scan, Collection<String>) - Constructor for class org.vanilladb.core.query.algebra.materialize.GroupValue
Creates a new group value, given the specified scan and list of fields.

H

hasDataRecords() - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Return true if this file has inserted data records.
hasDeletedSlots() - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Return true if this file has deleted data records.
hasField(String) - Method in class org.vanilladb.core.query.algebra.ExplainScan
 
hasField(String) - Method in class org.vanilladb.core.query.algebra.index.IndexJoinScan
Returns true if the field is in the schema.
hasField(String) - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
Returns whether the data record has the specified field.
hasField(String) - Method in class org.vanilladb.core.query.algebra.materialize.GroupByScan
Returns true if the specified field is either a grouping field or created by an aggregation function.
hasField(String) - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinScan
Returns true if the specified field is in either of the underlying scans.
hasField(String) - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Returns true if the specified field is in the current scan.
hasField(String) - Method in class org.vanilladb.core.query.algebra.multibuffer.ChunkScan
 
hasField(String) - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinScan
 
hasField(String) - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductScan
Returns true if the specified field is in either of the underlying scans.
hasField(String) - Method in class org.vanilladb.core.query.algebra.ProductScan
Returns true if the specified field is in either of the underlying scans.
hasField(String) - Method in class org.vanilladb.core.query.algebra.ProjectScan
Returns true if the specified field is in the projection list.
hasField(String) - Method in interface org.vanilladb.core.query.algebra.Scan
Returns true if the scan has the specified field.
hasField(String) - Method in class org.vanilladb.core.query.algebra.SelectScan
 
hasField(String) - Method in class org.vanilladb.core.query.algebra.TableScan
 
hasField(String) - Method in class org.vanilladb.core.sql.Schema
Returns true if the specified field is in this schema.
hashCode() - Method in class org.vanilladb.core.query.algebra.materialize.GroupValue
The hashcode of a GroupValue object is the sum of the hashcodes of its field values.
hashCode() - Method in class org.vanilladb.core.query.planner.opt.AccessPath
 
hashCode() - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns a hash code value for the object.
hashCode() - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
hashCode() - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
hashCode() - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
hashCode() - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
hashCode() - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
hashCode() - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
hashCode() - Method in class org.vanilladb.core.sql.BigIntConstant
 
hashCode() - Method in class org.vanilladb.core.sql.BigIntType
 
hashCode() - Method in class org.vanilladb.core.sql.DoubleConstant
 
hashCode() - Method in class org.vanilladb.core.sql.DoubleType
 
hashCode() - Method in class org.vanilladb.core.sql.IntegerConstant
 
hashCode() - Method in class org.vanilladb.core.sql.IntegerType
 
hashCode() - Method in class org.vanilladb.core.sql.Schema
 
hashCode() - Method in class org.vanilladb.core.sql.storedprocedure.SpResultRecord
 
hashCode() - Method in class org.vanilladb.core.sql.VarcharConstant
 
hashCode() - Method in class org.vanilladb.core.sql.VarcharType
 
hashCode() - Method in class org.vanilladb.core.storage.file.BlockId
 
hashCode() - Method in class org.vanilladb.core.storage.index.SearchKey
 
hashCode() - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
hashCode() - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
 
hashCode() - Method in class org.vanilladb.core.storage.record.RecordId
 
HashIndex - Class in org.vanilladb.core.storage.index.hash
A static hash implementation of Index.
HashIndex(IndexInfo, SearchKeyType, Transaction) - Constructor for class org.vanilladb.core.storage.index.hash.HashIndex
Opens a hash index for the specified index.
HashJoinPlan - Class in org.vanilladb.core.query.algebra.multibuffer
Non-recursive implementation of the hashjoin algorithm that performs hashing during the preprocessing stage and merging during the scanning stage.
HashJoinPlan(Plan, Plan, String, String, Transaction) - Constructor for class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
 
HashJoinScan - Class in org.vanilladb.core.query.algebra.multibuffer
 
HashJoinScan(List<TempTable>, List<TempTable>, String, String, Transaction) - Constructor for class org.vanilladb.core.query.algebra.multibuffer.HashJoinScan
 
hasLowerBound() - Method in class org.vanilladb.core.sql.ConstantRange
 
hasLowerBound() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
hasLowerBound() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
hasNext() - Method in class org.vanilladb.core.storage.log.LogIterator
Determines if the current log record is the earliest record in the log file.
hasNext() - Method in interface org.vanilladb.core.storage.tx.recovery.ReversibleIterator
 
hasPrevious() - Method in class org.vanilladb.core.storage.log.LogIterator
 
hasPrevious() - Method in interface org.vanilladb.core.storage.tx.recovery.ReversibleIterator
 
hasUpperBound() - Method in class org.vanilladb.core.sql.ConstantRange
 
hasUpperBound() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
hasUpperBound() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
HeuristicQueryPlanner - Class in org.vanilladb.core.query.planner.opt
A query planner that optimizes using a heuristic-based algorithm.
HeuristicQueryPlanner() - Constructor for class org.vanilladb.core.query.planner.opt.HeuristicQueryPlanner
 
high() - Method in class org.vanilladb.core.sql.ConstantRange
Returns the higher bound.
high() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
high() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
histogram() - Method in class org.vanilladb.core.query.algebra.ExplainPlan
Returns the histogram that approximates the distribution of the underlying query results.
histogram() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.materialize.MaterializePlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.materialize.SortPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in interface org.vanilladb.core.query.algebra.Plan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.ProductPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.ProjectPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.SelectPlan
Returns the histogram that approximates the join distribution of the field values of query results.
histogram() - Method in class org.vanilladb.core.query.algebra.TablePlan
Returns the histogram that approximates the join distribution of the field values of query results.
Histogram - Class in org.vanilladb.core.storage.metadata.statistics
A histogram that, for each field of a table, approximates the distribution of values using buckets.
Histogram() - Constructor for class org.vanilladb.core.storage.metadata.statistics.Histogram
 
Histogram(Set<String>) - Constructor for class org.vanilladb.core.storage.metadata.statistics.Histogram
 
Histogram(Histogram) - Constructor for class org.vanilladb.core.storage.metadata.statistics.Histogram
 
histogram() - Method in class org.vanilladb.core.storage.metadata.statistics.TableStatInfo
Returns a histogram that approximates the join distribution of frequencies of field values in this table.

I

ICAT - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The name of the index catalog.
ICAT_IDXNAME - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The field names of the index catalog.
ICAT_IDXTYPE - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The field names of the index catalog.
ICAT_TBLNAME - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The field names of the index catalog.
id() - Method in class org.vanilladb.core.storage.record.RecordId
Returns the ID associated with this record ID.
ii - Variable in class org.vanilladb.core.storage.index.Index
 
incrementDiskIOCount() - Method in class org.vanilladb.core.util.TransactionProfiler
 
incrementNetworkInSize(Serializable) - Method in class org.vanilladb.core.util.TransactionProfiler
 
incrementNetworkOutSize(Serializable) - Method in class org.vanilladb.core.util.TransactionProfiler
 
Index - Class in org.vanilladb.core.storage.index
An abstract index that defines the index traversal interface and provides type-agnostic methods.
Index(IndexInfo, SearchKeyType, Transaction) - Constructor for class org.vanilladb.core.storage.index.Index
Opens a hash index for the specified index.
IndexDeleteEndRecord - Class in org.vanilladb.core.storage.tx.recovery
 
IndexDeleteEndRecord(long, String, SearchKey, long, int, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
IndexDeleteEndRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
IndexInfo - Class in org.vanilladb.core.storage.metadata.index
The information about an index.
IndexInfo(String, String, List<String>, IndexType) - Constructor for class org.vanilladb.core.storage.metadata.index.IndexInfo
Creates an IndexInfo object for the specified index.
IndexInsertEndRecord - Class in org.vanilladb.core.storage.tx.recovery
 
IndexInsertEndRecord(long, String, SearchKey, long, int, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
IndexInsertEndRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
IndexJoinPlan - Class in org.vanilladb.core.query.algebra.index
The Plan class corresponding to the indexjoin relational algebra operator.
IndexJoinPlan(Plan, TablePlan, IndexInfo, Map<String, String>, Transaction) - Constructor for class org.vanilladb.core.query.algebra.index.IndexJoinPlan
Implements the join operator, using the specified LHS and RHS plans.
IndexJoinScan - Class in org.vanilladb.core.query.algebra.index
The scan class corresponding to the indexjoin relational algebra operator.
IndexJoinScan(Scan, Index, Map<String, String>, TableScan) - Constructor for class org.vanilladb.core.query.algebra.index.IndexJoinScan
Creates an index join scan for the specified LHS scan and RHS index.
IndexMgr - Class in org.vanilladb.core.storage.metadata.index
The index manager.
IndexMgr(boolean, TableMgr, Transaction) - Constructor for class org.vanilladb.core.storage.metadata.index.IndexMgr
Creates the index manager.
indexName() - Method in class org.vanilladb.core.query.parse.CreateIndexData
Returns the name of the index.
indexName() - Method in class org.vanilladb.core.query.parse.DropIndexData
Returns the name of the index.
indexName() - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
Returns the name of this index.
IndexPageDeleteClr - Class in org.vanilladb.core.storage.tx.recovery
 
IndexPageDeleteClr(long, BlockId, boolean, SearchKeyType, int, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
 
IndexPageDeleteClr(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
 
IndexPageDeleteRecord - Class in org.vanilladb.core.storage.tx.recovery
 
IndexPageDeleteRecord(long, BlockId, boolean, SearchKeyType, int) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
IndexPageDeleteRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
IndexPageInsertClr - Class in org.vanilladb.core.storage.tx.recovery
 
IndexPageInsertClr(long, BlockId, boolean, SearchKeyType, int, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
 
IndexPageInsertClr(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
 
IndexPageInsertRecord - Class in org.vanilladb.core.storage.tx.recovery
 
IndexPageInsertRecord(long, BlockId, boolean, SearchKeyType, int) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
IndexPageInsertRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
IndexSelector - Class in org.vanilladb.core.query.planner.index
 
IndexSelector() - Constructor for class org.vanilladb.core.query.planner.index.IndexSelector
 
IndexSelectPlan - Class in org.vanilladb.core.query.algebra.index
The Plan class corresponding to the indexselect relational algebra operator.
IndexSelectPlan(TablePlan, IndexInfo, Map<String, ConstantRange>, Transaction) - Constructor for class org.vanilladb.core.query.algebra.index.IndexSelectPlan
Creates a new index-select node in the query tree for the specified index and search range.
IndexSelectScan - Class in org.vanilladb.core.query.algebra.index
The scan class corresponding to the select relational algebra operator.
IndexSelectScan(Index, SearchRange, TableScan) - Constructor for class org.vanilladb.core.query.algebra.index.IndexSelectScan
Creates an index select scan for the specified index and search range.
indexType() - Method in class org.vanilladb.core.query.parse.CreateIndexData
Returns the type of the index.
IndexType - Enum in org.vanilladb.core.storage.index
Supported index types.
indexType() - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
Returns the type of this IndexInfo.
IndexUpdatePlanner - Class in org.vanilladb.core.query.planner.index
A modification of the basic update planner.
IndexUpdatePlanner() - Constructor for class org.vanilladb.core.query.planner.index.IndexUpdatePlanner
 
init(String) - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the system.
init(String, StoredProcedureFactory) - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the system.
initAndStartProfiler() - Static method in class org.vanilladb.core.server.VanillaDb
Initialize profiler and start collecting profiling data.
initCatalogMgr(boolean, Transaction) - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the catalog manager.
initCheckpointingTask() - Static method in class org.vanilladb.core.server.VanillaDb
Initialize a background checkpointing task.
initFileAndLogMgr(String) - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the file and log managers.
initFileMgr(String) - Static method in class org.vanilladb.core.server.VanillaDb
Initializes only the file manager.
initializeSystem(Transaction) - Static method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Goes through the log, rolling back all uncompleted transactions.
initStatMgr(Transaction) - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the statistics manager.
initTaskMgr() - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the task manager.
initTxMgr() - Static method in class org.vanilladb.core.server.VanillaDb
Initializes the transaction manager.
insert() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
 
insert() - Method in class org.vanilladb.core.query.algebra.SelectScan
 
insert() - Method in class org.vanilladb.core.query.algebra.TableScan
 
insert() - Method in interface org.vanilladb.core.query.algebra.UpdateScan
Inserts a new record somewhere in the scan.
insert(DirEntry) - Method in class org.vanilladb.core.storage.index.btree.BTreeDir
 
insert(SearchKey, RecordId, boolean) - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
Inserts the specified record into the index.
insert(RecordId) - Method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
Inserts a new B-tree leaf record having the specified data record ID and the previously-specified search key.
insert(int) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Inserts a slot to the current BTreePage.
insert(SearchKey, RecordId, boolean) - Method in class org.vanilladb.core.storage.index.hash.HashIndex
Inserts a new index record into this index.
insert(SearchKey, RecordId, boolean) - Method in class org.vanilladb.core.storage.index.Index
Inserts an index record having the specified key and data record ID.
insert() - Method in class org.vanilladb.core.storage.record.RecordFile
Inserts a new, blank record somewhere in the file beginning at the current record.
insert(RecordId) - Method in class org.vanilladb.core.storage.record.RecordFile
Inserts a record to a specified physical address.
insertASlot(Transaction, BlockId, SearchKeyType, int) - Static method in class org.vanilladb.core.storage.index.btree.BTreeDir
 
insertASlot(Transaction, BlockId, SearchKeyType, int) - Static method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
 
insertBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level for inserting this new block into the file.
insertBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
insertBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
insertBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
InsertData - Class in org.vanilladb.core.query.parse
Data for the SQL insert statement.
InsertData(String, List<String>, List<Constant>) - Constructor for class org.vanilladb.core.query.parse.InsertData
Saves the table name and the field and value lists.
insertFromScan(Scan) - Method in class org.vanilladb.core.query.algebra.materialize.TempRecordPage
Insert records to TempRecordFile for sorting, at most one block long
insertIntoDeletedSlot() - Method in class org.vanilladb.core.storage.record.RecordPage
Inserts a new, blank record into this deleted slot and return the record id of the next one.
insertIntoNextEmptySlot() - Method in class org.vanilladb.core.storage.record.RecordPage
Inserts a new, blank record somewhere in the page.
insertIntoTheCurrentSlot() - Method in class org.vanilladb.core.storage.record.RecordPage
Marks the current slot as in-used.
insertRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
INT_SIZE - Static variable in class org.vanilladb.core.util.ByteHelper
 
INTEGER - Static variable in class org.vanilladb.core.sql.Type
 
IntegerConstant - Class in org.vanilladb.core.sql
The class that wraps Java ints as database constants.
IntegerConstant(int) - Constructor for class org.vanilladb.core.sql.IntegerConstant
Create a constant by wrapping the specified int.
IntegerConstant(byte[]) - Constructor for class org.vanilladb.core.sql.IntegerConstant
 
IntegerType - Class in org.vanilladb.core.sql
 
intersect(ConstantRange) - Method in class org.vanilladb.core.sql.ConstantRange
 
intersect(ConstantRange) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
intersect(ConstantRange) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
INUSE - Static variable in class org.vanilladb.core.storage.record.RecordPage
 
IoAllocator - Class in org.vanilladb.core.storage.file.io
 
IoAllocator() - Constructor for class org.vanilladb.core.storage.file.io.IoAllocator
 
IoBuffer - Interface in org.vanilladb.core.storage.file.io
 
IoChannel - Interface in org.vanilladb.core.storage.file.io
 
isAfterLast() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
isApplicableTo(Schema) - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
Returns true if both expressions are in the specified schema.
isApplicableTo(Schema) - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
Returns true, because a constant applies to any schema.
isApplicableTo(Schema) - Method in interface org.vanilladb.core.sql.predicate.Expression
Determines if all of the fields mentioned in this expression are contained in the specified schema.
isApplicableTo(Schema) - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
Returns true if the field is in the specified schema.
isApplicableTo(Schema) - Method in class org.vanilladb.core.sql.predicate.Term
Returns true if both expressions of this term apply to the specified schema.
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns true if the type of aggregation value is depend on the argument field.
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
isArgumentTypeDependent() - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
isAutoIncrement(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isBeforeFirst() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
isCaseSensitive(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isClosed() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
isClosed() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
isClosed() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
isCloseOnCompletion() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
isCommitted() - Method in class org.vanilladb.core.remote.storedprocedure.SpResultSet
 
isConstant() - Method in class org.vanilladb.core.sql.ConstantRange
 
isConstant() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
isConstant() - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
Returns true if both expressions are constant.
isConstant() - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
Returns true.
isConstant() - Method in interface org.vanilladb.core.sql.predicate.Expression
Returns true if the expression is a constant.
isConstant() - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
Returns false.
isConstant() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
isCurrency(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isDefinitelyWritable(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isExplain() - Method in class org.vanilladb.core.query.parse.QueryData
Returns true if the query is an explain statement.
isFieldName() - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
Returns false.
isFieldName() - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
Returns false.
isFieldName() - Method in interface org.vanilladb.core.sql.predicate.Expression
Returns true if the expression is a field reference.
isFieldName() - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
Returns true.
isFileEmpty(String) - Method in class org.vanilladb.core.storage.file.FileMgr
Returns true if a file is empty, else false.
isFirst() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
isFixedSize() - Method in class org.vanilladb.core.sql.BigIntType
 
isFixedSize() - Method in class org.vanilladb.core.sql.DoubleType
 
isFixedSize() - Method in class org.vanilladb.core.sql.IntegerType
 
isFixedSize() - Method in class org.vanilladb.core.sql.Type
Returns whether the number of bytes required to encode values of this type is fixed.
isFixedSize() - Method in class org.vanilladb.core.sql.VarcharType
 
isFull() - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Returns true if the block is full.
isGettingFull() - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Returns true if the block is going to be full after insertion.
isHighInclusive() - Method in class org.vanilladb.core.sql.ConstantRange
 
isHighInclusive() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
isHighInclusive() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
isInited() - Static method in class org.vanilladb.core.server.VanillaDb
Is VanillaDB initialized ?
isLast() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
isLowInclusive() - Method in class org.vanilladb.core.sql.ConstantRange
 
isLowInclusive() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
isLowInclusive() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
isNew() - Method in class org.vanilladb.core.storage.file.FileMgr
Returns a boolean indicating whether the file manager had to create a new database directory.
isNullable(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isNumeric() - Method in class org.vanilladb.core.sql.BigIntType
 
isNumeric() - Method in class org.vanilladb.core.sql.DoubleType
 
isNumeric() - Method in class org.vanilladb.core.sql.IntegerType
 
isNumeric() - Method in class org.vanilladb.core.sql.Type
Returns whether the values of this type is numeric.
isNumeric() - Method in class org.vanilladb.core.sql.VarcharType
 
isOverlapping(ConstantRange) - Method in class org.vanilladb.core.sql.ConstantRange
 
isOverlapping(ConstantRange) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
isOverlapping(ConstantRange) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
isPoolable() - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
isReadOnly() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
isReadOnly() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
isReadOnly(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isReadOnly() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
 
isReadOnly() - Method in class org.vanilladb.core.storage.tx.Transaction
 
isRefreshStatOn() - Method in class org.vanilladb.core.storage.metadata.statistics.StatMgr
 
isSatisfied(Record) - Method in class org.vanilladb.core.sql.predicate.Predicate
Returns true if this predicate evaluates to true with respect to the specified record.
isSatisfied(Record) - Method in class org.vanilladb.core.sql.predicate.Term
Returns true if, given the specified record, the two expressions evaluate to matching values.
isSearchable(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isSigned(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isSingleValue() - Method in class org.vanilladb.core.storage.index.SearchRange
Check if this range represents a single key.
isUsed(int) - Method in class org.vanilladb.core.query.planner.opt.AccessPath
 
isValid(int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
isValid() - Method in class org.vanilladb.core.sql.ConstantRange
Returns whether it is possible to have normal values (e.g., those other than positive and negative infinities, etc.) lying within this range.
isValid() - Method in class org.vanilladb.core.sql.DoubleConstantRange
Returns whether it is possible to have normal values (i.e., those other than DoubleConstantRange.NEG_INF, DoubleConstantRange.INF, and DoubleConstantRange.NAN) lying within this range.
isValid() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
isValid() - Method in class org.vanilladb.core.storage.index.SearchRange
 
isWrapperFor(Class<?>) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
isWrapperFor(Class<?>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
isWrapperFor(Class<?>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
isWrapperFor(Class<?>) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
isWritable(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
iterator() - Method in class org.vanilladb.core.storage.log.LogMgr
Returns an iterator for the log records, which will be returned in reverse order starting with the most recent.

J

JavaNioByteBuffer - Class in org.vanilladb.core.storage.file.io.javanio
 
JavaNioByteBuffer(int) - Constructor for class org.vanilladb.core.storage.file.io.javanio.JavaNioByteBuffer
 
JavaNioFileChannel - Class in org.vanilladb.core.storage.file.io.javanio
 
JavaNioFileChannel(File) - Constructor for class org.vanilladb.core.storage.file.io.javanio.JavaNioFileChannel
 
JaydioDirectByteBuffer - Class in org.vanilladb.core.storage.file.io.jaydio
 
JaydioDirectByteBuffer(int) - Constructor for class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectByteBuffer
 
JaydioDirectIoChannel - Class in org.vanilladb.core.storage.file.io.jaydio
 
JaydioDirectIoChannel(File) - Constructor for class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectIoChannel
 
jdbcCompliant() - Method in class org.vanilladb.core.remote.jdbc.DriverAdapter
 
JdbcConnection - Class in org.vanilladb.core.remote.jdbc
An adapter class that wraps RemoteConnection.
JdbcConnection(RemoteConnection) - Constructor for class org.vanilladb.core.remote.jdbc.JdbcConnection
 
JdbcDriver - Class in org.vanilladb.core.remote.jdbc
The VanillaDb database driver for JDBC.
JdbcDriver() - Constructor for class org.vanilladb.core.remote.jdbc.JdbcDriver
 
JdbcMetaData - Class in org.vanilladb.core.remote.jdbc
An adapter class that wraps RemoteMetaData.
JdbcMetaData(RemoteMetaData) - Constructor for class org.vanilladb.core.remote.jdbc.JdbcMetaData
 
JdbcResultSet - Class in org.vanilladb.core.remote.jdbc
An adapter class that wraps RemoteResultSet.
JdbcResultSet(RemoteResultSet) - Constructor for class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
JdbcStartUp - Class in org.vanilladb.core.remote.jdbc
 
JdbcStartUp() - Constructor for class org.vanilladb.core.remote.jdbc.JdbcStartUp
 
JdbcStatement - Class in org.vanilladb.core.remote.jdbc
An adapter class that wraps RemoteStatement.
JdbcStatement(RemoteStatement) - Constructor for class org.vanilladb.core.remote.jdbc.JdbcStatement
 
joinFieldBucket(Bucket, Bucket, double) - Static method in class org.vanilladb.core.query.algebra.SelectPlan
Creates a new bucket by keeping the statistics of joining records and values from the two specified buckets.
joinFields(String) - Method in class org.vanilladb.core.sql.predicate.Predicate
Determines if there are terms of the form "F1=F2" or result in "F1=F2" via equal transitivity, where F1 is the specified field and F2 is another field (called join field).
joinFieldsHistogram(Histogram, Set<String>) - Static method in class org.vanilladb.core.query.algebra.SelectPlan
Returns a histogram that, for each field, approximates the distribution of values from the specified histogram joining with other fields in the specified group.
joinHistogram(Histogram, Histogram, String, String) - Static method in class org.vanilladb.core.query.algebra.AbstractJoinPlan
Returns a histogram that, for each field, approximates the value distribution of the join of the specified histograms.
joinPredicate(Schema, Schema) - Method in class org.vanilladb.core.sql.predicate.Predicate
Returns the sub-predicate consisting of terms that applies to the union of the two specified schemas, but not to either schema separately.

K

KCAT - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The name of the key catalog.
KCAT_IDXNAME - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The field names of the key catalog.
KCAT_KEYNAME - Static variable in class org.vanilladb.core.storage.metadata.index.IndexMgr
The field names of the key catalog.
key() - Method in class org.vanilladb.core.storage.index.btree.DirEntry
Returns the key of the entry
keyType - Variable in class org.vanilladb.core.storage.index.Index
 

L

largerThan(Constant) - Method in class org.vanilladb.core.sql.ConstantRange
 
largerThan(Constant) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
largerThan(Constant) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
last() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
LAST_POS - Static variable in class org.vanilladb.core.storage.log.LogMgr
The location where the pointer to the last integer in the page is.
lastLsn() - Method in class org.vanilladb.core.storage.buffer.Buffer
Return the log sequence number (LSN) of the latest log record which has been applied to this buffer.
length() - Method in class org.vanilladb.core.sql.ConstantRange
 
length() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
length() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
length() - Method in class org.vanilladb.core.storage.index.SearchKey
 
length() - Method in class org.vanilladb.core.storage.index.SearchKeyType
 
length() - Method in class org.vanilladb.core.storage.index.SearchRange
 
lessThan(Constant) - Method in class org.vanilladb.core.sql.ConstantRange
 
lessThan(Constant) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
lessThan(Constant) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
Lexer - Class in org.vanilladb.core.query.parse
The lexical analyzer.
Lexer(String) - Constructor for class org.vanilladb.core.query.parse.Lexer
Creates a new lexical analyzer for the specified SQL statement.
LockAbortException - Exception in org.vanilladb.core.storage.tx.concurrency
A runtime exception indicating that the transaction needs to abort because a lock could not be obtained.
LockAbortException() - Constructor for exception org.vanilladb.core.storage.tx.concurrency.LockAbortException
 
LockAbortException(String) - Constructor for exception org.vanilladb.core.storage.tx.concurrency.LockAbortException
 
lockFlushing() - Method in class org.vanilladb.core.storage.buffer.Buffer
Lock the flushing mechanism in order to prevent a thread flushing this buffer while another thread is doing a physiological operation.
lockRecordFileHeader(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
 
lockTbl - Static variable in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
 
LOG_FILES_DIR - Static variable in class org.vanilladb.core.storage.file.FileMgr
 
LogFileTranslator - Class in org.vanilladb.core.util
 
LogFileTranslator() - Constructor for class org.vanilladb.core.util.LogFileTranslator
 
LogicalAbortRecord - Class in org.vanilladb.core.storage.tx.recovery
 
LogicalAbortRecord(long, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
LogicalAbortRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
LogicalEndRecord - Class in org.vanilladb.core.storage.tx.recovery
 
LogicalEndRecord() - Constructor for class org.vanilladb.core.storage.tx.recovery.LogicalEndRecord
 
logicalStartLSN - Variable in class org.vanilladb.core.storage.tx.recovery.LogicalEndRecord
 
LogicalStartRecord - Class in org.vanilladb.core.storage.tx.recovery
 
LogicalStartRecord(long) - Constructor for class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
LogicalStartRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
logIndexDeletionEnd(String, SearchKey, long, int) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logIndexInsertionEnd(String, SearchKey, long, int) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logIndexPageDeletion(BlockId, boolean, SearchKeyType, int) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logIndexPageDeletionClr(long, BlockId, boolean, SearchKeyType, int, LogSeqNum) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logIndexPageInsertion(BlockId, boolean, SearchKeyType, int) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logIndexPageInsertionClr(long, BlockId, boolean, SearchKeyType, int, LogSeqNum) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
LogIterator - Class in org.vanilladb.core.storage.log
A class that provides the ability to move through the records of the log file in reverse order.
LogIterator(BlockId) - Constructor for class org.vanilladb.core.storage.log.LogIterator
Creates an iterator for the records in the log file, positioned after the last log record.
logLogicalAbort(long, LogSeqNum) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Writes a logical abort record into the log.
logLogicalStart() - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logMgr() - Static method in class org.vanilladb.core.server.VanillaDb
 
LogMgr - Class in org.vanilladb.core.storage.log
The low-level log manager.
LogMgr() - Constructor for class org.vanilladb.core.storage.log.LogMgr
Creates the manager for the specified log file.
LogMgr(String) - Constructor for class org.vanilladb.core.storage.log.LogMgr
 
logMgr - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
LogReader - Class in org.vanilladb.core.storage.tx.recovery
 
LogReader(String) - Constructor for class org.vanilladb.core.storage.tx.recovery.LogReader
 
LogRecord - Interface in org.vanilladb.core.storage.tx.recovery
The interface to be implemented by each type of log record.
logRecordFileDeletionEnd(String, long, int) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
logRecordFileInsertionEnd(String, long, int) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
LogSeqNum - Class in org.vanilladb.core.storage.log
 
LogSeqNum(long, long) - Constructor for class org.vanilladb.core.storage.log.LogSeqNum
 
logSetVal(Buffer, int, Constant) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Writes a set value record to the log.
logSetValClr(long, Buffer, int, Constant, LogSeqNum) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
LONG_SIZE - Static variable in class org.vanilladb.core.util.ByteHelper
 
low() - Method in class org.vanilladb.core.sql.ConstantRange
Returns the lower bound.
low() - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
low() - Method in class org.vanilladb.core.sql.VarcharConstantRange
 

M

main(String[]) - Static method in class org.vanilladb.core.server.StartUp
 
main(String[]) - Static method in class org.vanilladb.core.util.ConsoleSQLInterpreter
 
main(String[]) - Static method in class org.vanilladb.core.util.LogFileTranslator
 
makeNewRoot(DirEntry) - Method in class org.vanilladb.core.storage.index.btree.BTreeDir
Creates a new root block for the B-tree.
ManuallyAbortException - Exception in org.vanilladb.core.sql.storedprocedure
 
ManuallyAbortException() - Constructor for exception org.vanilladb.core.sql.storedprocedure.ManuallyAbortException
 
ManuallyAbortException(String) - Constructor for exception org.vanilladb.core.sql.storedprocedure.ManuallyAbortException
 
match(SearchKey) - Method in class org.vanilladb.core.storage.index.SearchRange
Check if the given SearchKey matches this range.
matchDelim(char) - Method in class org.vanilladb.core.query.parse.Lexer
Returns true if the current token is the specified delimiter character.
matchId() - Method in class org.vanilladb.core.query.parse.Lexer
Returns true if the current token is a legal identifier.
matchKeyword(String) - Method in class org.vanilladb.core.query.parse.Lexer
Returns true if the current token is the specified keyword.
matchNumericConstant() - Method in class org.vanilladb.core.query.parse.Lexer
Returns true if the current token is a numeric value.
matchStringConstant() - Method in class org.vanilladb.core.query.parse.Lexer
Returns true if the current token is a string.
MaterializePlan - Class in org.vanilladb.core.query.algebra.materialize
The Plan class for the materialize operator.
MaterializePlan(Plan, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.MaterializePlan
Creates a materialize plan for the specified query.
MAX_NAME - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
The maximum number of characters in any tablename or fieldname.
MaxFn - Class in org.vanilladb.core.sql.aggfn
The max aggregation function.
MaxFn(String) - Constructor for class org.vanilladb.core.sql.aggfn.MaxFn
 
maxSize() - Method in class org.vanilladb.core.sql.BigIntType
 
maxSize() - Method in class org.vanilladb.core.sql.DoubleType
 
maxSize() - Method in class org.vanilladb.core.sql.IntegerType
 
maxSize() - Method in class org.vanilladb.core.sql.Type
Returns the maximum number of bytes required to encode a value of this type.
maxSize() - Method in class org.vanilladb.core.sql.VarcharType
Returns the maximum number of bytes required, by following the rule specified in VarcharConstant.asBytes(), to encode a value of this type.
maxSize(Type) - Static method in class org.vanilladb.core.storage.file.Page
Calculates the maximum number of bytes required to store a value of a particular type in disk.
maxValue() - Method in class org.vanilladb.core.sql.BigIntType
 
maxValue() - Method in class org.vanilladb.core.sql.DoubleType
 
maxValue() - Method in class org.vanilladb.core.sql.IntegerType
 
maxValue() - Method in class org.vanilladb.core.sql.Type
Returns the maximal value of this type.
maxValue() - Method in class org.vanilladb.core.sql.VarcharType
 
MergeJoinPlan - Class in org.vanilladb.core.query.algebra.materialize
The Plan class for the mergejoin operator.
MergeJoinPlan(Plan, Plan, String, String, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
Creates a mergejoin plan for the two specified queries.
MergeJoinScan - Class in org.vanilladb.core.query.algebra.materialize
The Scan class for the mergejoin operator.
MergeJoinScan(SortScan, SortScan, String, String) - Constructor for class org.vanilladb.core.query.algebra.materialize.MergeJoinScan
Creates a mergejoin scan for the two underlying sorted scans.
MIN_REC_SIZE - Static variable in class org.vanilladb.core.storage.record.RecordPage
 
MIN_SLOT_SIZE - Static variable in class org.vanilladb.core.storage.record.RecordPage
 
MinFn - Class in org.vanilladb.core.sql.aggfn
The min aggregation function.
MinFn(String) - Constructor for class org.vanilladb.core.sql.aggfn.MinFn
 
minValue() - Method in class org.vanilladb.core.sql.BigIntType
 
minValue() - Method in class org.vanilladb.core.sql.DoubleType
 
minValue() - Method in class org.vanilladb.core.sql.IntegerType
 
minValue() - Method in class org.vanilladb.core.sql.Type
Returns the minimal value of this type.
minValue() - Method in class org.vanilladb.core.sql.VarcharType
Empty string is the minimal value by following the rules in String.compareTo(java.lang.String).
modifyBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level for the updating some records in the specified block.
modifyBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
modifyBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
modifyBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
ModifyData - Class in org.vanilladb.core.query.parse
Data for the SQL update statement.
ModifyData(String, Map<String, Expression>, Predicate) - Constructor for class org.vanilladb.core.query.parse.ModifyData
Saves the table name, the modified field and its new value, and the predicate.
modifyFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level on the specified file for changing its properties.
modifyFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
modifyFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
modifyFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
modifyIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock on the data file for modifying its index.
modifyIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
modifyIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
modifyIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
modifyLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock on the leaf block for update.
modifyLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
modifyLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
modifyLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
modifyRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level for the updating specified record.
modifyRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
modifyRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
modifyRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
moveToCurrentRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
moveToId(int) - Method in class org.vanilladb.core.storage.record.RecordPage
Sets the current record to be the record having the specified ID.
moveToInsertRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
moveToPageHead() - Method in class org.vanilladb.core.query.algebra.materialize.TempRecordPage
 
moveToRecordId(RecordId) - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
 
moveToRecordId(RecordId) - Method in class org.vanilladb.core.query.algebra.SelectScan
 
moveToRecordId(RecordId) - Method in class org.vanilladb.core.query.algebra.TableScan
 
moveToRecordId(RecordId) - Method in interface org.vanilladb.core.query.algebra.UpdateScan
Positions the scan so that the current record has the specified record ID .
moveToRecordId(RecordId) - Method in class org.vanilladb.core.storage.record.RecordFile
Positions the current record as indicated by the specified record ID .
mul(Constant) - Method in class org.vanilladb.core.sql.BigIntConstant
 
mul(Constant) - Method in class org.vanilladb.core.sql.Constant
Multiplies this constant by a value specified by another constant.
mul(Constant) - Method in class org.vanilladb.core.sql.DoubleConstant
 
mul(Constant) - Method in class org.vanilladb.core.sql.IntegerConstant
 
mul(Constant) - Method in class org.vanilladb.core.sql.VarcharConstant
 
MultiBufferProductPlan - Class in org.vanilladb.core.query.algebra.multibuffer
The Plan class for the muti-buffer version of the product operator.
MultiBufferProductPlan(Plan, Plan, Transaction) - Constructor for class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
Creates a product plan for the specified queries.
MultiBufferProductScan - Class in org.vanilladb.core.query.algebra.multibuffer
The Scan class for the muti-buffer version of the product operator.
MultiBufferProductScan(Scan, TableInfo, Transaction) - Constructor for class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductScan
Creates the scan class for the product of the LHS scan and a table.

N

nativeSQL(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
newDefaultParamHelper() - Static method in class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
 
newInstance(Type, byte[]) - Static method in class org.vanilladb.core.sql.Constant
Constructs a new instance of the specified type with value converted from the input byte array.
newInstance(Constant, boolean, Constant, boolean) - Static method in class org.vanilladb.core.sql.ConstantRange
Constructs a new instance.
newInstance(Constant) - Static method in class org.vanilladb.core.sql.ConstantRange
 
newInstance(int, int) - Static method in class org.vanilladb.core.sql.Type
Constructs a new instance corresponding to the specified SQL type and argument.
newInstance(IndexInfo, SearchKeyType, Transaction) - Static method in class org.vanilladb.core.storage.index.Index
 
newIoBuffer(int) - Static method in class org.vanilladb.core.storage.file.io.IoAllocator
 
newIoChannel(File) - Static method in class org.vanilladb.core.storage.file.io.IoAllocator
 
newMaxDiffAreaHistogram(int) - Method in class org.vanilladb.core.storage.metadata.statistics.SampledHistogramBuilder
Constructs a histogram with the "MaxDiff(V, A)" buckets for all fields.
newMaxDiffFreqHistogram(int, int) - Method in class org.vanilladb.core.storage.metadata.statistics.SampledHistogramBuilder
Constructs a histogram with the "MaxDiff(V, F)" buckets for all fields.
newMaxDiffHistogram(int, int) - Method in class org.vanilladb.core.storage.metadata.statistics.SampledHistogramBuilder
Constructs a histogram with the "MaxDiff(V, A)" buckets for numeric field values and "MaxDiff(V, F)" buckets for other types of field values respectively.
newPlanner() - Static method in class org.vanilladb.core.server.VanillaDb
Creates a planner for SQL commands.
newResultSetRecord() - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
 
newSchema() - Method in class org.vanilladb.core.query.parse.CreateTableData
Returns the schema of the new table.
newTransaction(int, boolean) - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
newTransaction(int, boolean, long) - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
newValue(String) - Method in class org.vanilladb.core.query.parse.ModifyData
Returns an expression.
next() - Method in class org.vanilladb.core.query.algebra.ExplainScan
 
next() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinScan
Moves the scan to the next record.
next() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
Moves to the next record, which in this case means moving the index to the next record satisfying the selection constant, and returning false if there are no more such index records.
next() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByScan
Moves to the next group.
next() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinScan
Moves to the next record.
next() - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Moves to the next record in sorted order.
next() - Method in class org.vanilladb.core.query.algebra.multibuffer.ChunkScan
Moves to the next record in the current block of the chunk.
next() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinScan
 
next() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductScan
Moves to the next record in the current scan.
next() - Method in class org.vanilladb.core.query.algebra.ProductScan
Moves the scan to the next record.
next() - Method in class org.vanilladb.core.query.algebra.ProjectScan
 
next() - Method in interface org.vanilladb.core.query.algebra.Scan
Moves the scan to the next record.
next() - Method in class org.vanilladb.core.query.algebra.SelectScan
Move to the next record satisfying the predicate.
next() - Method in class org.vanilladb.core.query.algebra.TableScan
 
next() - Method in class org.vanilladb.core.remote.jdbc.JdbcResultSet
 
next() - Method in interface org.vanilladb.core.remote.jdbc.RemoteResultSet
 
next() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
next() - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
Moves to the next index record in B-tree leaves matching the previously-specified search key.
next() - Method in class org.vanilladb.core.storage.index.btree.BTreeLeaf
Moves to the next B-tree leaf record matching the search key.
next() - Method in class org.vanilladb.core.storage.index.hash.HashIndex
Moves to the next index record having the search key.
next() - Method in class org.vanilladb.core.storage.index.Index
Moves the index to the next record matching the search range specified in the Index.beforeFirst(org.vanilladb.core.storage.index.SearchRange) method.
next() - Method in class org.vanilladb.core.storage.log.LogIterator
Moves to the next log record in reverse order.
next() - Method in class org.vanilladb.core.storage.record.RecordFile
Moves to the next record.
next() - Method in class org.vanilladb.core.storage.record.RecordPage
Moves to the next record in the block.
next() - Method in interface org.vanilladb.core.storage.tx.recovery.ReversibleIterator
 
nextRecord() - Method in class org.vanilladb.core.storage.tx.recovery.LogReader
 
nextVal(Type) - Method in class org.vanilladb.core.storage.log.BasicLogRecord
Returns the next value of this log record.
NO_SLOT_BLOCKID - Static variable in class org.vanilladb.core.storage.record.FileHeaderPage
 
NO_SLOT_RID - Static variable in class org.vanilladb.core.storage.record.FileHeaderPage
 
NUM_BUCKETS - Static variable in class org.vanilladb.core.storage.index.hash.HashIndex
 
number() - Method in class org.vanilladb.core.storage.file.BlockId
Returns the location of the block within the file.
numOfSlots(int, Schema) - Static method in class org.vanilladb.core.storage.index.btree.BTreePage
 

O

offset(Schema, String) - Static method in class org.vanilladb.core.storage.index.btree.BTreePage
Deprecated.
offset() - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
OFFSET_LDS_BLOCKID - Static variable in class org.vanilladb.core.storage.record.FileHeaderPage
The offset of pointers of the last deleted slot.
OFFSET_LDS_RID - Static variable in class org.vanilladb.core.storage.record.FileHeaderPage
The offset of pointers of the last deleted slot.
OFFSET_TS_BLOCKID - Static variable in class org.vanilladb.core.storage.record.FileHeaderPage
The offset of pointers of the tail slot.
OFFSET_TS_RID - Static variable in class org.vanilladb.core.storage.record.FileHeaderPage
The offset of pointers of the tail slot.
offsetMap(Schema) - Static method in class org.vanilladb.core.storage.index.btree.BTreePage
Returns the map of field name to offset of a specified schema.
offsetMap(Schema) - Static method in class org.vanilladb.core.storage.record.RecordPage
Returns the map of field name to offset of a specified schema.
onTxCommit(Transaction) - Method in class org.vanilladb.core.storage.buffer.BufferMgr
 
onTxCommit(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
onTxCommit(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
onTxCommit(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
onTxCommit(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Writes a commit record to the log, and then flushes the log record to disk.
onTxCommit(Transaction) - Method in interface org.vanilladb.core.storage.tx.TransactionLifecycleListener
 
onTxCommit(Transaction) - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
onTxEndStatement(Transaction) - Method in class org.vanilladb.core.storage.buffer.BufferMgr
 
onTxEndStatement(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
Releases all slocks obtained so far.
onTxEndStatement(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
onTxEndStatement(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
onTxEndStatement(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
 
onTxEndStatement(Transaction) - Method in interface org.vanilladb.core.storage.tx.TransactionLifecycleListener
 
onTxEndStatement(Transaction) - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
onTxRollback(Transaction) - Method in class org.vanilladb.core.storage.buffer.BufferMgr
 
onTxRollback(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
onTxRollback(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
onTxRollback(Transaction) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
onTxRollback(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Does the roll back process, writes a rollback record to the log, and flushes the log record to disk.
onTxRollback(Transaction) - Method in interface org.vanilladb.core.storage.tx.TransactionLifecycleListener
 
onTxRollback(Transaction) - Method in class org.vanilladb.core.storage.tx.TransactionMgr
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
op() - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Returns IDs used to distinguish different logged operations.
op() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
op() - Method in class org.vanilladb.core.storage.tx.recovery.SetValueClr
 
OP_ADD - Static variable in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
 
OP_CHECKPOINT - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_COMMIT - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_DIV - Static variable in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
 
OP_EQ - Static variable in class org.vanilladb.core.sql.predicate.Term
 
OP_GT - Static variable in class org.vanilladb.core.sql.predicate.Term
 
OP_GTE - Static variable in class org.vanilladb.core.sql.predicate.Term
 
OP_INDEX_DELETE - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_FILE_DELETE_END - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_FILE_INSERT_END - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_INSERT - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_PAGE_DELETE - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_PAGE_DELETE_CLR - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_PAGE_INSERT - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_INDEX_PAGE_INSERT_CLR - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_LOGICAL_ABORT - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_LOGICAL_START - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_LT - Static variable in class org.vanilladb.core.sql.predicate.Term
 
OP_LTE - Static variable in class org.vanilladb.core.sql.predicate.Term
 
OP_MUL - Static variable in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
 
OP_RECORD_FILE_DELETE_END - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_RECORD_FILE_INSERT_END - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_ROLLBACK - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_SET_VALUE - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_SET_VALUE_CLR - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_START - Static variable in interface org.vanilladb.core.storage.tx.recovery.LogRecord
 
OP_SUB - Static variable in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
 
open() - Method in class org.vanilladb.core.query.algebra.ExplainPlan
Creates a explain scan for this query.
open() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinPlan
Opens an index-join scan for this query
open() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectPlan
Creates a new index-select scan for this query
open() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
This method opens a sort plan for the specified plan.
open() - Method in class org.vanilladb.core.query.algebra.materialize.MaterializePlan
This method loops through the underlying query, copying its output records into a temporary table.
open() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
The method first sorts its two underlying scans on their join field.
open() - Method in class org.vanilladb.core.query.algebra.materialize.SortPlan
This method is where most of the action is.
open() - Method in class org.vanilladb.core.query.algebra.materialize.TempTable
Opens a table scan for the temporary table.
open() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
 
open() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
A scan for this query is created and returned, as follows.
open() - Method in interface org.vanilladb.core.query.algebra.Plan
Opens a scan corresponding to this plan.
open() - Method in class org.vanilladb.core.query.algebra.ProductPlan
Creates a product scan for this query.
open() - Method in class org.vanilladb.core.query.algebra.ProjectPlan
Creates a project scan for this query.
open() - Method in class org.vanilladb.core.query.algebra.SelectPlan
Creates a select scan for this query.
open() - Method in class org.vanilladb.core.query.algebra.TablePlan
Creates a table scan for this query.
open(Transaction) - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
Opens the index described by this object.
open(Transaction, boolean) - Method in class org.vanilladb.core.storage.metadata.TableInfo
Opens the RecordFile described by this object.
Operator() - Constructor for class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression.Operator
 
operator(String) - Method in class org.vanilladb.core.sql.predicate.Term
Determines if this term is of the form "F<OP>E" where F is the specified field, <OP> is an operator, and E is an expression.
Operator() - Constructor for class org.vanilladb.core.sql.predicate.Term.Operator
 
oppositeConstant(String) - Method in class org.vanilladb.core.sql.predicate.Term
Determines if this term is of the form "F<OP>C" where F is the specified field, <OP> is an operator, and C is some constant.
oppositeField(String) - Method in class org.vanilladb.core.sql.predicate.Term
Determines if this term is of the form "F1<OP>F2" where F1 is the specified field, <OP> is an operator, and F2 is another field.
org.vanilladb.core.query.algebra - package org.vanilladb.core.query.algebra
 
org.vanilladb.core.query.algebra.index - package org.vanilladb.core.query.algebra.index
 
org.vanilladb.core.query.algebra.materialize - package org.vanilladb.core.query.algebra.materialize
 
org.vanilladb.core.query.algebra.multibuffer - package org.vanilladb.core.query.algebra.multibuffer
 
org.vanilladb.core.query.parse - package org.vanilladb.core.query.parse
 
org.vanilladb.core.query.planner - package org.vanilladb.core.query.planner
 
org.vanilladb.core.query.planner.index - package org.vanilladb.core.query.planner.index
 
org.vanilladb.core.query.planner.opt - package org.vanilladb.core.query.planner.opt
 
org.vanilladb.core.remote.jdbc - package org.vanilladb.core.remote.jdbc
 
org.vanilladb.core.remote.storedprocedure - package org.vanilladb.core.remote.storedprocedure
 
org.vanilladb.core.server - package org.vanilladb.core.server
 
org.vanilladb.core.server.task - package org.vanilladb.core.server.task
 
org.vanilladb.core.sql - package org.vanilladb.core.sql
 
org.vanilladb.core.sql.aggfn - package org.vanilladb.core.sql.aggfn
 
org.vanilladb.core.sql.predicate - package org.vanilladb.core.sql.predicate
 
org.vanilladb.core.sql.storedprocedure - package org.vanilladb.core.sql.storedprocedure
 
org.vanilladb.core.storage.buffer - package org.vanilladb.core.storage.buffer
 
org.vanilladb.core.storage.file - package org.vanilladb.core.storage.file
 
org.vanilladb.core.storage.file.io - package org.vanilladb.core.storage.file.io
 
org.vanilladb.core.storage.file.io.javanio - package org.vanilladb.core.storage.file.io.javanio
 
org.vanilladb.core.storage.file.io.jaydio - package org.vanilladb.core.storage.file.io.jaydio
 
org.vanilladb.core.storage.index - package org.vanilladb.core.storage.index
 
org.vanilladb.core.storage.index.btree - package org.vanilladb.core.storage.index.btree
 
org.vanilladb.core.storage.index.hash - package org.vanilladb.core.storage.index.hash
 
org.vanilladb.core.storage.log - package org.vanilladb.core.storage.log
 
org.vanilladb.core.storage.metadata - package org.vanilladb.core.storage.metadata
 
org.vanilladb.core.storage.metadata.index - package org.vanilladb.core.storage.metadata.index
 
org.vanilladb.core.storage.metadata.statistics - package org.vanilladb.core.storage.metadata.statistics
 
org.vanilladb.core.storage.record - package org.vanilladb.core.storage.record
 
org.vanilladb.core.storage.tx - package org.vanilladb.core.storage.tx
 
org.vanilladb.core.storage.tx.concurrency - package org.vanilladb.core.storage.tx.concurrency
 
org.vanilladb.core.storage.tx.recovery - package org.vanilladb.core.storage.tx.recovery
 
org.vanilladb.core.util - package org.vanilladb.core.util
 

P

Page - Class in org.vanilladb.core.storage.file
The contents of a disk block in memory.
Page() - Constructor for class org.vanilladb.core.storage.file.Page
Creates a new page.
PageFormatter - Class in org.vanilladb.core.storage.buffer
An interface used to initialize a new block on disk.
PageFormatter() - Constructor for class org.vanilladb.core.storage.buffer.PageFormatter
 
Parser - Class in org.vanilladb.core.query.parse
The VanillaDb parser.
Parser(String) - Constructor for class org.vanilladb.core.query.parse.Parser
 
pauseCollecting() - Method in class org.vanilladb.core.util.Profiler
Pause collecting.
percentage(Constant) - Method in class org.vanilladb.core.storage.metadata.statistics.Percentiles
Gets the percent of values below the specified value.
percentage(ConstantRange) - Method in class org.vanilladb.core.storage.metadata.statistics.Percentiles
Gets the percent of values within the specified value range.
Percentiles - Class in org.vanilladb.core.storage.metadata.statistics
Keeps the percentiles of values in a bucket.
Percentiles(Map<Constant, Double>) - Constructor for class org.vanilladb.core.storage.metadata.statistics.Percentiles
Constructs a new instance.
percentiles(ConstantRange) - Method in class org.vanilladb.core.storage.metadata.statistics.Percentiles
Returns a new instance that keeps only the percentiles with values falling within the specified range.
pin(BlockId) - Method in class org.vanilladb.core.storage.buffer.BufferMgr
Pins a buffer to the specified block, potentially waiting until a buffer becomes available.
pinNew(String, PageFormatter) - Method in class org.vanilladb.core.storage.buffer.BufferMgr
Pins a buffer to a new block in the specified file, potentially waiting until a buffer becomes available.
Plan - Interface in org.vanilladb.core.query.algebra
The interface implemented by each query plan.
Planner - Class in org.vanilladb.core.query.planner
The object that executes SQL statements.
Planner(QueryPlanner, UpdatePlanner) - Constructor for class org.vanilladb.core.query.planner.Planner
 
pred() - Method in class org.vanilladb.core.query.parse.DeleteData
Returns the predicate that describes which records should be deleted.
pred() - Method in class org.vanilladb.core.query.parse.ModifyData
Returns the predicate that describes which records should be modified.
pred() - Method in class org.vanilladb.core.query.parse.QueryData
Returns the predicate that describes which records should be in the output table.
predHistogram(Histogram, Predicate) - Static method in class org.vanilladb.core.query.algebra.SelectPlan
Returns a histogram that, for each field, approximates the distribution of field values from the specified histogram satisfying the specified predicate.
Predicate - Class in org.vanilladb.core.sql.predicate
A Boolean combination of terms.
Predicate() - Constructor for class org.vanilladb.core.sql.predicate.Predicate
Creates an empty predicate, corresponding to "true".
Predicate(Term) - Constructor for class org.vanilladb.core.sql.predicate.Predicate
Creates a predicate containing a single term.
preLoadToMemory() - Method in class org.vanilladb.core.storage.index.btree.BTreeIndex
 
preLoadToMemory() - Method in class org.vanilladb.core.storage.index.hash.HashIndex
 
preLoadToMemory() - Method in class org.vanilladb.core.storage.index.Index
Preload the index blocks to memory.
prepare(Object...) - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
prepareCall(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareCall(String, int, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareCall(String, int, int, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareParameters(Object...) - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
Prepare parameters for this stored procedure.
prepareStatement(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareStatement(String, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareStatement(String, int[]) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareStatement(String, int, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareStatement(String, int, int, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
prepareStatement(String, String[]) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
previous() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
previous() - Method in class org.vanilladb.core.storage.log.LogIterator
 
previous() - Method in interface org.vanilladb.core.storage.tx.recovery.ReversibleIterator
 
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Processes the specified record by regarding it as the first record in a group.
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
processFirst(Record) - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Processes the specified record by regarding it as a following up record in a group.
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
processNext(Record) - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
productHistogram(Histogram, Histogram) - Static method in class org.vanilladb.core.query.algebra.ProductPlan
Returns a histogram that, for each field, approximates the value distribution of products from the specified histograms.
ProductPlan - Class in org.vanilladb.core.query.algebra
The Plan class corresponding to the product relational algebra operator.
ProductPlan(Plan, Plan) - Constructor for class org.vanilladb.core.query.algebra.ProductPlan
Creates a new product node in the query tree, having the two specified subqueries.
ProductScan - Class in org.vanilladb.core.query.algebra
The scan class corresponding to the product relational algebra operator.
ProductScan(Scan, Scan) - Constructor for class org.vanilladb.core.query.algebra.ProductScan
Creates a product scan having the two underlying scans.
Profiler - Class in org.vanilladb.core.util
A non-agent-based CPU profiler similar to java -agentlib:hprof=cpu=samples ToBeProfiledClass but accepts filters and can be started/stopped at any time.
Profiler() - Constructor for class org.vanilladb.core.util.Profiler
 
projectFields() - Method in class org.vanilladb.core.query.parse.QueryData
Returns the fields mentioned in the select clause.
projectHistogram(Histogram, Set<String>) - Static method in class org.vanilladb.core.query.algebra.ProjectPlan
Returns a histogram that approximates the join frequency distribution of the projected values from the specified histograms onto the specified fields.
ProjectPlan - Class in org.vanilladb.core.query.algebra
The Plan class corresponding to the project relational algebra operator.
ProjectPlan(Plan, Set<String>) - Constructor for class org.vanilladb.core.query.algebra.ProjectPlan
Creates a new project node in the query tree, having the specified subquery and field list.
ProjectScan - Class in org.vanilladb.core.query.algebra
The scan class corresponding to the project relational algebra operator.
ProjectScan(Scan, Collection<String>) - Constructor for class org.vanilladb.core.query.algebra.ProjectScan
Creates a project scan having the specified underlying scan and field list.
PropertiesLoader - Class in org.vanilladb.core.util
 
PropertiesLoader() - Constructor for class org.vanilladb.core.util.PropertiesLoader
 
put(int, byte[]) - Method in interface org.vanilladb.core.storage.file.io.IoBuffer
 
put(int, byte[]) - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioByteBuffer
 
put(int, byte[]) - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectByteBuffer
 

Q

queryCommand() - Method in class org.vanilladb.core.query.parse.Parser
 
QueryData - Class in org.vanilladb.core.query.parse
Data for the SQL select and explain statements.
QueryData(boolean, Set<String>, Set<String>, Predicate, Set<String>, Set<AggregationFn>, List<String>, List<Integer>) - Constructor for class org.vanilladb.core.query.parse.QueryData
Saves the information of a SQL query.
QueryPlanner - Interface in org.vanilladb.core.query.planner
The interface implemented by planners for the SQL select and explain statements.

R

RangeRecord - Interface in org.vanilladb.core.sql
A record whose each field value is a constant range.
rcConcurMgrCls - Static variable in class org.vanilladb.core.storage.tx.TransactionMgr
 
read(IoBuffer, long) - Method in interface org.vanilladb.core.storage.file.io.IoChannel
 
read(IoBuffer, long) - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioFileChannel
 
read(IoBuffer, long) - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectIoChannel
 
read(BlockId) - Method in class org.vanilladb.core.storage.file.Page
Populates the page with the contents of the specified disk block.
readBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level for the reading some records in the specified block.
readBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
readBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
readBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
ReadCommittedConcurrencyMgr - Class in org.vanilladb.core.storage.tx.concurrency
 
ReadCommittedConcurrencyMgr(long) - Constructor for class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
readFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level for reading the file properties or underlying records.
readFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
readFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
readFile(String) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
readFromPage(Page, int) - Static method in class org.vanilladb.core.storage.log.LogSeqNum
 
readIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock on the data file for reading its index.
readIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
readIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
readIndex(String) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
readLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock on the leaf block for read.
readLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
readLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
readLeafBlock(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
readRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
Sets lock according to the transaction's isolation level for the reading specified record.
readRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.ReadCommittedConcurrencyMgr
 
readRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
readRecord(RecordId) - Method in class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
Record - Interface in org.vanilladb.core.sql
A record.
RecordComparator - Class in org.vanilladb.core.sql
A comparator for records.
RecordComparator(List<String>, List<Integer>) - Constructor for class org.vanilladb.core.sql.RecordComparator
Creates a comparator using the specified fields, using the ordering implied by its iterator.
RecordFile - Class in org.vanilladb.core.storage.record
Manages a file of records.
RecordFile(TableInfo, Transaction, boolean) - Constructor for class org.vanilladb.core.storage.record.RecordFile
Constructs an object to manage a file of records.
RecordFileDeleteEndRecord - Class in org.vanilladb.core.storage.tx.recovery
 
RecordFileDeleteEndRecord(long, String, long, int, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
RecordFileDeleteEndRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
RecordFileInsertEndRecord - Class in org.vanilladb.core.storage.tx.recovery
 
RecordFileInsertEndRecord(long, String, long, int, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
RecordFileInsertEndRecord(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
RecordFormatter - Class in org.vanilladb.core.storage.record
An object that can format a page to look like a block of empty records.
RecordFormatter(TableInfo) - Constructor for class org.vanilladb.core.storage.record.RecordFormatter
Creates a formatter for a new page of a table.
RecordId - Class in org.vanilladb.core.storage.record
An identifier for a record within a file.
RecordId(BlockId, int) - Constructor for class org.vanilladb.core.storage.record.RecordId
Creates a record ID for the record having the specified ID in the specified block.
RecordPage - Class in org.vanilladb.core.storage.record
Manages the placement and access of records in a block.
RecordPage(BlockId, TableInfo, Transaction, boolean) - Constructor for class org.vanilladb.core.storage.record.RecordPage
Creates the record manager for the specified block.
recordSize(Schema) - Static method in class org.vanilladb.core.storage.record.RecordPage
Returns the number of bytes required to store a record with the specified schema in disk.
recordsOutput() - Method in class org.vanilladb.core.query.algebra.ExplainPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.materialize.MaterializePlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.materialize.SortPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
 
recordsOutput() - Method in interface org.vanilladb.core.query.algebra.Plan
Returns an estimate of the number of records in the query's output table.
recordsOutput() - Method in class org.vanilladb.core.query.algebra.ProductPlan
Returns an estimate of the number of records in the query's output table.
recordsOutput() - Method in class org.vanilladb.core.query.algebra.ProjectPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.SelectPlan
 
recordsOutput() - Method in class org.vanilladb.core.query.algebra.TablePlan
 
recordsOutput() - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
Returns the estimated number of records output by the table approximated by this histogram.
RecoveryMgr - Class in org.vanilladb.core.storage.tx.recovery
The recovery manager.
RecoveryMgr(long, boolean) - Constructor for class org.vanilladb.core.storage.tx.recovery.RecoveryMgr
Creates a recovery manager for the specified transaction.
recoveryMgr() - Method in class org.vanilladb.core.storage.tx.Transaction
 
recoveryMgrCls - Static variable in class org.vanilladb.core.storage.tx.TransactionMgr
 
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
Logical Record should not be redo since it would not do the same physical operations as the time it terminated.
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
Logical Record should not be redo since it would not do the same physical operations as the time it terminated.
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
Does nothing, because a Logical Abort record contains no undo information.
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
Does nothing, because a logical start record contains no redo information.
redo(Transaction) - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Redoes the operation encoded by this log record.
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
Logical Record should not be redo since it would not do the same physical operations as the time it terminated.
redo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
Logical Record should not be redo since it would not do the same physical operations as the time it terminated.
ReduceRecordsPlan - Class in org.vanilladb.core.query.algebra
An abstract Plan that may result in the reduction of number of record and other statistics.
ReduceRecordsPlan() - Constructor for class org.vanilladb.core.query.algebra.ReduceRecordsPlan
 
refreshRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
refreshStatistics(String, Transaction) - Method in class org.vanilladb.core.storage.metadata.statistics.StatMgr
 
relative(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
releaseRecordFileHeader(BlockId) - Method in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
 
releaseSavepoint(Savepoint) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
RemoteConnection - Interface in org.vanilladb.core.remote.jdbc
The RMI remote interface corresponding to Connection.
RemoteConnection - Interface in org.vanilladb.core.remote.storedprocedure
The RMI remote connection interface for the of stored procedure call.
RemoteDriver - Interface in org.vanilladb.core.remote.jdbc
The RMI remote interface corresponding to Driver.
RemoteDriver - Interface in org.vanilladb.core.remote.storedprocedure
The RMI remote interface corresponding to Driver.
RemoteDriverImpl - Class in org.vanilladb.core.remote.jdbc
The RMI server-side implementation of RemoteDriver.
RemoteDriverImpl() - Constructor for class org.vanilladb.core.remote.jdbc.RemoteDriverImpl
 
RemoteDriverImpl - Class in org.vanilladb.core.remote.storedprocedure
The RMI server-side implementation of RemoteDriver.
RemoteDriverImpl() - Constructor for class org.vanilladb.core.remote.storedprocedure.RemoteDriverImpl
 
RemoteMetaData - Interface in org.vanilladb.core.remote.jdbc
The RMI remote interface corresponding to ResultSetMetaData.
RemoteMetaDataImpl - Class in org.vanilladb.core.remote.jdbc
The RMI server-side implementation of RemoteMetaData.
RemoteMetaDataImpl(Schema) - Constructor for class org.vanilladb.core.remote.jdbc.RemoteMetaDataImpl
Creates a metadata object that wraps the specified schema.
RemoteResultSet - Interface in org.vanilladb.core.remote.jdbc
The RMI remote interface corresponding to ResultSet.
RemoteStatement - Interface in org.vanilladb.core.remote.jdbc
The RMI remote interface corresponding to Statement.
remove() - Method in class org.vanilladb.core.storage.log.LogIterator
 
remove() - Method in class org.vanilladb.core.storage.record.RecordFile
Remove the record file.
remove() - Method in interface org.vanilladb.core.storage.tx.recovery.ReversibleIterator
 
removeAndCreateNewLog() - Method in class org.vanilladb.core.storage.log.LogMgr
Remove the old log file and create a new one.
RepeatableReadConcurrencyMgr - Class in org.vanilladb.core.storage.tx.concurrency
 
RepeatableReadConcurrencyMgr(long) - Constructor for class org.vanilladb.core.storage.tx.concurrency.RepeatableReadConcurrencyMgr
 
reset() - Method in class org.vanilladb.core.util.TransactionProfiler
 
restorePosition() - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Moves the scan to its previously-saved position.
ResultSetAdapter - Class in org.vanilladb.core.remote.jdbc
This class implements all of the methods of the ResultSet interface, by throwing an exception for each one.
ResultSetAdapter() - Constructor for class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
ResultSetMetaDataAdapter - Class in org.vanilladb.core.remote.jdbc
This class implements all of the methods of the ResultSetMetaData interface, by throwing an exception for each one.
ResultSetMetaDataAdapter() - Constructor for class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
ReversibleIterator<T> - Interface in org.vanilladb.core.storage.tx.recovery
 
rewind() - Method in interface org.vanilladb.core.storage.file.io.IoBuffer
 
rewind() - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioByteBuffer
 
rewind() - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectByteBuffer
 
RMI_REG_NAME - Static variable in class org.vanilladb.core.remote.jdbc.JdbcStartUp
 
rollback(Savepoint) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
rollback() - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
rollback() - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
rollback() - Method in class org.vanilladb.core.storage.tx.Transaction
Rolls back the current transaction.
rowDeleted() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
rowInserted() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
rowUpdated() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
rrConcurMgrCls - Static variable in class org.vanilladb.core.storage.tx.TransactionMgr
 
run() - Method in class org.vanilladb.core.storage.metadata.statistics.StatisticsRefreshTask
 
run() - Method in class org.vanilladb.core.storage.tx.recovery.CheckpointTask
 
run() - Method in class org.vanilladb.core.util.Profiler
 
runAllSlot() - Method in class org.vanilladb.core.storage.record.RecordPage
Print all Slot IN_USE or EMPTY, for debugging
runTask(Task) - Method in class org.vanilladb.core.server.task.TaskMgr
 

S

sample(Record) - Method in class org.vanilladb.core.storage.metadata.statistics.SampledHistogramBuilder
Keep a record as a sample, with certain probability.
SampledHistogramBuilder - Class in org.vanilladb.core.storage.metadata.statistics
Performs the slide-window uniform sampling on records and by using the samples, and constructs histograms with the "MaxDiff(V, A)" buckets for numeric field values and "MaxDiff(V, F)" buckets for other types of field values respectively.
SampledHistogramBuilder(Schema) - Constructor for class org.vanilladb.core.storage.metadata.statistics.SampledHistogramBuilder
 
SampleStoredProcedureFactory - Class in org.vanilladb.core.sql.storedprocedure
 
SampleStoredProcedureFactory() - Constructor for class org.vanilladb.core.sql.storedprocedure.SampleStoredProcedureFactory
 
savePosition() - Method in class org.vanilladb.core.query.algebra.materialize.SortScan
Saves the position of the current record, so that it can be restored at a later time.
Scan - Interface in org.vanilladb.core.query.algebra
The interface will be implemented by each query scan.
schema() - Method in class org.vanilladb.core.query.algebra.ExplainPlan
Returns the schema of the explain query, which has only one field "query-plan" of type varchar(500).
schema() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinPlan
Returns the schema of the index join.
schema() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectPlan
Returns the schema of the data table.
schema() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
Returns the schema of the output table.
schema() - Method in class org.vanilladb.core.query.algebra.materialize.MaterializePlan
Returns the schema of the materialized table, which is the same as in the underlying plan.
schema() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
Returns the schema of the join, which is the union of the schemas of the underlying queries.
schema() - Method in class org.vanilladb.core.query.algebra.materialize.SortPlan
Returns the schema of the sorted table, which is the same as in the underlying query.
schema() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
Returns the schema of the join, which is the union of the schemas of the underlying queries.
schema() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
Returns the schema of the product, which is the union of the schemas of the underlying queries.
schema() - Method in interface org.vanilladb.core.query.algebra.Plan
Returns the schema of the query.
schema() - Method in class org.vanilladb.core.query.algebra.ProductPlan
Returns the schema of the product, which is the union of the schemas of the underlying queries.
schema() - Method in class org.vanilladb.core.query.algebra.ProjectPlan
Returns the schema of the projection, which is taken from the field list.
schema() - Method in class org.vanilladb.core.query.algebra.SelectPlan
Returns the schema of the selection, which is the same as in the underlying query.
schema() - Method in class org.vanilladb.core.query.algebra.TablePlan
Determines the schema of the table, which is obtainable from the catalog manager.
Schema - Class in org.vanilladb.core.sql
The schema of a table, which contains the name and type of each field of the table.
Schema() - Constructor for class org.vanilladb.core.sql.Schema
Creates an empty schema.
schema() - Method in class org.vanilladb.core.storage.metadata.TableInfo
Returns the schema of the table's records
SchemaIncompatibleException - Exception in org.vanilladb.core.sql
A runtime exception indicating that the string transaction wants to write exceeds limit in schema definition.
SchemaIncompatibleException() - Constructor for exception org.vanilladb.core.sql.SchemaIncompatibleException
 
SchemaIncompatibleException(String) - Constructor for exception org.vanilladb.core.sql.SchemaIncompatibleException
 
search(SearchKey, String, BTreeIndex.SearchPurpose) - Method in class org.vanilladb.core.storage.index.btree.BTreeDir
Returns the block number of the B-tree leaf block that contains the specified search key.
searchCost(SearchKeyType, long, long) - Static method in class org.vanilladb.core.storage.index.btree.BTreeIndex
 
searchCost(SearchKeyType, long, long) - Static method in class org.vanilladb.core.storage.index.hash.HashIndex
 
searchCost(IndexType, SearchKeyType, long, long) - Static method in class org.vanilladb.core.storage.index.Index
Estimates the number of block accesses required to find all index records matching a search range, given the specified numbers of total records and matching records.
SearchKey - Class in org.vanilladb.core.storage.index
A SearchKey represents an array of constants for a list of indexed fields.
SearchKey(List<String>, Map<String, Constant>) - Constructor for class org.vanilladb.core.storage.index.SearchKey
Constructs from the given values for the specified field names.
SearchKey(Constant...) - Constructor for class org.vanilladb.core.storage.index.SearchKey
 
SearchKeyType - Class in org.vanilladb.core.storage.index
A SearchKeyType represents an array of types for a list of indexed fields.
SearchKeyType(Schema, List<String>) - Constructor for class org.vanilladb.core.storage.index.SearchKeyType
 
SearchKeyType(Type...) - Constructor for class org.vanilladb.core.storage.index.SearchKeyType
 
SearchRange - Class in org.vanilladb.core.storage.index
 
SearchRange(List<String>, Schema, Map<String, ConstantRange>) - Constructor for class org.vanilladb.core.storage.index.SearchRange
 
SearchRange(List<String>, SearchKeyType, Map<String, ConstantRange>) - Constructor for class org.vanilladb.core.storage.index.SearchRange
 
SearchRange(SearchKey) - Constructor for class org.vanilladb.core.storage.index.SearchRange
 
SearchRange(ConstantRange...) - Constructor for class org.vanilladb.core.storage.index.SearchRange
 
selectByBestMatchedIndex(String, TablePlan, Predicate, Transaction) - Static method in class org.vanilladb.core.query.planner.index.IndexSelector
 
selectByBestMatchedIndex(String, TablePlan, Predicate, Transaction, Collection<String>) - Static method in class org.vanilladb.core.query.planner.index.IndexSelector
 
selectByBestMatchedIndex(Set<IndexInfo>, TablePlan, Predicate, Transaction) - Static method in class org.vanilladb.core.query.planner.index.IndexSelector
 
SelectPlan - Class in org.vanilladb.core.query.algebra
The Plan class corresponding to the select relational algebra operator.
SelectPlan(Plan, Predicate) - Constructor for class org.vanilladb.core.query.algebra.SelectPlan
Creates a new select node in the query tree, having the specified subquery and predicate.
selectPredicate(Schema) - Method in class org.vanilladb.core.sql.predicate.Predicate
Returns the sub-predicate that applies to the specified schema.
SelectScan - Class in org.vanilladb.core.query.algebra
The scan class corresponding to the select relational algebra operator.
SelectScan(Scan, Predicate) - Constructor for class org.vanilladb.core.query.algebra.SelectScan
Creates a select scan having the specified underlying scan and predicate.
SelingerLikeQueryPlanner - Class in org.vanilladb.core.query.planner.opt
 
SelingerLikeQueryPlanner() - Constructor for class org.vanilladb.core.query.planner.opt.SelingerLikeQueryPlanner
 
serialConcurMgrCls - Static variable in class org.vanilladb.core.storage.tx.TransactionMgr
 
SerializableConcurrencyMgr - Class in org.vanilladb.core.storage.tx.concurrency
 
SerializableConcurrencyMgr(long) - Constructor for class org.vanilladb.core.storage.tx.concurrency.SerializableConcurrencyMgr
 
setAutoCommit(boolean) - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
setAutoCommit(boolean) - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
setBuckets(String, Collection<Bucket>) - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
Resets the buckets of given field.
setCatalog(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setClientInfo(String, String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setClientInfo(Properties) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setCursorName(String) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setEscapeProcessing(boolean) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setFetchDirection(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
setFetchDirection(int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setFetchSize(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
setFetchSize(int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setFlag(int, long) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Sets the i-th flag.
setHoldability(int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setLastDeletedSlot(RecordId) - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Set the id of last deleted record.
setMaxFieldSize(int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setMaxRows(int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setNetworkTimeout(Executor, int) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setNextDeletedSlotId(RecordId) - Method in class org.vanilladb.core.storage.record.RecordPage
 
setPoolable(boolean) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setProfiler(TransactionProfiler) - Static method in class org.vanilladb.core.util.TransactionProfiler
 
setQueryTimeout(int) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
setReadOnly(boolean) - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
setReadOnly(boolean) - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
setReadOnly(boolean) - Method in class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
 
setSavepoint() - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setSavepoint(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setSchema(String) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setTailSolt(RecordId) - Method in class org.vanilladb.core.storage.record.FileHeaderPage
Set the id of last tail slot.
setTransactionIsolation(int) - Method in class org.vanilladb.core.remote.jdbc.JdbcConnection
 
setTransactionIsolation(int) - Method in interface org.vanilladb.core.remote.jdbc.RemoteConnection
 
setTypeMap(Map<String, Class<?>>) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
setVal(String, Constant) - Method in class org.vanilladb.core.query.algebra.index.IndexSelectScan
 
setVal(String, Constant) - Method in class org.vanilladb.core.query.algebra.SelectScan
 
setVal(String, Constant) - Method in class org.vanilladb.core.query.algebra.TableScan
Sets the value of the specified field, as a Constant.
setVal(String, Constant) - Method in interface org.vanilladb.core.query.algebra.UpdateScan
Modifies the field value of the current record.
setVal(String, Constant) - Method in class org.vanilladb.core.sql.storedprocedure.SpResultRecord
 
setVal(int, Constant, long, LogSeqNum) - Method in class org.vanilladb.core.storage.buffer.Buffer
Writes a value to the specified offset of this buffer's page.
setVal(Buffer, int, Constant) - Method in class org.vanilladb.core.storage.buffer.PageFormatter
 
setVal(int, Constant) - Method in class org.vanilladb.core.storage.file.Page
Writes a constant value to the specified offset on the page.
setVal(int, String, Constant) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Set the value of the specified field at the specified slot.
setVal(String, Constant) - Method in class org.vanilladb.core.storage.record.RecordFile
Sets a value of the specified field in the current record.
setVal(String, Constant) - Method in class org.vanilladb.core.storage.record.RecordPage
Stores a value at the specified field of this record.
SetValueClr - Class in org.vanilladb.core.storage.tx.recovery
 
SetValueClr(long, BlockId, int, Constant, Constant, LogSeqNum) - Constructor for class org.vanilladb.core.storage.tx.recovery.SetValueClr
 
SetValueClr(BasicLogRecord) - Constructor for class org.vanilladb.core.storage.tx.recovery.SetValueClr
 
size() - Method in class org.vanilladb.core.sql.BigIntConstant
 
size() - Method in class org.vanilladb.core.sql.Constant
Return the number of bytes required to encode this constant.
size() - Method in class org.vanilladb.core.sql.DoubleConstant
 
size() - Method in class org.vanilladb.core.sql.IntegerConstant
 
size() - Method in class org.vanilladb.core.sql.VarcharConstant
 
size(String) - Method in class org.vanilladb.core.storage.file.FileMgr
Returns the number of blocks in the specified file.
size() - Method in interface org.vanilladb.core.storage.file.io.IoChannel
 
size() - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioFileChannel
 
size() - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectIoChannel
 
size(Constant) - Static method in class org.vanilladb.core.storage.file.Page
Calculates the number of bytes required to store a constant in disk.
SIZE - Static variable in class org.vanilladb.core.storage.log.LogSeqNum
 
slotSize(Schema) - Static method in class org.vanilladb.core.storage.index.btree.BTreePage
Returns the number of bytes required to store a record in disk.
slotSize(Schema) - Static method in class org.vanilladb.core.storage.record.RecordPage
Returns the number of bytes required to store a record slot with the specified schema in disk.
sortbyselection(List<String>, List<Integer>) - Method in class org.vanilladb.core.query.algebra.materialize.TempRecordPage
Selection sort.
sortDirections() - Method in class org.vanilladb.core.query.parse.QueryData
Returns a list of sort directions to the sorting fields.
sortFields() - Method in class org.vanilladb.core.query.parse.QueryData
Returns the fields used to sort the query result.
SortPlan - Class in org.vanilladb.core.query.algebra.materialize
The Plan class for the sort operator.
SortPlan(Plan, List<String>, List<Integer>, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.SortPlan
Creates a sort plan for the specified query.
SortPlan(Plan, List<String>, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.SortPlan
 
SortScan - Class in org.vanilladb.core.query.algebra.materialize
The Scan class for the sort operator.
SortScan(List<TempTable>, RecordComparator) - Constructor for class org.vanilladb.core.query.algebra.materialize.SortScan
Creates a sort scan, given a list of 1 or 2 runs.
SpConnection - Class in org.vanilladb.core.remote.storedprocedure
 
SpConnection(RemoteConnection) - Constructor for class org.vanilladb.core.remote.storedprocedure.SpConnection
 
SpDriver - Class in org.vanilladb.core.remote.storedprocedure
 
SpDriver() - Constructor for class org.vanilladb.core.remote.storedprocedure.SpDriver
 
spFactory() - Static method in class org.vanilladb.core.server.VanillaDb
 
split(int, long[]) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Splits the page at the specified slot.
SpResultRecord - Class in org.vanilladb.core.sql.storedprocedure
 
SpResultRecord() - Constructor for class org.vanilladb.core.sql.storedprocedure.SpResultRecord
 
SpResultSet - Class in org.vanilladb.core.remote.storedprocedure
 
SpResultSet(boolean, Schema, Record...) - Constructor for class org.vanilladb.core.remote.storedprocedure.SpResultSet
 
SpStartUp - Class in org.vanilladb.core.remote.storedprocedure
 
SpStartUp() - Constructor for class org.vanilladb.core.remote.storedprocedure.SpStartUp
 
startCollecting() - Method in class org.vanilladb.core.util.Profiler
Start collecting profiling data.
startComponentProfiler(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
startExecution() - Method in class org.vanilladb.core.util.TransactionProfiler
 
startReporting(long) - Static method in class org.vanilladb.core.util.TimerStatistics
Start periodically reporting.
startUp(int) - Static method in class org.vanilladb.core.remote.jdbc.JdbcStartUp
Starts up the JDBC driver in server side by binding the remote driver object to local registry.
startUp(int) - Static method in class org.vanilladb.core.remote.storedprocedure.SpStartUp
Starts up the stored procedure call driver in server side by binding the remote driver object to local registry.
StartUp - Class in org.vanilladb.core.server
 
StartUp() - Constructor for class org.vanilladb.core.server.StartUp
 
StatementAdapter - Class in org.vanilladb.core.remote.jdbc
This class implements all of the methods of the Statement interface, by throwing an exception for each one.
StatementAdapter() - Constructor for class org.vanilladb.core.remote.jdbc.StatementAdapter
 
StatisticsRefreshTask - Class in org.vanilladb.core.storage.metadata.statistics
 
StatisticsRefreshTask(Transaction, String...) - Constructor for class org.vanilladb.core.storage.metadata.statistics.StatisticsRefreshTask
 
statMgr() - Static method in class org.vanilladb.core.server.VanillaDb
 
StatMgr - Class in org.vanilladb.core.storage.metadata.statistics
The statistics manager, which is responsible for keeping statistical information about each table.
StatMgr(Transaction) - Constructor for class org.vanilladb.core.storage.metadata.statistics.StatMgr
Creates the statistics manager.
stopCollecting() - Method in class org.vanilladb.core.util.Profiler
Stop collecting.
stopComponentProfiler(Object) - Method in class org.vanilladb.core.util.TransactionProfiler
 
stopExecution() - Method in class org.vanilladb.core.util.TransactionProfiler
 
stopProfilerAndReport() - Static method in class org.vanilladb.core.server.VanillaDb
Stop profiler and generate report file.
stopReporting() - Static method in class org.vanilladb.core.util.TimerStatistics
 
StoredProcedure<H extends StoredProcedureParamHelper> - Class in org.vanilladb.core.sql.storedprocedure
An abstract class that denotes the stored procedure supported in VanillaDb.
StoredProcedure(H) - Constructor for class org.vanilladb.core.sql.storedprocedure.StoredProcedure
 
StoredProcedureFactory - Interface in org.vanilladb.core.sql.storedprocedure
 
StoredProcedureParamHelper - Class in org.vanilladb.core.sql.storedprocedure
 
StoredProcedureParamHelper() - Constructor for class org.vanilladb.core.sql.storedprocedure.StoredProcedureParamHelper
 
sub(Constant) - Method in class org.vanilladb.core.sql.BigIntConstant
 
sub(Constant) - Method in class org.vanilladb.core.sql.Constant
Subtracts a value specified by another constant from this constant.
sub(Constant) - Method in class org.vanilladb.core.sql.DoubleConstant
 
sub(Constant) - Method in class org.vanilladb.core.sql.IntegerConstant
 
sub(Constant) - Method in class org.vanilladb.core.sql.VarcharConstant
 
SumFn - Class in org.vanilladb.core.sql.aggfn
The sum aggregation function.
SumFn(String) - Constructor for class org.vanilladb.core.sql.aggfn.SumFn
 
syncHistogram(Histogram) - Static method in class org.vanilladb.core.query.algebra.ReduceRecordsPlan
Buckets of a field may be discarded during the cost estimation if its frequency is less than 1.

T

TableInfo - Class in org.vanilladb.core.storage.metadata
The metadata about a table and its records.
TableInfo(String, Schema) - Constructor for class org.vanilladb.core.storage.metadata.TableInfo
Creates a TableInfo object, given a table name and schema.
TableMgr - Class in org.vanilladb.core.storage.metadata
The table manager.
TableMgr(boolean, Transaction) - Constructor for class org.vanilladb.core.storage.metadata.TableMgr
Creates a new catalog manager for the database system.
tableName() - Method in class org.vanilladb.core.query.parse.CreateIndexData
Returns the name of the indexed table.
tableName() - Method in class org.vanilladb.core.query.parse.CreateTableData
Returns the name of the new table.
tableName() - Method in class org.vanilladb.core.query.parse.DeleteData
Returns the name of the affected table.
tableName() - Method in class org.vanilladb.core.query.parse.DropTableData
Returns the name of the new table.
tableName() - Method in class org.vanilladb.core.query.parse.InsertData
Returns the name of the affected table.
tableName() - Method in class org.vanilladb.core.query.parse.ModifyData
Returns the name of the affected table.
tableName() - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
Returns the table name of this IndexInfo.
tableName() - Method in class org.vanilladb.core.storage.metadata.TableInfo
Returns the table name of this TableInfo
TableNotFoundException - Exception in org.vanilladb.core.storage.metadata
A runtime exception indicating that the table is not defined in the system catalog.
TableNotFoundException() - Constructor for exception org.vanilladb.core.storage.metadata.TableNotFoundException
 
TableNotFoundException(String) - Constructor for exception org.vanilladb.core.storage.metadata.TableNotFoundException
 
TablePlan - Class in org.vanilladb.core.query.algebra
The Plan class corresponding to a table.
TablePlan(String, Transaction) - Constructor for class org.vanilladb.core.query.algebra.TablePlan
Creates a leaf node in the query tree corresponding to the specified table.
tables() - Method in class org.vanilladb.core.query.parse.QueryData
Returns the tables mentioned in the from clause.
TableScan - Class in org.vanilladb.core.query.algebra
The Scan class corresponding to a table.
TableScan(TableInfo, Transaction) - Constructor for class org.vanilladb.core.query.algebra.TableScan
Creates a new table scan, and opens its corresponding record file.
TableStatInfo - Class in org.vanilladb.core.storage.metadata.statistics
Holds statistical information about a table.
takeOut() - Static method in class org.vanilladb.core.util.TransactionProfiler
 
targetFields() - Method in class org.vanilladb.core.query.parse.ModifyData
Returns the fields whose values will be modified
Task - Class in org.vanilladb.core.server.task
 
Task() - Constructor for class org.vanilladb.core.server.task.Task
 
TaskMgr - Class in org.vanilladb.core.server.task
The task manager of VanillaCore.
TaskMgr() - Constructor for class org.vanilladb.core.server.task.TaskMgr
 
taskMgr() - Static method in class org.vanilladb.core.server.VanillaDb
 
TCAT - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
Name of the table catalog.
TCAT_TBLNAME - Static variable in class org.vanilladb.core.storage.metadata.TableMgr
A field name of the table catalog.
TempRecordPage - Class in org.vanilladb.core.query.algebra.materialize
 
TempRecordPage(BlockId, TableInfo, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.TempRecordPage
 
TempTable - Class in org.vanilladb.core.query.algebra.materialize
A class that creates temporary tables.
TempTable(Schema, Transaction) - Constructor for class org.vanilladb.core.query.algebra.materialize.TempTable
Allocates a name for for a new temporary table having the specified schema.
Term - Class in org.vanilladb.core.sql.predicate
A comparison between two expressions.
Term(Expression, Term.Operator, Expression) - Constructor for class org.vanilladb.core.sql.predicate.Term
 
Term.Operator - Class in org.vanilladb.core.sql.predicate
 
THREAD_POOL_SIZE - Static variable in class org.vanilladb.core.server.task.TaskMgr
 
ThreadMXBean - Class in org.vanilladb.core.util
 
ThreadMXBean() - Constructor for class org.vanilladb.core.util.ThreadMXBean
 
TimerStatistics - Class in org.vanilladb.core.util
 
TimerStatistics() - Constructor for class org.vanilladb.core.util.TimerStatistics
 
TMP_FILE_NAME_PREFIX - Static variable in class org.vanilladb.core.storage.file.FileMgr
 
toBytes(int) - Static method in class org.vanilladb.core.util.ByteHelper
 
toBytes(long) - Static method in class org.vanilladb.core.util.ByteHelper
 
toBytes(double) - Static method in class org.vanilladb.core.util.ByteHelper
 
toConstants() - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
toDouble(byte[]) - Static method in class org.vanilladb.core.util.ByteHelper
 
toInteger() - Method in enum org.vanilladb.core.storage.index.IndexType
 
toInteger(byte[]) - Static method in class org.vanilladb.core.util.ByteHelper
 
toLong(byte[]) - Static method in class org.vanilladb.core.util.ByteHelper
 
toString() - Method in class org.vanilladb.core.query.algebra.index.IndexJoinPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.index.IndexSelectPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.materialize.GroupByPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.materialize.MaterializePlan
 
toString() - Method in class org.vanilladb.core.query.algebra.materialize.MergeJoinPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.materialize.SortPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.multibuffer.HashJoinPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.multibuffer.MultiBufferProductPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.ProductPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.ProjectPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.SelectPlan
 
toString() - Method in class org.vanilladb.core.query.algebra.TablePlan
 
toString() - Method in class org.vanilladb.core.query.parse.QueryData
 
toString() - Method in class org.vanilladb.core.sql.BigIntConstant
 
toString() - Method in class org.vanilladb.core.sql.BigIntType
 
toString() - Method in class org.vanilladb.core.sql.ConstantRange
 
toString() - Method in class org.vanilladb.core.sql.DoubleConstant
 
toString() - Method in class org.vanilladb.core.sql.DoubleType
 
toString() - Method in class org.vanilladb.core.sql.IntegerConstant
 
toString() - Method in class org.vanilladb.core.sql.IntegerType
 
toString() - Method in class org.vanilladb.core.sql.predicate.BinaryArithmeticExpression
 
toString() - Method in class org.vanilladb.core.sql.predicate.ConstantExpression
Return constant value as a string.
toString() - Method in class org.vanilladb.core.sql.predicate.FieldNameExpression
 
toString() - Method in class org.vanilladb.core.sql.predicate.Predicate
 
toString() - Method in class org.vanilladb.core.sql.predicate.Term
 
toString() - Method in class org.vanilladb.core.sql.Schema
 
toString() - Method in class org.vanilladb.core.sql.storedprocedure.SpResultRecord
 
toString() - Method in class org.vanilladb.core.sql.VarcharConstant
 
toString() - Method in class org.vanilladb.core.sql.VarcharType
 
toString() - Method in class org.vanilladb.core.storage.file.BlockId
 
toString() - Method in class org.vanilladb.core.storage.index.btree.BTreePage
 
toString() - Method in class org.vanilladb.core.storage.index.SearchKey
 
toString() - Method in class org.vanilladb.core.storage.index.SearchKeyType
 
toString() - Method in class org.vanilladb.core.storage.index.SearchRange
 
toString() - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
toString() - Method in class org.vanilladb.core.storage.metadata.index.IndexInfo
 
toString() - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
 
toString(int) - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
 
toString() - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
 
toString(int) - Method in class org.vanilladb.core.storage.metadata.statistics.Histogram
 
toString() - Method in class org.vanilladb.core.storage.metadata.statistics.Percentiles
 
toString(int) - Method in class org.vanilladb.core.storage.metadata.statistics.Percentiles
 
toString() - Method in class org.vanilladb.core.storage.record.RecordId
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
toString() - Method in class org.vanilladb.core.storage.tx.recovery.SetValueClr
 
toString() - Method in class org.vanilladb.core.util.TransactionProfiler
 
Transaction - Class in org.vanilladb.core.storage.tx
Provides transaction management for clients, ensuring that all transactions are recoverable, and in general satisfy the ACID properties with specified isolation level.
Transaction(TransactionMgr, TransactionLifecycleListener, TransactionLifecycleListener, TransactionLifecycleListener, boolean, long) - Constructor for class org.vanilladb.core.storage.tx.Transaction
Creates a new transaction and associates it with a recovery manager, a concurrency manager, and a buffer manager.
TransactionLifecycleListener - Interface in org.vanilladb.core.storage.tx
 
TransactionMgr - Class in org.vanilladb.core.storage.tx
The publicly-accessible transaction manager in VanillaDb.
TransactionMgr() - Constructor for class org.vanilladb.core.storage.tx.TransactionMgr
 
TransactionProfiler - Class in org.vanilladb.core.util
 
TransactionProfiler(TransactionProfiler) - Constructor for class org.vanilladb.core.util.TransactionProfiler
 
transferRecords(int, BTreePage, int, int) - Method in class org.vanilladb.core.storage.index.btree.BTreePage
Transfers num records starting from the start-th records of the current page to the destStart-th slot of the dest page.
tx - Variable in class org.vanilladb.core.storage.index.Index
 
txMgr() - Static method in class org.vanilladb.core.server.VanillaDb
 
txNum - Variable in class org.vanilladb.core.storage.tx.concurrency.ConcurrencyMgr
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
txNumber() - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Returns the transaction id stored with the log record.
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
txNumber() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
type(String) - Method in class org.vanilladb.core.sql.Schema
Returns the type of the specified field.
Type - Class in org.vanilladb.core.sql
An abstract class that denotes a supported SQL type.
Type() - Constructor for class org.vanilladb.core.sql.Type
 

U

undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteClr
Does nothing, because compensation log record is redo-Only
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertClr
Does nothing, because compensation log record is redo-Only
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
Does nothing, because a Logical Abort record contains no undo information.
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
Appends a Logical Abort Record to indicate the logical operation has be aborted
undo(Transaction) - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Undoes the operation encoded by this log record.
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
undo(Transaction) - Method in class org.vanilladb.core.storage.tx.recovery.SetValueClr
Does nothing, because compensation log record is redo-Only
union(ConstantRange) - Method in class org.vanilladb.core.sql.ConstantRange
 
union(ConstantRange) - Method in class org.vanilladb.core.sql.DoubleConstantRange
 
union(ConstantRange) - Method in class org.vanilladb.core.sql.VarcharConstantRange
 
unlockFlushing() - Method in class org.vanilladb.core.storage.buffer.Buffer
Unlock the flushing mechanism to make a buffer be able to be flushed by other thread.
unpin(Buffer) - Method in class org.vanilladb.core.storage.buffer.BufferMgr
Unpins the specified buffer.
unwrap(Class<T>) - Method in class org.vanilladb.core.remote.jdbc.ConnectionAdapter
 
unwrap(Class<T>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
unwrap(Class<T>) - Method in class org.vanilladb.core.remote.jdbc.ResultSetMetaDataAdapter
 
unwrap(Class<T>) - Method in class org.vanilladb.core.remote.jdbc.StatementAdapter
 
updateArray(int, Array) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateArray(String, Array) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateAsciiStream(int, InputStream) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateAsciiStream(String, InputStream) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateAsciiStream(int, InputStream, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateAsciiStream(String, InputStream, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateAsciiStream(int, InputStream, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateAsciiStream(String, InputStream, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBigDecimal(int, BigDecimal) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBigDecimal(String, BigDecimal) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBinaryStream(int, InputStream) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBinaryStream(String, InputStream) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBinaryStream(int, InputStream, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBinaryStream(String, InputStream, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBinaryStream(int, InputStream, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBinaryStream(String, InputStream, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBlob(int, Blob) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBlob(String, Blob) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBlob(int, InputStream) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBlob(String, InputStream) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBlob(int, InputStream, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBlob(String, InputStream, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBoolean(int, boolean) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBoolean(String, boolean) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateByte(int, byte) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateByte(String, byte) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBytes(int, byte[]) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateBytes(String, byte[]) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCharacterStream(int, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCharacterStream(String, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCharacterStream(int, Reader, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCharacterStream(String, Reader, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCharacterStream(int, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCharacterStream(String, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateClob(int, Clob) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateClob(String, Clob) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateClob(int, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateClob(String, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateClob(int, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateClob(String, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateCommand() - Method in class org.vanilladb.core.query.parse.Parser
 
updateDate(int, Date) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateDate(String, Date) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateDouble(int, double) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateDouble(String, double) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateFloat(int, float) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateFloat(String, float) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateInt(int, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateInt(String, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateLong(int, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateLong(String, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNCharacterStream(int, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNCharacterStream(String, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNCharacterStream(int, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNCharacterStream(String, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNClob(int, NClob) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNClob(String, NClob) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNClob(int, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNClob(String, Reader) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNClob(int, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNClob(String, Reader, long) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNString(int, String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNString(String, String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNull(int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateNull(String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateObject(int, Object) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateObject(String, Object) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateObject(int, Object, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateObject(String, Object, int) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
UpdatePlanner - Interface in org.vanilladb.core.query.planner
The interface implemented by the planners for SQL insert, delete, and modify statements.
updateRef(int, Ref) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateRef(String, Ref) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateRow() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateRowId(int, RowId) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateRowId(String, RowId) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
UpdateScan - Interface in org.vanilladb.core.query.algebra
The interface implemented by all updatable scans.
updateShort(int, short) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateShort(String, short) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateSQLXML(int, SQLXML) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateSQLXML(String, SQLXML) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateString(int, String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateString(String, String) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateTime(int, Time) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateTime(String, Time) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateTimestamp(int, Timestamp) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
updateTimestamp(String, Timestamp) - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 

V

vals() - Method in class org.vanilladb.core.query.parse.InsertData
Returns a list of values for the specified fields.
value() - Method in class org.vanilladb.core.sql.aggfn.AggregationFn
Returns the computed aggregation value given the records processed previously.
value() - Method in class org.vanilladb.core.sql.aggfn.AvgFn
 
value() - Method in class org.vanilladb.core.sql.aggfn.CountFn
 
value() - Method in class org.vanilladb.core.sql.aggfn.DistinctCountFn
 
value() - Method in class org.vanilladb.core.sql.aggfn.MaxFn
 
value() - Method in class org.vanilladb.core.sql.aggfn.MinFn
 
value() - Method in class org.vanilladb.core.sql.aggfn.SumFn
 
valueOf(String) - Static method in enum org.vanilladb.core.storage.index.btree.BTreeIndex.SearchPurpose
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.vanilladb.core.storage.index.IndexType
Returns the enum constant of this type with the specified name.
valuePercentiles() - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
 
valueRange() - Method in class org.vanilladb.core.storage.metadata.statistics.Bucket
 
values() - Static method in enum org.vanilladb.core.storage.index.btree.BTreeIndex.SearchPurpose
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.vanilladb.core.storage.index.IndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.vanilladb.core.storage.metadata.statistics.Percentiles
 
VanillaDb - Class in org.vanilladb.core.server
The class that provides system-wide static global values.
VanillaDb() - Constructor for class org.vanilladb.core.server.VanillaDb
 
VARCHAR - Static variable in class org.vanilladb.core.sql.Type
 
VARCHAR(int) - Static method in class org.vanilladb.core.sql.Type
 
VarcharConstant - Class in org.vanilladb.core.sql
The class that wraps Java strings as database constants.
VarcharConstant(String) - Constructor for class org.vanilladb.core.sql.VarcharConstant
Create a constant by wrapping the specified string.
VarcharConstant(byte[], Type) - Constructor for class org.vanilladb.core.sql.VarcharConstant
 
VarcharConstant(String, Type) - Constructor for class org.vanilladb.core.sql.VarcharConstant
 
VarcharConstantRange - Class in org.vanilladb.core.sql
 
VarcharConstantRange(String, boolean, String, boolean) - Constructor for class org.vanilladb.core.sql.VarcharConstantRange
Constructs a new instance.
VarcharType - Class in org.vanilladb.core.sql
 
Verifier - Class in org.vanilladb.core.query.planner
The verifier which examines the semantic of input query and update statements.
Verifier() - Constructor for class org.vanilladb.core.query.planner.Verifier
 
verifyCreateIndexData(CreateIndexData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyCreateTableData(CreateTableData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyCreateViewData(CreateViewData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyDeleteData(DeleteData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyDropIndexData(DropIndexData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyDropTableData(DropTableData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyDropViewData(DropViewData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyInsertData(InsertData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyModifyData(ModifyData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
verifyQueryData(QueryData, Transaction) - Static method in class org.vanilladb.core.query.planner.Verifier
 
viewDef() - Method in class org.vanilladb.core.query.parse.CreateViewData
Returns the definition of the new view.
viewDefData() - Method in class org.vanilladb.core.query.parse.CreateViewData
Returns the query data of the view definition.
viewName() - Method in class org.vanilladb.core.query.parse.CreateViewData
Returns the name of the new view.
viewName() - Method in class org.vanilladb.core.query.parse.DropViewData
Returns the name of the new view.

W

waitingThreads - Static variable in class org.vanilladb.core.storage.buffer.BufferMgr
 
wasNull() - Method in class org.vanilladb.core.remote.jdbc.ResultSetAdapter
 
write(IoBuffer, long) - Method in interface org.vanilladb.core.storage.file.io.IoChannel
 
write(IoBuffer, long) - Method in class org.vanilladb.core.storage.file.io.javanio.JavaNioFileChannel
 
write(IoBuffer, long) - Method in class org.vanilladb.core.storage.file.io.jaydio.JaydioDirectIoChannel
 
write(BlockId) - Method in class org.vanilladb.core.storage.file.Page
Writes the contents of the page to the specified disk block.
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.IndexDeleteEndRecord
 
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.IndexInsertEndRecord
 
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageDeleteRecord
 
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.IndexPageInsertRecord
 
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalAbortRecord
 
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.LogicalStartRecord
 
writeToLog() - Method in interface org.vanilladb.core.storage.tx.recovery.LogRecord
Writes the record to the log and returns its LSN.
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileDeleteEndRecord
 
writeToLog() - Method in class org.vanilladb.core.storage.tx.recovery.RecordFileInsertEndRecord
 
writeToPage(Page, int) - Method in class org.vanilladb.core.storage.log.LogSeqNum
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2022 VanillaDB Organization. All rights reserved.