Package com.exasol.datatype.type
Class IntervalYearToMonth
- java.lang.Object
-
- com.exasol.datatype.type.IntervalYearToMonth
-
-
Constructor Summary
Constructors Constructor Description IntervalYearToMonth(int yearPrecision)
Create a new instance of anIntervalYearToMonth
data type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ColumnDefinitionVisitor visitor)
String
getName()
int
getYearPrecision()
-
-
-
Constructor Detail
-
IntervalYearToMonth
public IntervalYearToMonth(int yearPrecision)
Create a new instance of anIntervalYearToMonth
data type- Parameters:
yearPrecision
- year precision value
-
-
Method Detail
-
accept
public void accept(ColumnDefinitionVisitor visitor)
- Specified by:
accept
in interfaceDataType
- Parameters:
visitor
- instance ofColumnDefinitionVisitor
-
getName
public String getName()
-
getYearPrecision
public int getYearPrecision()
- Returns:
- year precision
-
-