public class DateTranslator extends Object implements HectorTranslator<Date,Date>
| Constructor and Description |
|---|
DateTranslator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHectorType() |
me.prettyprint.hector.api.Serializer<Date> |
getSerializer() |
Date |
toEntityValue(Class<?> fieldType,
me.prettyprint.hector.api.beans.Composite columnName,
me.prettyprint.cassandra.service.template.ColumnFamilyResult<me.prettyprint.hector.api.beans.Composite,me.prettyprint.hector.api.beans.Composite> hectorResult) |
Date |
toEntityValue(Class<?> fieldType,
int index,
me.prettyprint.hector.api.beans.Composite columnName) |
Date |
toHectorValue(Date value) |
public String getHectorType()
getHectorType in interface HectorTranslator<Date,Date>public me.prettyprint.hector.api.Serializer<Date> getSerializer()
getSerializer in interface HectorTranslator<Date,Date>public Date toHectorValue(Date value)
toHectorValue in interface HectorTranslator<Date,Date>public Date toEntityValue(Class<?> fieldType, int index, me.prettyprint.hector.api.beans.Composite columnName)
toEntityValue in interface HectorTranslator<Date,Date>public Date toEntityValue(Class<?> fieldType, me.prettyprint.hector.api.beans.Composite columnName, me.prettyprint.cassandra.service.template.ColumnFamilyResult<me.prettyprint.hector.api.beans.Composite,me.prettyprint.hector.api.beans.Composite> hectorResult)
toEntityValue in interface HectorTranslator<Date,Date>Copyright © 2017. All rights reserved.