@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 |
getPrecision()
Return the precision;
|
int |
getScale()
Return the scale;
|
int |
hashCode() |
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 String toStringForType(Type type)
type
- the type.Copyright © 2018 The Apache Software Foundation. All rights reserved.