Comments (2)
There is an extension method XdEntityType.findById
. You can wrap result into XdQuery
and intersect it with result of query by other properties.
At the moment such NodeBase is not implemented on the database level because there is a direct method to get Entity
based on id.
I currently store xdId in a property of type String, but that inefficient.
I don't get your point. Could you please elaborate.
from xodus-dnq.
@lehvolk Thanks, I'll have a look at findById
.
I meant that I currently have a property called id
which stores the value of xdId
and which I currently use in NodeBase queries. But I added id
before xdId
was there and duplicating xdId
is inefficient.
from xodus-dnq.
Related Issues (20)
- Dependencies not released HOT 3
- Conditionally required properties are not checked when they are not changed but their condition becomes true
- TransientChangesTrackerImpl#linksRemoved marks entity as modified even if there were actually no links removed
- Implement equals/hashCode for TransientEntityChange HOT 1
- Missing methods: XdQuery<T>.last(), XdQuery<T>.lastOrNull()
- Error when using XdEnumEntityType HOT 3
- TransientSession looses cancelling policy on upgrading initial read-only txn
- Cache entity wrappers inside XdModel.toXd() HOT 1
- One have to manually close Environment on closing TransientEntityStore
- Concurrent access to TransientEntityStoreImpl#listeners
- Make it possible to disable async listeners per enviroment
- Migration / versions of data definitions HOT 2
- DSL support for EntityIterable.findContaining(...)
- GraalVM/Spring Native Compatibility HOT 2
- UUID type support HOT 1
- xodus-dnq is incompatible with newer Java versions (tested on Java 16) HOT 2
- Make SingletonEntitiesCache store container aware
- Sample program fails with "java.lang.reflect.InaccessibleObjectException"
- java.lang.ClassCastException: class kotlinx.dnq.util.FakeEntity cannot be cast to class jetbrains.exodus.database.TransientEntity HOT 1
- Design of the storage engine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xodus-dnq.