Stardog Java API Question -> MetaProperties MetaProperty accessor functions

0 views
Skip to first unread message

Harry Hull

unread,
Apr 16, 2014, 1:05:08 PM4/16/14
to sta...@clarkparsia.com
Hey, I am new to Stardog and I have a question about the Java API.

I am trying to find an easy way to access all of the database config properties.

The MetaProperty accessor functions in com.complexible.stardog.metadata.MetaProperties do not seem to output Index options, only Database options. For example, MetaProperties.allProperties() does not return any MetaProperty's of type IndexOptions (Eg: "index.type"). MetaProperties.indexProperties() does not return "index.type" or any index.* properties either.


Evren Sirin

unread,
Apr 16, 2014, 2:56:20 PM4/16/14
to Stardog
Meta properties are loaded lazily as needed. On the client side,
MetaProperties is not initialized automatically as the client code
typically just needs to use constants declared in one class. One trick
would be to start an embedded server in your program that will cause
all the properties to be loaded.

Best,
Evren
> --
> -- --
> You received this message because you are subscribed to the C&P "Stardog"
> group.
> To post to this group, send email to sta...@clarkparsia.com
> To unsubscribe from this group, send email to
> stardog+u...@clarkparsia.com
> For more options, visit this group at
> http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Reply all
Reply to author
Forward
0 new messages