public class DecimalTypeInfo extends PrimitiveTypeInfo
typeEntry, 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, getPrimitiveWritableClasspublic DecimalTypeInfo()
public DecimalTypeInfo(int precision,
int scale)
public String getTypeName()
TypeInfogetTypeName in class PrimitiveTypeInfopublic void setTypeName(String typeName)
setTypeName in class PrimitiveTypeInfopublic boolean equals(Object other)
equals in class PrimitiveTypeInfopublic int hashCode()
hashCode in class PrimitiveTypeInfopublic String toString()
toString in class PrimitiveTypeInfopublic String getQualifiedName()
TypeInfogetQualifiedName in class TypeInfopublic 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 © 2022 The Apache Software Foundation. All rights reserved.