public class DecimalTypeInfo extends PrimitiveTypeInfo
typeName
Constructor and Description |
---|
DecimalTypeInfo() |
DecimalTypeInfo(int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(TypeInfo other) |
boolean |
equals(Object other) |
int |
getPrecision() |
String |
getQualifiedName()
String representing the qualified type name.
|
static String |
getQualifiedName(int precision,
int scale) |
int |
getScale() |
String |
getTypeName()
A String representation of the TypeInfo.
|
int |
hashCode()
Generate the hashCode for this TypeInfo.
|
int |
precision() |
int |
scale() |
void |
setPrecision(int precision) |
void |
setScale(int scale) |
void |
setTypeName(String typeName) |
String |
toString() |
getCategory, getPrimitiveCategory, getPrimitiveJavaClass, getPrimitiveTypeEntry, getPrimitiveWritableClass
public DecimalTypeInfo()
public DecimalTypeInfo(int precision, int scale)
public String getTypeName()
TypeInfo
getTypeName
in class PrimitiveTypeInfo
public void setTypeName(String typeName)
setTypeName
in class PrimitiveTypeInfo
public boolean equals(Object other)
equals
in class PrimitiveTypeInfo
public int hashCode()
hashCode
in class PrimitiveTypeInfo
public String toString()
toString
in class PrimitiveTypeInfo
public String getQualifiedName()
TypeInfo
getQualifiedName
in class TypeInfo
public static String getQualifiedName(int precision, int scale)
public int precision()
public int scale()
public int getPrecision()
public void setPrecision(int precision)
public int getScale()
public void setScale(int scale)
Copyright © 2017 The Apache Software Foundation. All rights reserved.