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 anIntervalYearToMonthdata type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ColumnDefinitionVisitor visitor)StringgetName()intgetYearPrecision()
-
-
-
Constructor Detail
-
IntervalYearToMonth
public IntervalYearToMonth(int yearPrecision)
Create a new instance of anIntervalYearToMonthdata type- Parameters:
yearPrecision- year precision value
-
-
Method Detail
-
accept
public void accept(ColumnDefinitionVisitor visitor)
- Specified by:
acceptin interfaceDataType- Parameters:
visitor- instance ofColumnDefinitionVisitor
-
getName
public String getName()
-
getYearPrecision
public int getYearPrecision()
- Returns:
- year precision
-
-