Package org.eclipse.rdf4j.rio.helpers
Enum LargeLiteralHandling
- All Implemented Interfaces:
Serializable
,Comparable<LargeLiteralHandling>
An enumeration used to define constants used with the
BasicParserSettings.LARGE_LITERALS_HANDLING
parser
setting.- Author:
- Peter Ansell
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that statements containing large literals should be dropped, based on based on theBasicParserSettings.LARGE_LITERALS_LIMIT
setting.Indicates that large literals should be preserved.Indicates that values of large literals should be truncated, based on theBasicParserSettings.LARGE_LITERALS_LIMIT
setting. -
Method Summary
Modifier and TypeMethodDescriptionstatic LargeLiteralHandling
Returns the enum constant of this type with the specified name.static LargeLiteralHandling[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRESERVE
Indicates that large literals should be preserved. This is the default behaviour. -
DROP
Indicates that statements containing large literals should be dropped, based on based on theBasicParserSettings.LARGE_LITERALS_LIMIT
setting. -
TRUNCATE
Indicates that values of large literals should be truncated, based on theBasicParserSettings.LARGE_LITERALS_LIMIT
setting.
-
-
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
-