Skip to content

Commit

Permalink
Merge pull request #615 from partiql/partiql-lang-kotlin-551
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell authored May 27, 2022
2 parents ba62b66 + 30dff88 commit 6aa5f43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lang/src/org/partiql/lang/types/StaticType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ sealed class StaticType {
@JvmField val INT: IntType = IntType(IntType.IntRangeConstraint.UNCONSTRAINED)
@JvmField val FLOAT: FloatType = FloatType()
@JvmField val DECIMAL: DecimalType = DecimalType()
@JvmField val NUMERIC: StaticType = unionOf(INT2, INT4, INT8, INT, FLOAT, DECIMAL)
@JvmField val DATE: DateType = DateType()
@JvmField val TIME: TimeType = TimeType()
@JvmField val TIMESTAMP: TimestampType = TimestampType()
@JvmField val SYMBOL: SymbolType = SymbolType()
@JvmField val STRING: StringType = StringType()
@JvmField val TEXT: StaticType = unionOf(SYMBOL, STRING)
@JvmField val CLOB: ClobType = ClobType()
@JvmField val BLOB: BlobType = BlobType()
@JvmField val LIST: ListType = ListType()
Expand Down

0 comments on commit 6aa5f43

Please sign in to comment.