public class SequentialScanOperator extends QueryOperator
QueryOperator.OperatorType
Constructor and Description |
---|
SequentialScanOperator(Database.Transaction transaction,
String tableName)
Creates a new SequentialScanOperator that provides an iterator on all tuples in a table.
|
Modifier and Type | Method and Description |
---|---|
Schema |
computeSchema() |
Iterator<Record> |
execute() |
checkColumnNameEquality, checkSchemaForColumn, getDestination, getOutputSchema, getSource, getType, isGroupBy, isIndexScan, isJoin, isSelect, isSequentialScan, isWhere, setDestination, setOutputSchema, setSource
public SequentialScanOperator(Database.Transaction transaction, String tableName) throws QueryPlanException, DatabaseException
transaction
- tableName
- QueryPlanException
DatabaseException
public Iterator<Record> execute() throws DatabaseException
execute
in class QueryOperator
DatabaseException
public Schema computeSchema() throws QueryPlanException
computeSchema
in class QueryOperator
QueryPlanException
Copyright © 2017. All rights reserved.