I think I've built a fully functional database in Java. The last step is a parser for my SQL language only.