org.apache.spark.sql.types
Class PrecisionInfo

Object
  extended by org.apache.spark.sql.types.PrecisionInfo
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class PrecisionInfo
extends Object
implements scala.Product, scala.Serializable

Precision parameters for a Decimal

See Also:
Serialized Form

Constructor Summary
PrecisionInfo(int precision, int scale)
           
 
Method Summary
 int precision()
           
 int scale()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

PrecisionInfo

public PrecisionInfo(int precision,
                     int scale)
Method Detail

precision

public int precision()

scale

public int scale()