(Field, IntField, StringField and Type is already implemented.)
- a class that initializes static variables used by the database system.
- There is nothing you need to implement here.
- a class that maintains information about the contents of a tuple.
- Tuple is a collection of
Fieldobjects.
TupleDescdescribes the schema of a tuple.TupleDescconsists of a collection ofTypeobjects
- src/java/minibase/TupleDesc.java
- src/java/minibase/Tuple.java
If successfully implemented TupleTest and TupleDescTest unit tests should be passed.
$ ant runtest -Dtest=TupleTest
$ ant runtest -Dtest=TupleDescTest- a class that keeps track of all available tables in the database and their associated schemas.
- need to support the ability to add a new table + get information about a particular talble.
- src/java/minibase/Catalog.java
If successfully implemented CatalogTest unit tests should be passed
$ ant runtest -Dtest=CatalogTestRecommeneded Implementation order
- TupledDesc.java
- Tuple.java
- Catalog.java
Fill out methods where TODO is marked. (You don't need to implement iterator right now).
Search java methods if you need. For example in Tuple.java we manage fieldVal using data structure List there are in-built methods you can use. reference
- Submit on icampus after making tarball
$ ant hadin.
.
.
Good Luck!