Please follow all instructions and requirements in the pdf file, using java language
This programming assignment focuses on implementing two relational operators (selection and
aggregation). You first need to run Eclipse on your machine and import the “hdb query” project
(see Appendix A). This assignment requires the “hdb data” project that you worked on in the
past. You should be able to do this assignment as long as Tuple(RelationSchema, Object…)
in Tuple.java and attributeIndex(String) and attributeType(int) in RelatonSchema.java
are correctly implemented (other parts in “hdb data” are unlikely to affect this project). Please
generate a Javadoc API document and then take a look at the document as well as the source
code to familiarize yourself with this assignment. For this assignment, we have provided you
with a set of classes (in particular, see ProjectionOperator which will help you understand how
a relational operator can be implemented as well as TupleArrayReader, SelectionOperator,
AggregageOperator, and Aggregator that you need to complete by adding more code). Your
code will be graded by running a set of unit tests and then examining your code. Passing unit tests
does not necessarily guarantee that your implementation is correct and efficient. Please strive to
write correct and efficient code. If you have questions, please contact the TA(s) or the instructor.
The remainder of this document describes the components that you need to implement.


0 comments