Class LmdbStoreConfig
java.lang.Object
org.eclipse.rdf4j.sail.config.AbstractSailImplConfig
org.eclipse.rdf4j.sail.base.config.BaseSailConfig
org.eclipse.rdf4j.sail.lmdb.config.LmdbStoreConfig
- All Implemented Interfaces:
SailImplConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final intThe default size of aligned bulk write batches.static final intThe default namespace cache size.static final intThe default namespace id cache size.static final longstatic final intstatic final longstatic final longstatic final longThe default size of the triple database.static final intThe default value cache size.static final longThe default size of the value database.static final intThe default value id cache size. -
Constructor Summary
ConstructorsConstructorDescriptionLmdbStoreConfig(String tripleIndexes) LmdbStoreConfig(String tripleIndexes, boolean forceSync) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanlongintbooleanbooleanintintbooleanbooleanlongintbooleanintbooleanintintintlonglonglongintlonglongbooleanintvoidsetAutoGrow(boolean autoGrow) setBackgroundRawSamplingEnabled(boolean backgroundRawSamplingEnabled) setBackgroundRawSamplingMaxMillisPerCycle(long backgroundRawSamplingMaxMillisPerCycle) setBulkOperationSize(int bulkOperationSize) setForceSync(boolean forceSync) Flag indicating whether updates should be synced to disk forcefully.setInlineLiterals(boolean inlineLiterals) setNamespaceCacheSize(int namespaceCacheSize) setNamespaceIDCacheSize(int namespaceIDCacheSize) setNoReadahead(boolean noReadahead) setOptimizerSamplingEnabled(boolean optimizerSamplingEnabled) setOptimizerSamplingMaxMillis(long optimizerSamplingMaxMillis) setOptimizerSamplingMaxRows(int optimizerSamplingMaxRows) setPageCardinalityEstimator(boolean pageCardinalityEstimator) setSketchEstimatorContextBucketCount(int sketchEstimatorContextBucketCount) setSketchEstimatorContextPairSketchesEnabled(boolean sketchEstimatorContextPairSketchesEnabled) setSketchEstimatorEnabled(Boolean sketchEstimatorEnabled) setSketchEstimatorObjectBucketCount(int sketchEstimatorObjectBucketCount) setSketchEstimatorPredicateBucketCount(int sketchEstimatorPredicateBucketCount) setSketchEstimatorSubjectBucketCount(int sketchEstimatorSubjectBucketCount) setSketchEstimatorThrottleEveryN(long sketchEstimatorThrottleEveryN) setSketchEstimatorThrottleMillis(long sketchEstimatorThrottleMillis) setTripleDBSize(long tripleDBSize) setTripleIndexes(String tripleIndexes) setValueCacheSize(int valueCacheSize) setValueDBSize(long valueDBSize) setValueEvictionInterval(long valueEvictionInterval) setValueHashCacheEnabled(boolean valueHashCacheEnabled) setValueIDCacheSize(int valueIDCacheSize) Methods inherited from class BaseSailConfig
getDefaultQueryEvaluationMode, getEvaluationStrategyFactory, getEvaluationStrategyFactoryClassName, getSlowQueryLogFile, getSlowQueryLogFirstResultThresholdSeconds, getSlowQueryLogThresholdSeconds, setDefaultQueryEvaluationMode, setEvaluationStrategyFactoryClassName, setSlowQueryLogFile, setSlowQueryLogFirstResultThresholdSeconds, setSlowQueryLogThresholdSecondsModifier and TypeMethodDescriptionlonglongvoidsetDefaultQueryEvaluationMode(QueryEvaluationMode defaultQueryEvaluationMode) voidsetEvaluationStrategyFactoryClassName(String className) voidsetSlowQueryLogFile(String slowQueryLogFile) voidsetSlowQueryLogFirstResultThresholdSeconds(long slowQueryLogFirstResultThresholdSeconds) voidsetSlowQueryLogThresholdSeconds(long slowQueryLogThresholdSeconds) Methods inherited from class AbstractSailImplConfig
getConnectionTimeOut, getIterationCacheSyncThreshold, getType, setConnectionTimeOut, setIterationCacheSyncThreshold, setType, validateModifier and TypeMethodDescriptionlongGet the connection timeout (in ms).longgetType()voidsetConnectionTimeOut(long connectionTimeOut) Set the connection timeout (in ms).voidsetIterationCacheSyncThreshold(long iterationCacheSyncThreshold) voidvoidvalidate()Validates this configuration.
-
Field Details
-
TRIPLE_DB_SIZE
public static final long TRIPLE_DB_SIZEThe default size of the triple database.- See Also:
-
VALUE_DB_SIZE
public static final long VALUE_DB_SIZEThe default size of the value database.- See Also:
-
VALUE_CACHE_SIZE
public static final int VALUE_CACHE_SIZEThe default value cache size.- See Also:
-
VALUE_ID_CACHE_SIZE
public static final int VALUE_ID_CACHE_SIZEThe default value id cache size.- See Also:
-
NAMESPACE_CACHE_SIZE
public static final int NAMESPACE_CACHE_SIZEThe default namespace cache size.- See Also:
-
BULK_OPERATION_SIZE
public static final int BULK_OPERATION_SIZEThe default size of aligned bulk write batches.- See Also:
-
OPTIMIZER_SAMPLING_MAX_MILLIS
public static final long OPTIMIZER_SAMPLING_MAX_MILLIS- See Also:
-
OPTIMIZER_SAMPLING_MAX_ROWS
public static final int OPTIMIZER_SAMPLING_MAX_ROWS- See Also:
-
BACKGROUND_RAW_SAMPLING_MAX_MILLIS_PER_CYCLE
public static final long BACKGROUND_RAW_SAMPLING_MAX_MILLIS_PER_CYCLE- See Also:
-
SKETCH_ESTIMATOR_THROTTLE_EVERY_N
public static final long SKETCH_ESTIMATOR_THROTTLE_EVERY_N- See Also:
-
SKETCH_ESTIMATOR_THROTTLE_MILLIS
public static final long SKETCH_ESTIMATOR_THROTTLE_MILLIS- See Also:
-
NAMESPACE_ID_CACHE_SIZE
public static final int NAMESPACE_ID_CACHE_SIZEThe default namespace id cache size.- See Also:
-
-
Constructor Details
-
LmdbStoreConfig
public LmdbStoreConfig() -
LmdbStoreConfig
-
LmdbStoreConfig
-
-
Method Details
-
getTripleIndexes
-
setTripleIndexes
-
setTripleDBSize
-
getTripleDBSize
public long getTripleDBSize() -
setValueDBSize
-
getValueDBSize
public long getValueDBSize() -
getForceSync
public boolean getForceSync() -
getNoReadahead
public boolean getNoReadahead() -
setForceSync
Flag indicating whether updates should be synced to disk forcefully. This may have a severe impact on write performance. By default, this feature is disabled. -
setNoReadahead
-
getValueCacheSize
public int getValueCacheSize() -
setValueCacheSize
-
getValueIDCacheSize
public int getValueIDCacheSize() -
setValueIDCacheSize
-
getBulkOperationSize
public int getBulkOperationSize() -
setBulkOperationSize
-
getNamespaceCacheSize
public int getNamespaceCacheSize() -
setNamespaceCacheSize
-
getNamespaceIDCacheSize
public int getNamespaceIDCacheSize() -
setNamespaceIDCacheSize
-
getAutoGrow
public boolean getAutoGrow() -
setAutoGrow
-
getValueEvictionInterval
public long getValueEvictionInterval() -
setValueEvictionInterval
-
getPageCardinalityEstimator
public boolean getPageCardinalityEstimator() -
setPageCardinalityEstimator
-
getValueHashCacheEnabled
public boolean getValueHashCacheEnabled() -
setValueHashCacheEnabled
-
getInlineLiterals
public boolean getInlineLiterals() -
setInlineLiterals
-
getSketchEstimatorEnabled
-
setSketchEstimatorEnabled
-
getSketchEstimatorSubjectBucketCount
public int getSketchEstimatorSubjectBucketCount() -
setSketchEstimatorSubjectBucketCount
-
getSketchEstimatorPredicateBucketCount
public int getSketchEstimatorPredicateBucketCount() -
setSketchEstimatorPredicateBucketCount
public LmdbStoreConfig setSketchEstimatorPredicateBucketCount(int sketchEstimatorPredicateBucketCount) -
getSketchEstimatorObjectBucketCount
public int getSketchEstimatorObjectBucketCount() -
setSketchEstimatorObjectBucketCount
-
getSketchEstimatorContextBucketCount
public int getSketchEstimatorContextBucketCount() -
setSketchEstimatorContextBucketCount
-
getSketchEstimatorContextPairSketchesEnabled
public boolean getSketchEstimatorContextPairSketchesEnabled() -
setSketchEstimatorContextPairSketchesEnabled
public LmdbStoreConfig setSketchEstimatorContextPairSketchesEnabled(boolean sketchEstimatorContextPairSketchesEnabled) -
getSketchEstimatorThrottleEveryN
public long getSketchEstimatorThrottleEveryN() -
setSketchEstimatorThrottleEveryN
-
getSketchEstimatorThrottleMillis
public long getSketchEstimatorThrottleMillis() -
setSketchEstimatorThrottleMillis
-
getOptimizerSamplingEnabled
public boolean getOptimizerSamplingEnabled() -
setOptimizerSamplingEnabled
-
getOptimizerSamplingMaxMillis
public long getOptimizerSamplingMaxMillis() -
setOptimizerSamplingMaxMillis
-
getOptimizerSamplingMaxRows
public int getOptimizerSamplingMaxRows() -
setOptimizerSamplingMaxRows
-
getBackgroundRawSamplingEnabled
public boolean getBackgroundRawSamplingEnabled() -
setBackgroundRawSamplingEnabled
-
getBackgroundRawSamplingMaxMillisPerCycle
public long getBackgroundRawSamplingMaxMillisPerCycle() -
setBackgroundRawSamplingMaxMillisPerCycle
public LmdbStoreConfig setBackgroundRawSamplingMaxMillisPerCycle(long backgroundRawSamplingMaxMillisPerCycle) -
export
- Specified by:
exportin interfaceSailImplConfig- Overrides:
exportin classBaseSailConfig
-
parse
- Specified by:
parsein interfaceSailImplConfig- Overrides:
parsein classBaseSailConfig- Throws:
SailConfigException
-