|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.clarkparsia.stardog.index.IndexOptions
public final class IndexOptions
Set of options for configuring the low-level indexes.
| Nested Class Summary | |
|---|---|
static class |
IndexOptions.IndexType
Types of indexes. |
| Field Summary | |
|---|---|
static ConfigProperty<Boolean> |
AUTO_STATS_UPDATE
Option to turn on automatic statistics updates. |
static InfoProperty<PrintStream> |
BULK_LOADER_OUTPUT
Internal use only |
static ConfigProperty<Boolean> |
CANONICAL_LITERALS
Specify that non-string typed literals are canonicalized in the database. |
static ConfigProperty<Integer> |
DIFF_INDEX_MAX_LIMIT
The limit for the size of the differential index. |
static ConfigProperty<Integer> |
DIFF_INDEX_MIN_LIMIT
The limit for the size of the base index when differential indexes will be used. |
static InfoProperty<Integer> |
DIFF_INDEX_SIZE
Current size of the differential index. |
static ConfigProperty<File> |
HOME
Intended for internal system use only, not for users. |
static ConfigProperty<Boolean> |
INDEX_NAMED_GRAPHS
Option to specify whether or not extra indexes will be maintained for named graphs. |
static InfoProperty<com.clarkparsia.stardog.index.IndexStrategy> |
INDEX_STRATEGY
Intended for internal system use only, not for users. |
static ConfigProperty<IndexOptions.IndexType> |
INDEX_TYPE
Type of the index. |
static ConfigProperty<Boolean> |
PERSIST
Option to determine if the contents of the memory database will be persisted on disk. |
static InfoProperty<Long> |
SIZE
Current size of the database. |
static InfoProperty<Long> |
STATS_UPDATE_COUNT
Internal use only. |
static InfoProperty<Long> |
STATS_UPDATE_DB_MIN_SIZE
|
static ConfigProperty<Boolean> |
SYNC
Persistence type for a memory database, Setting this option to true indicates the db should be
persisted within the commit. |
| Method Summary | |
|---|---|
static File |
home(Metadata theOptions)
Return the value of the home directory option |
static boolean |
isDisk(Metadata theOptions)
|
static boolean |
isMemory(Metadata theOptions)
|
static boolean |
isPersist(Metadata theOptions)
Return whehter or not the PERSIST option is set |
static boolean |
isSync(Metadata theOptions)
|
static Metadata |
memory()
|
static Metadata |
memory(String theName)
|
static Metadata |
memoryDefaults()
|
static Metadata |
memoryPersistable(String theName,
boolean theSync,
File theHome)
|
static String |
name(Metadata theOptions)
Return the value of the name option |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ConfigProperty<File> HOME
public static final InfoProperty<Long> SIZE
public static final ConfigProperty<Boolean> PERSIST
public static final ConfigProperty<Boolean> SYNC
true indicates the db should be
persisted within the commit. Otherwise, the persist will happen asynchronously after the commit is complete. This
flag has no effect against disk indexes.
public static final ConfigProperty<IndexOptions.IndexType> INDEX_TYPE
public static final ConfigProperty<Boolean> CANONICAL_LITERALS
public static final ConfigProperty<Boolean> INDEX_NAMED_GRAPHS
public static final InfoProperty<com.clarkparsia.stardog.index.IndexStrategy> INDEX_STRATEGY
public static final InfoProperty<Integer> DIFF_INDEX_SIZE
DIFF_INDEX_MAX_LIMIT. There is no benefit of differential indexes if
the main index itself is too small. For this reason, the differential index is not used until the main index
size reaches DIFF_INDEX_MAX_LIMIT.
public static final ConfigProperty<Integer> DIFF_INDEX_MIN_LIMIT
DIFF_INDEX_SIZEpublic static final ConfigProperty<Integer> DIFF_INDEX_MAX_LIMIT
DIFF_INDEX_SIZEpublic static final InfoProperty<PrintStream> BULK_LOADER_OUTPUT
public static final InfoProperty<Long> STATS_UPDATE_COUNT
public static final InfoProperty<Long> STATS_UPDATE_DB_MIN_SIZE
public static final ConfigProperty<Boolean> AUTO_STATS_UPDATE
true, Stardog will decide
when to update statistics as the database is modified through additions and removals and update statistics is
needed. If this option is set to false, Stardog will never update the statistics regardless of how
much the database is updated.
| Method Detail |
|---|
public static boolean isSync(Metadata theOptions)
public static boolean isMemory(Metadata theOptions)
public static boolean isDisk(Metadata theOptions)
public static Metadata memoryDefaults()
public static Metadata memory()
public static Metadata memory(String theName)
public static Metadata memoryPersistable(String theName,
boolean theSync,
File theHome)
public static boolean isPersist(Metadata theOptions)
PERSIST option is set
theOptions - the options
public static File home(Metadata theOptions)
theOptions - the options
public static String name(Metadata theOptions)
theOptions - the options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||