Skip to content

Example code and queries for an object model of a simple filesystem

Notifications You must be signed in to change notification settings

typedb/filesystem-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filesystem example code and queries

This repository contains the code and queries featured in the following articles in the TypeDB Fundamentals series and accompanying lectures:

The material is illustrative only and not intended to be run as a complete application. It contains the following sections:

  • Java object model: Lightweight application code for a simple DAC filesystem. It includes a number of class and interface definitions, and features some query-like operations that can be performed on the model.
  • PostgreSQL implementation: A relational implementation of the Java object model, comprising the schema, data, and queries necessary to directly replicate the functionalities of the object model.
  • MongoDB implementation: A document implementation of the Java object model, comprising the data and queries necessary to directly replicate the functionalities of the object model.
  • Neo4j implementation: A graph implementation of the Java object model, comprising the data and queries necessary to directly replicate the functionalities of the object model.
  • TypeDB implementation: A polymorphic implementation of an extended version of the Java object model, comprising a schema, data, and queries. The schema includes the necessary types required to run the same queries as the other database implementations, though the actual data and query results differ. For those following along with the examples in TypeDB: the Polymorphic Database, incremental versions of the schema and data are included, alongside the individual queries featured.

About

Example code and queries for an object model of a simple filesystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published