Uses of Interface
edu.caltech.nanodb.queryeval.TupleProcessor
-
Packages that use TupleProcessor Package Description edu.caltech.nanodb.commands This package contains the classes that represent the commands that the NanoSQL database recognizes.edu.caltech.nanodb.queryeval This package contains the query-evaluation components of the database.edu.caltech.nanodb.server -
-
Uses of TupleProcessor in edu.caltech.nanodb.commands
Classes in edu.caltech.nanodb.commands that implement TupleProcessor Modifier and Type Class Description private static class
DeleteCommand.TupleRemover
An implementation of the tuple processor interface used by theDeleteCommand
to delete each tuple.protected static class
DumpCommand.TupleExporter
A tuple processor implementation used to dump each tuple.private static class
InsertCommand.TupleInserter
An implementation of the tuple processor interface used by theInsertCommand
to insert tuples into a table, when the command is of the form INSERT ...private static class
UpdateCommand.TupleUpdater
An implementation of the tuple processor interface used by theUpdateCommand
to update each tuple.Fields in edu.caltech.nanodb.commands declared as TupleProcessor Modifier and Type Field Description private TupleProcessor
SelectCommand. tupleProcessor
Methods in edu.caltech.nanodb.commands that return TupleProcessor Modifier and Type Method Description protected TupleProcessor
DeleteCommand. getTupleProcessor(EventDispatcher eventDispatcher)
protected TupleProcessor
InsertCommand. getTupleProcessor(EventDispatcher eventDispatcher)
protected abstract TupleProcessor
QueryCommand. getTupleProcessor(EventDispatcher eventDispatcher)
Creates a tuple-processor responsible for dealing with the tuples that are generated by the query command.protected TupleProcessor
SelectCommand. getTupleProcessor(EventDispatcher eventDispatcher)
protected TupleProcessor
UpdateCommand. getTupleProcessor(EventDispatcher eventDispatcher)
Methods in edu.caltech.nanodb.commands with parameters of type TupleProcessor Modifier and Type Method Description void
SelectCommand. setTupleProcessor(TupleProcessor tupleProcessor)
-
Uses of TupleProcessor in edu.caltech.nanodb.queryeval
Classes in edu.caltech.nanodb.queryeval that implement TupleProcessor Modifier and Type Class Description class
PrettyTuplePrinter
This implementation of the tuple-processor interface prints out the schema and the tuples produced by the SELECT statement in a cooler, prettier fashion.class
TuplePrinter
This implementation of the tuple-processor interface simply prints out the schema and tuples produced by the SELECT statement.Methods in edu.caltech.nanodb.queryeval with parameters of type TupleProcessor Modifier and Type Method Description static EvalStats
QueryEvaluator. executePlan(PlanNode plan, TupleProcessor processor)
Executes the specified query plan, and feeds the results to the specified tuple processor. -
Uses of TupleProcessor in edu.caltech.nanodb.server
Classes in edu.caltech.nanodb.server that implement TupleProcessor Modifier and Type Class Description private class
CommandResult.ResultCollector
This inner class is used to collect the results of aSelectCommand
.class
TupleSender
This implementation of the tuple-processor interface sends the schema and tuples produced by the SELECT statement over anObjectOutputStream
.
-