Package: SesameOntoDriverProperties
SesameOntoDriverProperties
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SesameOntoDriverProperties() |
|
|
|
|
|
Coverage
1: /**
2: * Copyright (C) 2016 Czech Technical University in Prague
3: *
4: * This program is free software: you can redistribute it and/or modify it under
5: * the terms of the GNU General Public License as published by the Free Software
6: * Foundation, either version 3 of the License, or (at your option) any
7: * later version.
8: *
9: * This program is distributed in the hope that it will be useful, but WITHOUT
10: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12: * details. You should have received a copy of the GNU General Public License
13: * along with this program. If not, see <http://www.gnu.org/licenses/>.
14: */
15: package cz.cvut.kbss.ontodriver.sesame.config;
16:
17: public abstract class SesameOntoDriverProperties {
18:
19: /**
20: * Specifies whether a in-memory storage should be used for local Sesame repositories.
21: * <p>
22: * When set to true, any local Sesame repositories that are created by the
23: * driver are created as only MemoryStores without any persistent backend.
24: * Repositories accessed over the Internet or already existing locally are
25: * not affected by this setting.
26: * <p>
27: * {@code Boolean} value expected, default is false.
28: */
29: public static final String SESAME_USE_VOLATILE_STORAGE = "cz.cvut.kbss.ontodriver.sesame.use-volatile-storage";
30:
31: /**
32: * Specifies whether Sesame inference (RDFS, forward chaining) should be used.
33: * <p>
34: * Note that this setting applies only to local storages (in memory or native), remote storages use their own
35: * inference settings.
36: * <p>
37: * {@code Boolean} value expected, default is false.
38: */
39: public static final String SESAME_USE_INFERENCE = "cz.cvut.kbss.ontodriver.sesame.use-inference";
40:
41: /**
42: * Specifies how many requested assertions suffice to perform load all.
43: * <p>
44: * More specifically, if the number of assertions requested by an {@link cz.cvut.kbss.ontodriver.descriptor.AxiomDescriptor}
45: * is low enough, the statements for them will be loaded by asking Sesame for statements with subject and property
46: * bound.
47: * <p>
48: * Otherwise, statements will be loaded using only subject bound and will be filtered according to the assertions.
49: * This will in most cases have better performance than loading with bound property.
50: */
51: public static final String SESAME_LOAD_ALL_THRESHOLD = "cz.cvut.kbss.ontodriver.sesame.load-all-threshold";
52:
53: private SesameOntoDriverProperties() {
54: throw new AssertionError();
55: }
56: }