| java.lang.Object com.quadcap.sql.types.TypeInterval
Constructor Summary | |
public | TypeInterval() | public | TypeInterval(int start, int startPrecision, int end, int secPrecision) | public | TypeInterval(int start, int startPrecision, int secPrecision) |
DAY | final public static int DAY(Code) | | |
HOUR | final public static int HOUR(Code) | | |
MINUTE | final public static int MINUTE(Code) | | |
MONTH | final public static int MONTH(Code) | | |
NANO | final public static int NANO(Code) | | |
SECOND | final public static int SECOND(Code) | | |
YEAR | final public static int YEAR(Code) | | |
fieldMon | final static long[] fieldMon(Code) | | |
fieldNanos | final static long[] fieldNanos(Code) | | |
pow10 | final static long[] pow10(Code) | | |
secPrecision | int secPrecision(Code) | | |
startPrecision | int startPrecision(Code) | | |
TypeInterval | public TypeInterval()(Code) | | |
TypeInterval | public TypeInterval(int start, int startPrecision, int end, int secPrecision) throws antlr.RecognitionException(Code) | | |
TypeInterval | public TypeInterval(int start, int startPrecision, int secPrecision)(Code) | | |
getDisplayWidth | public int getDisplayWidth()(Code) | | |
getJDBCType | public int getJDBCType()(Code) | | |
getMaxPrecision | public int getMaxPrecision()(Code) | | |
getMaxScale | public int getMaxScale()(Code) | | |
getMinScale | public int getMinScale()(Code) | | |
getMon | final static long getMon(int type)(Code) | | |
getMult | final long getMult()(Code) | | Return the number by which the interval value must be multiplied
to convert it to a value in nanoseconds
|
getNanos | final static long getNanos(int type)(Code) | | |
getPrecision | public int getPrecision()(Code) | | |
getScale | public int getScale()(Code) | | |
getSecPrecision | int getSecPrecision()(Code) | | |
isCaseSensitive | public boolean isCaseSensitive()(Code) | | |
isCharType | public boolean isCharType()(Code) | | |
isCurrency | public boolean isCurrency()(Code) | | |
isSigned | public boolean isSigned()(Code) | | |
units | long units(int type, boolean ym)(Code) | | Return the number by which elements of field 'type' must be multiplied
in order to convert them to the unit type used in this interval.
units(type) * getMult() => nanoseconds per unit
|
|
|