quarks
quarks

Reputation: 35326

How to get property types of a given Entity type in Xodus?

Is there a way for Xodus API to check the type of property? Xodus have a method txn.getEntityTypes(); but I have not found a way to get the property types of a given Entity Type, is that possible?

Upvotes: 0

Views: 53

Answers (1)

Vyacheslav Lukianov
Vyacheslav Lukianov

Reputation: 2053

There is no way to get property types of a given entity type. In case if all entities of the given entity type have the same set of properties, one can take an entity of given entity type and use method “entity.getPropertyNames()”.

Upvotes: 1

Related Questions