Class AbstractTypeMapper

    • Constructor Detail

      • AbstractTypeMapper

        public AbstractTypeMapper()
    • Method Detail

      • contentTypeToSqlType

        public abstract int contentTypeToSqlType​(Cell.ContentType contentType)
        Returns the SQL type corresponding to the cell content type.
        Parameters:
        contentType - the type to convert
        Returns:
        the associated SQL type
        See Also:
        Types
      • contentTypeToSqlCreateType

        public abstract String contentTypeToSqlCreateType​(Cell.ContentType contentType,
                                                          String stringType)
        Returns the column type used for create table statements.
        Parameters:
        contentType - the type to get the type for
        stringType - the default string type
        Returns:
        the associated create string