- jdk
- maven
- mac
- brew install jdk maven
- linux
- apt-get install jdk maven
- yum install jdk maven
- windows
- hands on and good luck!
- load table and use sql to query
import data
: create data.txt like
1,10 2,20 3,30 4,40 5,50 5,50
load data:
- cd easydb-storage/
- java -jar target/easydb-storage-1.0.0_20220115.jar convert src/main/resources/data.txt 2 "int,int"
catalog:
create catalog.txt like
data (f1 int, f2 int)
start query:
java -jar target/easydb-storage-1.0.0_20220115.jar parser src/main/resources/catalog.txt