Class TypesPostgreSQL

  • All Implemented Interfaces:
    Serializable

    public class TypesPostgreSQL
    extends AbstractTypes
    Column types for PostgreSQL.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • TypesPostgreSQL

        public TypesPostgreSQL()
    • Method Detail

      • toTypeString

        public String toTypeString​(int type,
                                   int size,
                                   boolean compare)
        Get a string representation of this type for comparison or create purposes.
        Specified by:
        toTypeString in class AbstractTypes
        Parameters:
        type - the type
        size - the size
        compare - if true then a string for comparison is returned, otherwise for creation
        Returns:
        string representation of this type
      • regexpKeyword

        public String regexpKeyword()
        Returns the keyword for regular expression matching in queries.
        Specified by:
        regexpKeyword in class AbstractTypes
        Returns:
        the keyword
      • handles

        public boolean handles​(String url)
        Checks whether this URL is handled.
        Specified by:
        handles in class AbstractTypes
        Parameters:
        url - the URL to check
        Returns:
        true if handled by this type class