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