public class IntegerTranslator extends Object implements HectorTranslator<Integer,Long>
| Constructor and Description |
|---|
IntegerTranslator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHectorType() |
me.prettyprint.hector.api.Serializer<Long> |
getSerializer() |
Integer |
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) |
Integer |
toEntityValue(Class<?> fieldType,
int index,
me.prettyprint.hector.api.beans.Composite columnName) |
Long |
toHectorValue(Integer value) |
public String getHectorType()
getHectorType in interface HectorTranslator<Integer,Long>public me.prettyprint.hector.api.Serializer<Long> getSerializer()
getSerializer in interface HectorTranslator<Integer,Long>public Long toHectorValue(Integer value)
toHectorValue in interface HectorTranslator<Integer,Long>public Integer toEntityValue(Class<?> fieldType, int index, me.prettyprint.hector.api.beans.Composite columnName)
toEntityValue in interface HectorTranslator<Integer,Long>public Integer 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<Integer,Long>Copyright © 2017. All rights reserved.