brunocalou / naivedb Goto Github PK
View Code? Open in Web Editor NEW[College Project] Database project to the Database Construction class at UFRJ
[College Project] Database project to the Database Construction class at UFRJ
Antes de partir pra implementação do Join usando merge ou hash, acredito que seria útil criar uma estrutura para representar os Joins.
Acredito que o Join deva ser um Vector de Vector de posições de registros, por exemplo,
considerando as tabelas Person e Worked da seguinte forma:
Person
id | name
9 | Jhoe (position 111)
10 | Marta (position 222)
Worked
id_company | id_person
77 | 9 (position 555)
35 | 10 (position 666)
44 | 10 (position 777)
nesse caso, o resultado do (inner) Join seria o seguinte: [ [111,555], [222,666], [222,777] ]
pois assim não alocaremos muita memória e conseguimos montar as linhas em tempo constante. E também é expansível para joins encadeados.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.