public class TypedDistinctValue
extends java.lang.Object
Constructor | Description |
---|---|
TypedDistinctValue() |
Modifier and Type | Method | 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 © 2013-2019 MarkLogic Corporation.