Enum FNFunction
- All Implemented Interfaces:
Serializable
,Comparable<FNFunction>
Some functions that are declared as built-in in the SPARQL 1.1 specification are also identifiable as URI functions
in the fn: namespace. RDF4J immediately converts them into the URI representation when parsing. This leads to
failures, however, with some triple stores (like Blazegraph) that do not understand the URI representation of
built-ins and try to process them as custom URI functions.
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional
<FNFunction> static Optional
<FNFunction> static Optional
<FNFunction> getName()
getUri()
static FNFunction
Returns the enum constant of this type with the specified name.static FNFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONCAT
-
CONTAINS
-
DAY
-
ENCODE_FOR_URI
-
STRENDS
-
HOURS
-
LCASE
-
MINUTES
-
MONTH
-
ABS
-
CEIL
-
FLOOR
-
ROUND
-
REPLACE
-
SECONDS
-
STRSTARTS
-
STRLEN
-
SUBSTR
-
STRBEFORE
-
STRAFTER
-
TIMEZONE
-
UCASE
-
YEAR
-
-
Field Details
-
name
-
uri
-
-
Constructor Details
-
FNFunction
-
-
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
-
byName
-
byUri
-
byUri
-
getName
-
getUri
-