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