public class LongToIntCodec extends com.datastax.driver.core.TypeCodec<Integer>
com.datastax.driver.core.TypeCodec.AbstractCollectionCodec<E,C extends Collection<E>>, com.datastax.driver.core.TypeCodec.AbstractMapCodec<K,V>, com.datastax.driver.core.TypeCodec.AbstractTupleCodec<T>, com.datastax.driver.core.TypeCodec.AbstractUDTCodec<T>, com.datastax.driver.core.TypeCodec.PrimitiveBooleanCodec, com.datastax.driver.core.TypeCodec.PrimitiveByteCodec, com.datastax.driver.core.TypeCodec.PrimitiveDoubleCodec, com.datastax.driver.core.TypeCodec.PrimitiveFloatCodec, com.datastax.driver.core.TypeCodec.PrimitiveIntCodec, com.datastax.driver.core.TypeCodec.PrimitiveLongCodec, com.datastax.driver.core.TypeCodec.PrimitiveShortCodec| Constructor and Description |
|---|
LongToIntCodec(Class<Integer> javaClass) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
deserialize(ByteBuffer paramByteBuffer,
com.datastax.driver.core.ProtocolVersion paramProtocolVersion) |
String |
format(Integer paramT) |
Integer |
parse(String paramString) |
ByteBuffer |
serialize(Integer paramT,
com.datastax.driver.core.ProtocolVersion paramProtocolVersion) |
accepts, accepts, accepts, accepts, ascii, bigint, blob, cboolean, cdouble, cfloat, cint, counter, custom, date, decimal, getCqlType, getJavaType, inet, list, map, set, smallInt, time, timestamp, timeUUID, tinyInt, toString, tuple, userType, uuid, varchar, varintpublic ByteBuffer serialize(Integer paramT, com.datastax.driver.core.ProtocolVersion paramProtocolVersion) throws com.datastax.driver.core.exceptions.InvalidTypeException
serialize in class com.datastax.driver.core.TypeCodec<Integer>com.datastax.driver.core.exceptions.InvalidTypeExceptionpublic Integer deserialize(ByteBuffer paramByteBuffer, com.datastax.driver.core.ProtocolVersion paramProtocolVersion) throws com.datastax.driver.core.exceptions.InvalidTypeException
deserialize in class com.datastax.driver.core.TypeCodec<Integer>com.datastax.driver.core.exceptions.InvalidTypeExceptionpublic Integer parse(String paramString) throws com.datastax.driver.core.exceptions.InvalidTypeException
parse in class com.datastax.driver.core.TypeCodec<Integer>com.datastax.driver.core.exceptions.InvalidTypeExceptionCopyright © 2015–2016. All rights reserved.