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 * DB native UUID type (H2 and Postgres). 010 */ 011 int UUID = 5010; 012 013 /** 014 * Type to map Map content to Postgres HSTORE. 015 */ 016 int HSTORE = 5000; 017 018 /** 019 * Type to map JSON content to Clob or Postgres JSON type. 020 */ 021 int JSON = 5001; 022 023 /** 024 * Type to map JSON content to Clob or Postgres JSONB type. 025 */ 026 int JSONB = 5002; 027 028 /** 029 * Type to map JSON content to VARCHAR. 030 */ 031 int JSONVarchar = 5003; 032 033 /** 034 * Type to map JSON content to Clob. 035 */ 036 int JSONClob = 5004; 037 038 /** 039 * Type to map JSON content to Blob. 040 */ 041 int JSONBlob = 5005; 042 043 int INET = 5020; 044 int CIDR = 5021; 045 046 /** 047 * Geo Point 048 */ 049 int POINT = 6000; 050 051 /** 052 * Geo Polygon 053 */ 054 int POLYGON = 6001; 055 056 /** 057 * Geo Point 058 */ 059 int LINESTRING = 6002; 060 061 /** 062 * Geo MultiPolygon 063 */ 064 int MULTIPOINT = 6005; 065 066 /** 067 * Geo MultiPolygon 068 */ 069 int MULTIPOLYGON = 6006; 070 071 /** 072 * Geo MultiPolygon 073 */ 074 int MULTILINESTRING = 6007; 075 076}