## xs:anyAtomicType Server Expression

A server expression that returns a value of (or implicitly castable to) the xs:anyAtomicType server type. For all server types, see the Server Expression Type Hierarchy.

### Supertypes

plan:triple-position

### Parameter Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
cts:query | cts:column-range-query(xs:string schema, xs:string view, xs:string column, xs:anyAtomicType value*, xs:string operator?, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-attribute-range-query(xs:QName element-name*, xs:QName attribute-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:element-range-query(xs:QName element-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:field-range-query(xs:string field-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:field-value-query(xs:string field-name*, xs:anyAtomicType text*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-range-query(xs:string property-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:json-property-value-query(xs:string property-name*, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:path-range-query(xs:string path-name*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:range-query(cts:reference index*, xs:string operator, xs:anyAtomicType value*, xs:string options*, xs:double weight?) | java | server
cts:query | cts:triple-range-query(xs:anyAtomicType subject*, xs:anyAtomicType predicate*, xs:anyAtomicType object*, xs:string operator*, xs:string options*, xs:double weight?) | java | server
cts:linestring | cts:linestring(xs:anyAtomicType vertices*) | java | server
xs:anyAtomicType? | fn:avg(xs:anyAtomicType arg*) | java | server
xs:string | fn:concat(xs:anyAtomicType parameter1?) | java | server
xs:anyAtomicType* | fn:distinct-values(xs:anyAtomicType arg*, xs:string collation) | java | server
xs:integer* | fn:index-of(xs:anyAtomicType seqParam*, xs:anyAtomicType srchParam, xs:string collationLiteral) | java | server
xs:anyAtomicType? | fn:max(xs:anyAtomicType arg*, xs:string collation) | java | server
xs:anyAtomicType? | fn:min(xs:anyAtomicType arg*, xs:string collation) | java | server
xs:double | fn:number(item arg?) | java | server
xs:anyAtomicType? | fn:sum(xs:anyAtomicType arg*, xs:anyAtomicType zero?) | java | server
xs:anyAtomicType* | math:mode(xs:anyAtomicType arg*, xs:string options*) | java | server
xs:double? | math:percent-rank(xs:anyAtomicType arg*, xs:anyAtomicType value, xs:string options*) | java | server
xs:integer? | math:rank(xs:anyAtomicType arg1*, xs:anyAtomicType arg2, xs:string options*) | java | server
sem:blank | sem:bnode(xs:anyAtomicType value) | java | server
sem:iri | sem:datatype(xs:anyAtomicType value) | java | server
sem:iri? | sem:iri(item string-iri?) | java | server
xs:boolean | sem:isBlank(xs:anyAtomicType value) | java | server
xs:boolean | sem:isIRI(xs:anyAtomicType value) | java | server
xs:boolean | sem:isLiteral(xs:anyAtomicType value) | java | server
xs:boolean | sem:isNumeric(xs:anyAtomicType value) | java | server
xs:string | sem:lang(xs:anyAtomicType value) | java | server
xs:boolean | sem:sameTerm(xs:anyAtomicType a*, xs:anyAtomicType b*) | java | server
xs:unsignedLong? | sql:bucket(xs:anyAtomicType bucketEdgesParam*, xs:anyAtomicType srchParam, xs:string collationLiteral) | java | server
xs:string? | sql:left(xs:anyAtomicType str?, xs:numeric n?) | java | server
xs:string? | sql:right(xs:anyAtomicType str?, xs:numeric n?) | java | server
sql:rowID? | sql:rowID(xs:anyAtomicType arg1?) | java
xs:QName | xdmp:type(xs:anyAtomicType value) | java | server
xs:anyURI? | xs:anyURI(item arg1?) | java | server
xs:base64Binary? | xs:base64Binary(item arg1?) | java | server
xs:boolean? | xs:boolean(item arg1?) | java | server
xs:byte? | xs:byte(item arg1?) | java | server
xs:date? | xs:date(item arg1?) | java | server
xs:dateTime? | xs:dateTime(item arg1?) | java | server
xs:dayTimeDuration? | xs:dayTimeDuration(item arg1?) | java | server
xs:decimal? | xs:decimal(item arg1?) | java | server
xs:double? | xs:double(item arg1?) | java | server
xs:float? | xs:float(item arg1?) | java | server
xs:gDay? | xs:gDay(item arg1?) | java | server
xs:gMonth? | xs:gMonth(item arg1?) | java | server
xs:gMonthDay? | xs:gMonthDay(item arg1?) | java | server
xs:gYear? | xs:gYear(item arg1?) | java | server
xs:gYearMonth? | xs:gYearMonth(item arg1?) | java | server
xs:hexBinary? | xs:hexBinary(item arg1?) | java | server
xs:int? | xs:int(item arg1?) | java | server
xs:integer? | xs:integer(item arg1?) | java | server
xs:language? | xs:language(item arg1?) | java | server
xs:long? | xs:long(item arg1?) | java | server
xs:Name? | xs:Name(item arg1?) | java | server
xs:NCName? | xs:NCName(item arg1?) | java | server
xs:NMTOKEN? | xs:NMTOKEN(item arg1?) | java | server
xs:negativeInteger? | xs:negativeInteger(item arg1?) | java | server
xs:nonNegativeInteger? | xs:nonNegativeInteger(item arg1?) | java | server
xs:nonPositiveInteger? | xs:nonPositiveInteger(item arg1?) | java | server
xs:normalizedString? | xs:normalizedString(item arg1?) | java | server
xs:numeric? | xs:numeric(item arg1?) | java | server
xs:positiveInteger? | xs:positiveInteger(item arg1?) | java | server
xs:QName? | xs:QName(item arg1?) | java | server
xs:short? | xs:short(item arg1?) | java | server
xs:string? | xs:string(item arg1?) | java | server
xs:time? | xs:time(item arg1?) | java | server
xs:token? | xs:token(item arg1?) | java | server
xs:unsignedByte? | xs:unsignedByte(item arg1?) | java | server
xs:unsignedInt? | xs:unsignedInt(item arg1?) | java | server
xs:unsignedLong? | xs:unsignedLong(item arg1?) | java | server
xs:unsignedShort? | xs:unsignedShort(item arg1?) | java | server
xs:untypedAtomic? | xs:untypedAtomic(item arg1?) | java | server
xs:yearMonthDuration? | xs:yearMonthDuration(item arg1?) | java | server

### Return Value Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
xs:anyAtomicType? | fn:avg(xs:anyAtomicType arg*) | java | server
xs:anyAtomicType* | fn:distinct-values(xs:anyAtomicType arg*, xs:string collation) | java | server
xs:anyAtomicType? | fn:max(xs:anyAtomicType arg*, xs:string collation) | java | server
xs:anyAtomicType? | fn:min(xs:anyAtomicType arg*, xs:string collation) | java | server
xs:anyAtomicType? | fn:sum(xs:anyAtomicType arg*, xs:anyAtomicType zero?) | java | server
xs:anyAtomicType* | math:mode(xs:anyAtomicType arg*, xs:string options*) | java | server
xs:anyAtomicType | sem:typed-literal(xs:string value, sem:iri datatype) | java | server
xs:anyAtomicType | sql:ifnull(item expr1*, item expr2*) | java | server
xs:anyAtomicType | sql:nullif(item expr1*, item expr2*) | java | server