public class CountedDistinctValue
extends java.lang.Object
| Constructor and Description |
|---|
CountedDistinctValue() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(java.lang.String type,
java.lang.Class<T> as)
Returns the value cast to the specified
type.
|
long |
getCount()
Returns the frequency associated with this
value.
|
public long getCount()
public <T> T get(java.lang.String type,
java.lang.Class<T> as)
The following types are supported:
xs:anySimpleType, xs:base64Binary,
xs:boolean, xs:byte,
xs:date, xs:dateTime,
xs:dayTimeDuration, xs:decimal,
xs:double, xs:duration,
xs:float, xs:int,
xs:integer, xs:long,
xs:short, xs:string,
xs:time, xs:unsignedInt,
xs:unsignedLong, xs:unsignedShort, and
xs:yearMonthDuration.
T - The class to cast totype - The name of the XSD type to use for
conversion.as - The class parameterlabelCopyright © 2024 MarkLogic Corporation. All Rights Reserved.