Package org.eclipse.rdf4j.sail.shacl
Class PerformanceHintFactory
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.PerformanceHintFactory
-
- All Implemented Interfaces:
TransactionSettingFactory
public class PerformanceHintFactory extends Object implements TransactionSettingFactory
Factory class for producing instances ofShaclSail.TransactionSettings.PerformanceHint
from string values.- Author:
- HÃ¥vard Ottestad
-
-
Constructor Summary
Constructors Constructor Description PerformanceHintFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Name ofTransactionSetting
this factory producesOptional<TransactionSetting>
getTransactionSetting(String value)
Retrieve aTransactionSetting
with the supplied value.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:TransactionSettingFactory
Name ofTransactionSetting
this factory produces- Specified by:
getName
in interfaceTransactionSettingFactory
- Returns:
- the name of the
TransactionSetting
produced by this factory
-
getTransactionSetting
public Optional<TransactionSetting> getTransactionSetting(String value)
Description copied from interface:TransactionSettingFactory
Retrieve aTransactionSetting
with the supplied value.- Specified by:
getTransactionSetting
in interfaceTransactionSettingFactory
- Parameters:
value
- theTransactionSetting
value- Returns:
- an optional
TransactionSetting
, empty if the factory can not produce one for the given value.
-
-