Constructor and Description |
---|
EnumConverter(Class<? extends Enum> enumType) |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.DataType |
getDataType()
Returns the
DataType to be used by this converter |
Class<? extends Enum> |
getEnumType() |
Class<?> |
getValueType()
Returns the Java value type used by this converter.
|
Object |
toColumnValue(Object value)
Converts a facet value to a column value.
|
Object |
toFacetValue(Object value)
Converts a column value to a facet value.
|
public com.datastax.driver.core.DataType getDataType()
Converter
DataType
to be used by this convertergetDataType
in interface Converter
public Class<?> getValueType()
Converter
getValueType
in interface Converter
public Object toColumnValue(Object value)
Converter
toColumnValue
in interface Converter
value
- the facet valuepublic Object toFacetValue(Object value)
Converter
toFacetValue
in interface Converter
value
- the column valueCopyright © 2012-2016 Savoir Technologies, Inc.. All Rights Reserved.