Enum SparqlFunction
- All Implemented Interfaces:
Serializable
,Comparable<SparqlFunction>
,SparqlOperator
,QueryElement
The built-in SPARQL Functions. Keeping this public until
Expressions
is completed.- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SparqlFunction
(String function) private
SparqlFunction
(String function, boolean pad) -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
pad()
static SparqlFunction
Returns the enum constant of this type with the specified name.static SparqlFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABS
-
BNODE
-
BOUND
-
CEIL
-
COALESCE
-
CONCAT
-
CONTAINS
-
DATATYPE
-
DAY
-
ENCODE_FOR_URI
-
FLOOR
-
HOURS
-
IF
-
IN
-
NOT_IN
-
IRI
-
IS_BLANK
-
IS_IRI
-
IS_LITERAL
-
IS_NUMERIC
-
IS_URI
-
LANG
-
LANGMATCHES
-
LCASE
-
MD5
-
MINUTES
-
MONTH
-
NOW
-
RAND
-
REGEX
-
REPLACE
-
ROUND
-
SAME_TERM
-
SECONDS
-
SHA1
-
SHA256
-
SHA384
-
SHA512
-
STR
-
STRAFTER
-
STRBEFORE
-
STRDT
-
STRENDS
-
STRING
-
STRLANG
-
STRLEN
-
STRSTARTS
-
STRUUID
-
SUBSTR
-
TIMEZONE
-
TZ
-
UCASE
-
URI
-
UUID
-
YEAR
-
-
Field Details
-
function
-
pad
private final boolean pad
-
-
Constructor Details
-
SparqlFunction
-
SparqlFunction
-
-
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
-
pad
boolean pad() -
getQueryString
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-