|
||||||||||
| 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. |
| 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 numAdd(NodeValue nv1,
NodeValue nv2)
public static NodeValue numSubtract(NodeValue nv1,
NodeValue nv2)
public static NodeValue numMultiply(NodeValue nv1,
NodeValue nv2)
public static NodeValue numDivide(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(XSDDatatype xsdDatatype)
public static boolean isDecimalType(XSDDatatype xsdDatatype)
public static boolean isIntegerType(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,
XSDDatatype xsd)
public static NodeValue dateTimeCast(NodeValue nv,
String typeURI)
ExprEvalTypeException
public static NodeValue dateTimeCast(NodeValue nv,
RDFDatatype rdfDatatype)
ExprEvalTypeException
public static NodeValue dateTimeCast(NodeValue nv,
XSDDatatype xsd)
ExprEvalTypeExceptionpublic 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)
public static boolean isYearMonth(Duration dur)
public static boolean isDayTime(Duration dur)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||