@InterfaceAudience.Public @InterfaceStability.Evolving public class ColumnTypeAttributes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ColumnTypeAttributes.ColumnTypeAttributesBuilder
Builder for ColumnTypeAttributes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getLength()
Returns the length;
|
int |
getPrecision()
Return the precision;
|
int |
getScale()
Return the scale;
|
int |
hashCode() |
boolean |
hasLength()
Returns true if the length is set;
|
boolean |
hasPrecision()
Returns true if the precision is set;
|
boolean |
hasScale()
Returns true if the scale is set;
|
String |
toString() |
String |
toStringForType(Type type)
Return a string representation appropriate for `type`.
|
public boolean hasPrecision()
public int getPrecision()
public boolean hasScale()
public int getScale()
public boolean hasLength()
public int getLength()
public String toStringForType(Type type)
type
- the type.