|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.expr.nodevalue.XSDFuncOp
public class XSDFuncOp
Implementation of XQuery/XPath functions and operators. http://www.w3.org/TR/xpath-functions/
Field Summary | |
---|---|
static String |
defaultTimezone
|
static boolean |
strictDateTimeFO
Under strict F&O, dateTimes and dates with no timezone have one magically applied. |
Method Summary | |
---|---|
static NodeValue |
abs(NodeValue nv)
|
static NodeValue |
add(NodeValue nv1,
NodeValue nv2)
|
static boolean |
booleanEffectiveValue(NodeValue nv)
|
static NodeValue |
booleanEffectiveValueAsNodeValue(NodeValue nv)
|
static NodeValue |
ceiling(NodeValue v)
|
static com.hp.hpl.jena.sparql.expr.nodevalue.NumericType |
classifyNumeric(String fName,
NodeValue nv)
|
static com.hp.hpl.jena.sparql.expr.nodevalue.NumericType |
classifyNumeric(String fName,
NodeValue nv1,
NodeValue nv2)
|
static int |
compareBoolean(NodeValue nv1,
NodeValue nv2)
|
static int |
compareDateTime(NodeValue nv1,
NodeValue nv2)
|
static int |
compareDuration(NodeValue nv1,
NodeValue nv2)
|
static int |
compareGDay(NodeValue nv1,
NodeValue nv2)
|
static int |
compareGMonth(NodeValue nv1,
NodeValue nv2)
|
static int |
compareGMonthDay(NodeValue nv1,
NodeValue nv2)
|
static int |
compareGYear(NodeValue nv1,
NodeValue nv2)
|
static int |
compareGYearMonth(NodeValue nv1,
NodeValue nv2)
|
static int |
compareNumeric(NodeValue nv1,
NodeValue nv2)
|
static int |
compareString(NodeValue nv1,
NodeValue nv2)
|
static NodeValue |
dateTimeCast(NodeValue nv,
com.hp.hpl.jena.datatypes.RDFDatatype rdfDatatype)
Cast a NodeValue to a date/time type (xsd dateTime, date, time, g*) according to F&O 17.1.5 Casting to date and time types Throws an exception on incorrect case. |
static NodeValue |
dateTimeCast(NodeValue nv,
String typeURI)
Cast a NodeValue to a date/time type (xsd dateTime, date, time, g*) according to F&O 17.1.5 Casting to date and time types Throws an exception on incorrect case. |
static NodeValue |
dateTimeCast(NodeValue nv,
com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsd)
Cast a NodeValue to a date/time type (xsd dateTime, date, time, g*) according to F&O 17.1.5 Casting to date and time types Throws an exception on incorrect case. |
static boolean |
dateTimeCastCompatible(NodeValue nv,
com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsd)
|
static NodeValue |
divide(NodeValue nv1,
NodeValue nv2)
|
static NodeValue |
dtGetDay(NodeValue nv)
|
static NodeValue |
dtGetHours(NodeValue nv)
|
static NodeValue |
dtGetMinutes(NodeValue nv)
|
static NodeValue |
dtGetMonth(NodeValue nv)
|
static NodeValue |
dtGetSeconds(NodeValue nv)
|
static NodeValue |
dtGetTimezone(NodeValue nv)
|
static NodeValue |
dtGetTZ(NodeValue nv)
|
static NodeValue |
dtGetYear(NodeValue nv)
|
static NodeValue |
floor(NodeValue v)
|
static NodeValue |
fnConcat(List<NodeValue> args)
|
static boolean |
isDecimalType(com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdDatatype)
|
static boolean |
isIntegerType(com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdDatatype)
|
static boolean |
isNumericType(com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdDatatype)
|
static NodeValue |
javaSubstring(NodeValue v1,
NodeValue v2)
|
static NodeValue |
javaSubstring(NodeValue nvString,
NodeValue nvStart,
NodeValue nvFinish)
|
static NodeValue |
max(NodeValue nv1,
NodeValue nv2)
|
static NodeValue |
min(NodeValue nv1,
NodeValue nv2)
|
static NodeValue |
multiply(NodeValue nv1,
NodeValue nv2)
|
static NodeValue |
not(NodeValue nv)
|
static NodeValue |
round(NodeValue v)
|
static NodeValue |
sqrt(NodeValue v)
|
static NodeValue |
strAfter(NodeValue string,
NodeValue match)
|
static NodeValue |
strBefore(NodeValue string,
NodeValue match)
|
static NodeValue |
strConcat(List<NodeValue> args)
|
static NodeValue |
strContains(NodeValue string,
NodeValue match)
|
static NodeValue |
strEndsWith(NodeValue string,
NodeValue match)
|
static NodeValue |
strlen(NodeValue nvString)
|
static NodeValue |
strLowerCase(NodeValue string)
|
static NodeValue |
strReplace(NodeValue nvStr,
NodeValue nvPattern,
NodeValue nvReplacement)
|
static NodeValue |
strReplace(NodeValue nvStr,
NodeValue nvPattern,
NodeValue nvReplacement,
NodeValue nvFlags)
|
static NodeValue |
strReplace(NodeValue nvStr,
Pattern pattern,
NodeValue nvReplacement)
|
static NodeValue |
strStartsWith(NodeValue string,
NodeValue match)
|
static NodeValue |
strUpperCase(NodeValue string)
|
static NodeValue |
substring(NodeValue v1,
NodeValue v2)
|
static NodeValue |
substring(NodeValue nvString,
NodeValue nvStart,
NodeValue nvLength)
|
static NodeValue |
subtract(NodeValue nv1,
NodeValue nv2)
|
static NodeValue |
unaryMinus(NodeValue nv)
|
static NodeValue |
unaryPlus(NodeValue nv)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean strictDateTimeFO
public static final String defaultTimezone
Method Detail |
---|
public static NodeValue add(NodeValue nv1, NodeValue nv2)
public static NodeValue subtract(NodeValue nv1, NodeValue nv2)
public static NodeValue multiply(NodeValue nv1, NodeValue nv2)
public static NodeValue divide(NodeValue nv1, NodeValue nv2)
public static NodeValue max(NodeValue nv1, NodeValue nv2)
public static NodeValue min(NodeValue nv1, NodeValue nv2)
public static NodeValue not(NodeValue nv)
public static NodeValue booleanEffectiveValueAsNodeValue(NodeValue nv)
public static boolean booleanEffectiveValue(NodeValue nv)
public static NodeValue unaryMinus(NodeValue nv)
public static NodeValue unaryPlus(NodeValue nv)
public static NodeValue abs(NodeValue nv)
public static NodeValue ceiling(NodeValue v)
public static NodeValue floor(NodeValue v)
public static NodeValue round(NodeValue v)
public static NodeValue sqrt(NodeValue v)
public static NodeValue javaSubstring(NodeValue v1, NodeValue v2)
public static NodeValue javaSubstring(NodeValue nvString, NodeValue nvStart, NodeValue nvFinish)
public static NodeValue strlen(NodeValue nvString)
public static NodeValue strReplace(NodeValue nvStr, NodeValue nvPattern, NodeValue nvReplacement, NodeValue nvFlags)
public static NodeValue strReplace(NodeValue nvStr, Pattern pattern, NodeValue nvReplacement)
public static NodeValue strReplace(NodeValue nvStr, NodeValue nvPattern, NodeValue nvReplacement)
public static NodeValue substring(NodeValue v1, NodeValue v2)
public static NodeValue substring(NodeValue nvString, NodeValue nvStart, NodeValue nvLength)
public static NodeValue strContains(NodeValue string, NodeValue match)
public static NodeValue strStartsWith(NodeValue string, NodeValue match)
public static NodeValue strEndsWith(NodeValue string, NodeValue match)
public static NodeValue strBefore(NodeValue string, NodeValue match)
public static NodeValue strAfter(NodeValue string, NodeValue match)
public static NodeValue strLowerCase(NodeValue string)
public static NodeValue strUpperCase(NodeValue string)
public static NodeValue fnConcat(List<NodeValue> args)
public static NodeValue strConcat(List<NodeValue> args)
public static com.hp.hpl.jena.sparql.expr.nodevalue.NumericType classifyNumeric(String fName, NodeValue nv1, NodeValue nv2)
public static com.hp.hpl.jena.sparql.expr.nodevalue.NumericType classifyNumeric(String fName, NodeValue nv)
public static boolean isNumericType(com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdDatatype)
public static boolean isDecimalType(com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdDatatype)
public static boolean isIntegerType(com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdDatatype)
public static int compareNumeric(NodeValue nv1, NodeValue nv2)
public static int compareString(NodeValue nv1, NodeValue nv2)
public static int compareDateTime(NodeValue nv1, NodeValue nv2)
public static int compareDuration(NodeValue nv1, NodeValue nv2)
public static int compareGYear(NodeValue nv1, NodeValue nv2)
public static int compareGYearMonth(NodeValue nv1, NodeValue nv2)
public static int compareGMonth(NodeValue nv1, NodeValue nv2)
public static int compareGMonthDay(NodeValue nv1, NodeValue nv2)
public static int compareGDay(NodeValue nv1, NodeValue nv2)
public static int compareBoolean(NodeValue nv1, NodeValue nv2)
public static boolean dateTimeCastCompatible(NodeValue nv, com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsd)
public static NodeValue dateTimeCast(NodeValue nv, String typeURI)
ExprEvalTypeException
public static NodeValue dateTimeCast(NodeValue nv, com.hp.hpl.jena.datatypes.RDFDatatype rdfDatatype)
ExprEvalTypeException
public static NodeValue dateTimeCast(NodeValue nv, com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsd)
ExprEvalTypeException
public static NodeValue dtGetYear(NodeValue nv)
public static NodeValue dtGetMonth(NodeValue nv)
public static NodeValue dtGetDay(NodeValue nv)
public static NodeValue dtGetHours(NodeValue nv)
public static NodeValue dtGetMinutes(NodeValue nv)
public static NodeValue dtGetSeconds(NodeValue nv)
public static NodeValue dtGetTZ(NodeValue nv)
public static NodeValue dtGetTimezone(NodeValue nv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |