org.apache.accumulo.core.iterators.user
Class BigDecimalCombiner.BigDecimalEncoder
java.lang.Object
org.apache.accumulo.core.iterators.user.BigDecimalCombiner.BigDecimalEncoder
- All Implemented Interfaces:
- TypedValueCombiner.Encoder<BigDecimal>
- Enclosing class:
- BigDecimalCombiner
public static class BigDecimalCombiner.BigDecimalEncoder
- extends Object
- implements TypedValueCombiner.Encoder<BigDecimal>
Provides the ability to encode scientific notation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigDecimalCombiner.BigDecimalEncoder
public BigDecimalCombiner.BigDecimalEncoder()
encode
public byte[] encode(BigDecimal v)
- Specified by:
encode
in interface TypedValueCombiner.Encoder<BigDecimal>
decode
public BigDecimal decode(byte[] b)
throws ValueFormatException
- Specified by:
decode
in interface TypedValueCombiner.Encoder<BigDecimal>
- Throws:
ValueFormatException
Copyright © 2015 Apache Accumulo Project. All rights reserved.