User-Defined Function API 10.0
marklogic::Item Class Reference

Encapsulation of XQuery sequence item value type. More...

#include <MarkLogic.h>

Public Types

enum   Type {
  INT , UNSIGNED_INT , LONG , UNSIGNED_LONG ,
  FLOAT , DOUBLE , DECIMAL , DATE_TIME ,
  TIME , DATE , G_YEAR_MONTH , G_YEAR ,
  G_MONTH , G_DAY , YEAR_MONTH_DURATION , DAY_TIME_DURATION ,
  STRING , ANY_URI , BOOLEAN , POINT ,
  MAP , LANG_STRING , OTHER
}
  The types of item values that can occur in a Sequence. More...
 

Detailed Description

Encapsulation of XQuery sequence item value type.

Member Enumeration Documentation

◆ Type

The types of item values that can occur in a Sequence.

These are the types of argument values that can be passed in to your AggregateUDF subclass. For details on type conversions between C++ and XQuery types, see "Type Conversions in Aggregate UDFs" in the Application Developer's Guide.

Enumerator
INT 

xs:int

UNSIGNED_INT 

xs:unsignedInt

LONG 

xs:long

UNSIGNED_LONG 

xs:unsignedLong

FLOAT 

xs:float

DOUBLE 

xs:double

DECIMAL 

xs:decimal

DATE_TIME 

xs:dateTime

TIME 

xs:time

DATE 

xs:date

G_YEAR_MONTH 

xs:gYearMonth

G_YEAR 

xs:gYear

G_MONTH 

xs:gMonth

G_DAY 

xs:gDay

YEAR_MONTH_DURATION 

xs:yearMonthDuration

DAY_TIME_DURATION 

xs:dayTimeDuration

STRING 

xs:string

ANY_URI 

xs:anyURI

BOOLEAN 

xs:boolean

POINT 

cts:point (MarkLogic XQuery dialect)

MAP 

map:map (MarkLogic XQuery dialect)

LANG_STRING 

rdf:langString (SPARQL)

OTHER 

A type other than the known types.


The documentation for this class was generated from the following file: