Giter Club home page Giter Club logo

Comments (4)

hg-ms avatar hg-ms commented on June 15, 2024 1

You’re right, the note on lazy loading is quite short. The docu should be improved.

from store.

hg-ms avatar hg-ms commented on June 15, 2024

Hello,

EclipseStore works differently to the most well-known databases.
When working with EclipseStore you’re working with one large java object-graph in memory instead of entities fetched from a DB, this graph is also the source of truth. Working with that object graph is just plain java independent of EclipseStore. EclipseStore is just used for persistence, not querying data. Loading data only happens at startup or if a Lazy-Reference loads data.
As the data is organized in a java object graph, querying data can be done with plain java API like java collections or e.g. Java Stream API.

from store.

ppazos avatar ppazos commented on June 15, 2024

Hi @hg-ms thanks for the explanation.

I'm referring to this page in the documentation (https://docs.eclipsestore.io/manual/storage/queries.html), that has one little example that is also used in the MS/ES presentation I saw in YouTube. What I would like to see and learn is a more complete documentation around that subject and more examples on querying (with the stream API or with Groovy finders for instance since I use Groovy mainly) and over complex objects.

The doc also says "Of course you must care about lazy loading if you use that feature." but not sure what that means. Again, a little example there in the docs could be of great help.

Thank you.

from store.

ppazos avatar ppazos commented on June 15, 2024

@hg-ms yes, I would like to see more examples and in more complex models about querying using streams and hopefully Groovy closures via find/findAll *, and have more info about the caveats of lazy loading for querying.

from store.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.