org.eigenbase.sql
Class SqlIntervalLiteral.IntervalValue
java.lang.Object
org.eigenbase.sql.SqlIntervalLiteral.IntervalValue
- Enclosing class:
- SqlIntervalLiteral
public static class SqlIntervalLiteral.IntervalValue
- extends Object
A Interval value.
intervalQualifier
private final SqlIntervalQualifier intervalQualifier
intervalStr
private final String intervalStr
sign
private final int sign
SqlIntervalLiteral.IntervalValue
SqlIntervalLiteral.IntervalValue(SqlIntervalQualifier intervalQualifier,
int sign,
String intervalStr)
- Creates an interval value.
- Parameters:
intervalQualifier
- Interval qualifiersign
- Sign (+1 or -1)intervalStr
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getIntervalQualifier
public SqlIntervalQualifier getIntervalQualifier()
getIntervalLiteral
public String getIntervalLiteral()
getSign
public int getSign()
toString
public String toString()
- Overrides:
toString
in class Object