Enum ShaclSail.TransactionSettings.ValidationApproach

    • Enum Constant Detail

      • Bulk

        public static final ShaclSail.TransactionSettings.ValidationApproach 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

        public static final ShaclSail.TransactionSettings.ValidationApproach 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.
    • Field Detail

      • value

        private final java.lang.String value
      • priority

        private final int priority
    • Constructor Detail

      • ValidationApproach

        private ValidationApproach​(java.lang.String value,
                                   int priority)
    • Method Detail

      • values

        public static ShaclSail.TransactionSettings.ValidationApproach[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ShaclSail.TransactionSettings.ValidationApproach c : ShaclSail.TransactionSettings.ValidationApproach.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ShaclSail.TransactionSettings.ValidationApproach valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getName

        public java.lang.String 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 interface TransactionSetting
        Returns:
        the name of this setting, typically its canonical class name
      • getValue

        public java.lang.String getValue()
        Description copied from interface: TransactionSetting
        The value for this transaction setting.
        Specified by:
        getValue in interface TransactionSetting
        Returns:
        a string representation of the value