naren-jha / InMemoryDbApp

Implementation of an in-memory SQL-like database which can be used by multiple services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InMemoryDbApp

Problem Statement

The objective is to design and implement an in-memory SQL-like database, which should support the following set of operations / functionality:

  • It should be possible to create or delete tables in a database. : deletion is optional
  • A table definition comprises columns which have types. They can also have constraints
  • The supported column types are string and int.
  • The string type can have a maximum length of 20 characters.
  • The int type can have a minimum value of -1024 and a maximum value of 1024.
  • User can also define constraints on data type on top of the system constraints
  • Support for mandatory fields (tagging a column as required)
  • It should be possible to insert records in a table.
  • It should be possible to print all records in a table.
  • It should be possible to filter and display records whose column values match a given value. - optional

About

Implementation of an in-memory SQL-like database which can be used by multiple services


Languages

Language:Java 100.0%