public class StringToBigDecimalCodec extends StringToNumberCodec<BigDecimal>
internalCodec, javaType| Constructor and Description |
|---|
StringToBigDecimalCodec(FastThreadLocal<NumberFormat> numberFormat,
OverflowStrategy overflowStrategy,
RoundingMode roundingMode,
TemporalFormat temporalFormat,
ZoneId timeZone,
TimeUnit timeUnit,
ZonedDateTime epoch,
Map<String,Boolean> booleanStrings,
List<BigDecimal> booleanNumbers,
List<String> nullStrings) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
externalToInternal(String s)
Converts the external representation of a value (i.e., the value, as produced by a connector)
to its internal representation (i.e., the Java type that matches the target CQL type).
|
internalToExternalisNull, isNullOrEmpty, nullStringdecode, encode, format, getCqlType, getInternalCodec, getInternalJavaType, getJavaType, parsepublic StringToBigDecimalCodec(FastThreadLocal<NumberFormat> numberFormat, OverflowStrategy overflowStrategy, RoundingMode roundingMode, TemporalFormat temporalFormat, ZoneId timeZone, TimeUnit timeUnit, ZonedDateTime epoch, Map<String,Boolean> booleanStrings, List<BigDecimal> booleanNumbers, List<String> nullStrings)
public BigDecimal externalToInternal(String s)
ConvertingCodecexternalToInternal in class ConvertingCodec<String,BigDecimal>s - the value's external form.Copyright © 2017–2021 DataStax. All rights reserved.