| Package | Description |
|---|---|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
RexLiteral |
RexBuilder.makeTimeLiteral(TimeString time,
int precision)
Creates a Time literal.
|
RexLiteral |
RexBuilder.makeTimeWithLocalTimeZoneLiteral(TimeString time,
int precision)
Creates a Time with local time-zone literal.
|
| Modifier and Type | Method and Description |
|---|---|
protected TimeString |
SqlTimeLiteral.getTime()
Converts this literal to a
TimeString. |
| Modifier and Type | Method and Description |
|---|---|
static SqlTimeLiteral |
SqlLiteral.createTime(TimeString t,
int precision,
SqlParserPos pos) |
| Constructor and Description |
|---|
SqlTimeLiteral(TimeString t,
int precision,
boolean hasTimeZone,
SqlParserPos pos) |
| Modifier and Type | Field and Description |
|---|---|
(package private) TimeString |
TimeWithTimeZoneString.localTime |
| Modifier and Type | Method and Description |
|---|---|
static TimeString |
TimeString.fromCalendarFields(Calendar calendar)
Creates a TimeString from a Calendar.
|
static TimeString |
TimeString.fromMillisOfDay(int i) |
TimeString |
TimestampWithTimeZoneString.getLocalTimeString() |
TimeString |
TimeWithTimeZoneString.getLocalTimeString() |
TimeString |
TimeString.round(int precision) |
TimeString |
TimeString.withFraction(String fraction)
Sets the fraction field of a
TimeString. |
TimeString |
TimeString.withMillis(int millis)
Sets the fraction field of a
TimeString to a given number
of milliseconds. |
TimeString |
TimeString.withNanos(int nanos)
Sets the fraction field of a
TimeString to a given number
of nanoseconds. |
| Modifier and Type | Method and Description |
|---|---|
int |
TimeString.compareTo(TimeString o) |
| Constructor and Description |
|---|
TimeWithTimeZoneString(TimeString localTime,
TimeZone timeZone)
Creates a TimeWithTimeZoneString.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.