001package io.ebean.config.dbplatform; 002 003/** 004 * Integer codes for the extra types beyond java.sql.Types. 005 */ 006public interface ExtraDbTypes { 007 008 /** 009 * Type to map Map content to Postgres HSTORE. 010 */ 011 int HSTORE = 5000; 012 013 /** 014 * Type to map JSON content to Clob or Postgres JSON type. 015 */ 016 int JSON = 5001; 017 018 /** 019 * Type to map JSON content to Clob or Postgres JSONB type. 020 */ 021 int JSONB = 5002; 022 023 /** 024 * Type to map JSON content to VARCHAR. 025 */ 026 int JSONVarchar = 5003; 027 028 /** 029 * Type to map JSON content to Clob. 030 */ 031 int JSONClob = 5004; 032 033 /** 034 * Type to map JSON content to Blob. 035 */ 036 int JSONBlob = 5005; 037 038 int LOCALDATETIME = 5009; 039 040 /** 041 * DB native UUID type (H2 and Postgres). 042 */ 043 int UUID = 5010; 044 int INET = 5020; 045 int CIDR = 5021; 046 047 /** 048 * Geo Point 049 */ 050 int POINT = 6000; 051 052 /** 053 * Geo Polygon 054 */ 055 int POLYGON = 6001; 056 057 /** 058 * Geo Point 059 */ 060 int LINESTRING = 6002; 061 062 /** 063 * Geo MultiPolygon 064 */ 065 int MULTIPOINT = 6005; 066 067 /** 068 * Geo MultiPolygon 069 */ 070 int MULTIPOLYGON = 6006; 071 072 /** 073 * Geo MultiPolygon 074 */ 075 int MULTILINESTRING = 6007; 076 077}