public class BigDecimalToBigintCodec extends com.datastax.driver.core.TypeCodec<BigDecimal>
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 |
|---|
BigDecimalToBigintCodec(Class<BigDecimal> javaClass) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
deserialize(ByteBuffer paramByteBuffer,
com.datastax.driver.core.ProtocolVersion paramProtocolVersion) |
String |
format(BigDecimal paramT) |
BigDecimal |
parse(String paramString) |
ByteBuffer |
serialize(BigDecimal 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 BigDecimalToBigintCodec(Class<BigDecimal> javaClass)
public ByteBuffer serialize(BigDecimal paramT, com.datastax.driver.core.ProtocolVersion paramProtocolVersion) throws com.datastax.driver.core.exceptions.InvalidTypeException
serialize in class com.datastax.driver.core.TypeCodec<BigDecimal>com.datastax.driver.core.exceptions.InvalidTypeExceptionpublic BigDecimal deserialize(ByteBuffer paramByteBuffer, com.datastax.driver.core.ProtocolVersion paramProtocolVersion) throws com.datastax.driver.core.exceptions.InvalidTypeException
deserialize in class com.datastax.driver.core.TypeCodec<BigDecimal>com.datastax.driver.core.exceptions.InvalidTypeExceptionpublic BigDecimal parse(String paramString) throws com.datastax.driver.core.exceptions.InvalidTypeException
parse in class com.datastax.driver.core.TypeCodec<BigDecimal>com.datastax.driver.core.exceptions.InvalidTypeExceptionpublic String format(BigDecimal paramT) throws com.datastax.driver.core.exceptions.InvalidTypeException
format in class com.datastax.driver.core.TypeCodec<BigDecimal>com.datastax.driver.core.exceptions.InvalidTypeExceptionCopyright © 2015–2016. All rights reserved.