public class TypedDistinctValue
extends java.lang.Object
Constructor and Description |
---|
TypedDistinctValue() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(java.lang.Class<T> as)
Returns the value as an instance of the
specified class.
|
java.lang.String |
getType()
Returns the type of the value.
|
public java.lang.String getType()
Value types are returned as XSD type names, for example, "xs:integer" or "xs:date".
public <T> T get(java.lang.Class<T> as)
T
- The type.as
- The instance class.Copyright © 2024 MarkLogic Corporation. All Rights Reserved.