Package org.eclipse.rdf4j.sail.shacl
Enum ShaclSail.TransactionSettings.ValidationApproach
java.lang.Object
java.lang.Enum<ShaclSail.TransactionSettings.ValidationApproach>
org.eclipse.rdf4j.sail.shacl.ShaclSail.TransactionSettings.ValidationApproach
- All Implemented Interfaces:
Serializable
,Comparable<ShaclSail.TransactionSettings.ValidationApproach>
,TransactionSetting
- Enclosing class:
ShaclSail.TransactionSettings
public static enum ShaclSail.TransactionSettings.ValidationApproach
extends Enum<ShaclSail.TransactionSettings.ValidationApproach>
implements TransactionSetting
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHighestPriority
(ShaclSail.TransactionSettings.ValidationApproach v1, ShaclSail.TransactionSettings.ValidationApproach v2) getName()
The globally unique transaction settings name.getValue()
The value for this transaction setting.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Disabled
Do not run any validation. This could potentially lead to your database becoming invalid. -
Bulk
Use a validation approach that is optimized for bulk operations such as adding or removing large amounts of data. This will automatically disable parallel validation and turn off caching. Add performance hints to enable parallel validation or caching if you have enough resources (RAM). -
Auto
Let the SHACL engine decide on the best approach for validating. This typically means that it will use transactional validation except when changing the SHACL Shape.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Description copied from interface:TransactionSetting
The globally unique transaction settings name. Warning: do not use double underscore (__) in the name.- Specified by:
getName
in interfaceTransactionSetting
- Returns:
- the name of this setting, typically its canonical class name
-
getValue
Description copied from interface:TransactionSetting
The value for this transaction setting.- Specified by:
getValue
in interfaceTransactionSetting
- Returns:
- a string representation of the value
-
getHighestPriority
public static ShaclSail.TransactionSettings.ValidationApproach getHighestPriority(ShaclSail.TransactionSettings.ValidationApproach v1, ShaclSail.TransactionSettings.ValidationApproach v2)
-