OmniSciDB  5ade3759e0
com.mapd.utility.db_vendors.Db_vendor_types Class Referenceabstract
+ Inheritance diagram for com.mapd.utility.db_vendors.Db_vendor_types:
+ Collaboration diagram for com.mapd.utility.db_vendors.Db_vendor_types:

Public Member Functions

abstract String find_gis_type (Connection conn, String source_column_name, String source_column_type_name) throws SQLException
 
abstract String get_wkt (ResultSet rs, int column_number, String gis_type_name) throws SQLException
 

Static Public Member Functions

static com.mapd.utility.db_vendors.Db_vendor_types Db_vendor_factory (String connection_str)
 

Protected Member Functions

 Db_vendor_types ()
 

Static Protected Attributes

static HashSet< Integer > valid_srid
 

Detailed Description

Definition at line 13 of file Db_vendor_types.java.

Constructor & Destructor Documentation

◆ Db_vendor_types()

com.mapd.utility.db_vendors.Db_vendor_types.Db_vendor_types ( )
inlineprotected

Definition at line 14 of file Db_vendor_types.java.

14 {}

Member Function Documentation

◆ Db_vendor_factory()

static com.mapd.utility.db_vendors.Db_vendor_types com.mapd.utility.db_vendors.Db_vendor_types.Db_vendor_factory ( String  connection_str)
inlinestatic

Definition at line 27 of file Db_vendor_types.java.

Referenced by com.mapd.utility.SQLImporter.executeQuery().

28  {
29  if (connection_str.toLowerCase().contains("postgres"))
31  return null;
32  }
+ Here is the caller graph for this function:

◆ find_gis_type()

abstract String com.mapd.utility.db_vendors.Db_vendor_types.find_gis_type ( Connection  conn,
String  source_column_name,
String  source_column_type_name 
) throws SQLException
abstract

Referenced by com.mapd.utility.SQLImporter.createMapDTable().

+ Here is the caller graph for this function:

◆ get_wkt()

abstract String com.mapd.utility.db_vendors.Db_vendor_types.get_wkt ( ResultSet  rs,
int  column_number,
String  gis_type_name 
) throws SQLException
abstract

Referenced by com.mapd.utility.SQLImporter.setColValue().

+ Here is the caller graph for this function:

Member Data Documentation

◆ valid_srid

HashSet<Integer> com.mapd.utility.db_vendors.Db_vendor_types.valid_srid
staticprotected
Initial value:
= new HashSet() {
{
add(4326);
add(900913);
}
}

Definition at line 15 of file Db_vendor_types.java.

Referenced by com.mapd.utility.db_vendors.PostGis_types.find_type_detail().


The documentation for this class was generated from the following file: