01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.nativerdf.config;
07:
08: import org.openrdf.model.URI;
09: import org.openrdf.model.ValueFactory;
10: import org.openrdf.model.impl.ValueFactoryImpl;
11: import org.openrdf.sail.nativerdf.NativeStore;
12:
13: /**
14: * Defines constants for the NativeStore schema which is used by
15: * {@link NativeStoreFactory}s to initialize {@link NativeStore}s.
16: *
17: * @author Arjohn Kampman
18: */
19: public class NativeStoreSchema {
20:
21: /** The NativeStore schema namespace (<tt>http://www.openrdf.org/config/sail/native#</tt>). */
22: public static final String NAMESPACE = "http://www.openrdf.org/config/sail/native#";
23:
24: /** <tt>http://www.openrdf.org/config/sail/native#tripleIndexes</tt> */
25: public final static URI TRIPLE_INDEXES;
26:
27: /** <tt>http://www.openrdf.org/config/sail/native#forceSync</tt> */
28: public final static URI FORCE_SYNC;
29:
30: static {
31: ValueFactory factory = ValueFactoryImpl.getInstance();
32: TRIPLE_INDEXES = factory.createURI(NAMESPACE, "tripleIndexes");
33: FORCE_SYNC = factory.createURI(NAMESPACE, "forceSync");
34: }
35: }
|