public interface SQLInterval extends SQLDataType, ParametrizableDataType
INTEGER type, sometimes abbreviated as INT (typically 32-bit integer).| Modifier and Type | Method and Description |
|---|---|
IntervalDataType |
getEndField()
Returns the end field precision for this
INTERVAL. |
Integer |
getSecondFracs()
Returns the fraction seconds precision for this
INTERVAL. |
IntervalDataType |
getStartField()
Returns the start field type for this
INTERVAL. |
Integer |
getStartFieldPrecision()
Return the start field precision for this
INTERVAL. |
IntervalDataType getStartField()
INTERVAL.INTERVAL.Integer getStartFieldPrecision()
INTERVAL. May be null if none specified.INTERVAL.IntervalDataType getEndField()
INTERVAL. Will always be null for single datetime field
intervals.INTERVAL.Integer getSecondFracs()
INTERVAL. Will always be null if the end field
type is not IntervalDataType.SECOND, or if this is single datetime field interval, and its start type is
not IntervalDataType.SECOND.INTERVAL.Copyright © 2010-2012. All Rights Reserved.