https://github.com/mniabedii/java-query-language
A lightweight relational database engine in Java. Using strings, regex, and custom SQL-like syntax.
https://github.com/mniabedii/java-query-language
database java jql regex string
Last synced: 3 months ago
JSON representation
A lightweight relational database engine in Java. Using strings, regex, and custom SQL-like syntax.
- Host: GitHub
- URL: https://github.com/mniabedii/java-query-language
- Owner: mniabedii
- Created: 2025-06-29T13:20:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-29T13:20:59.000Z (about 1 year ago)
- Last Synced: 2025-06-29T14:25:43.190Z (about 1 year ago)
- Topics: database, java, jql, regex, string
- Language: Java
- Homepage: https://docs.google.com/document/d/1nvFcmTm7QXj2ZNA8i2QWL9uW8Bo9h6wzLUHOAU_Wu04/edit?tab=t.0
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Query Language
This project is a **mini relational database engine** built in Java, using string processing and regex.
## Main Features
- Table creation and deletion
- Row insertion, update, and deletion
- Filtering with custom expressions (e.g., `grade > 15`)
- Support for basic data types: `int`, `str`, `dbl`, `time`
- Grouping and counting based on field combinations
- Custom field selection and arithmetic operations in queries
- Interactive command-line interface
- Graceful error handling with meaningful messages
**Example Commands**:
```plaintext
create students[id int, name str, grade dbl, approved int]
add students{id=40211343, name='mani'}
get students(grade > 15.0)
set students(id=40210000){approved=1}
del students(name='mani', grade=18.5)
```
## Full Project Specification
For the full project instructions (in Persian), please refer to the link in the _Website_ section of this repository's About panel (top-right).
##