Class BigDecimalConverter


  • public class BigDecimalConverter
    extends java.lang.Object
    Provides converters from BigDecimal to other numeric types based on the input Schema.TypeName.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.beam.sdk.transforms.SerializableFunction<java.math.BigDecimal,​? extends java.lang.Number> forSqlType​(org.apache.beam.sdk.schemas.Schema.TypeName typeName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BigDecimalConverter

        public BigDecimalConverter()
    • Method Detail

      • forSqlType

        public static org.apache.beam.sdk.transforms.SerializableFunction<java.math.BigDecimal,​? extends java.lang.Number> forSqlType​(org.apache.beam.sdk.schemas.Schema.TypeName typeName)