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.memory.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.memory.MemoryStore;
12:
13: /**
14: * Defines constants for the MemoryStore schema which is used by
15: * {@link MemoryStoreFactory}s to initialize {@link MemoryStore}s.
16: *
17: * @author Arjohn Kampman
18: */
19: public class MemoryStoreSchema {
20:
21: /** The MemoryStore schema namespace (<tt>http://www.openrdf.org/config/sail/memory#</tt>). */
22: public static final String NAMESPACE = "http://www.openrdf.org/config/sail/memory#";
23:
24: /** <tt>http://www.openrdf.org/config/sail/memory#persist</tt> */
25: public final static URI PERSIST;
26:
27: /** <tt>http://www.openrdf.org/config/sail/memory#syncDelay</tt> */
28: public final static URI SYNC_DELAY;
29:
30: static {
31: ValueFactory factory = ValueFactoryImpl.getInstance();
32: PERSIST = factory.createURI(NAMESPACE, "persist");
33: SYNC_DELAY = factory.createURI(NAMESPACE, "syncDelay");
34: }
35: }
|