Class DBLoader.Type

  • Enclosing class:
    DBLoader

    public static class DBLoader.Type
    extends java.lang.Object
    Represents a logical type, such as "BOOLEAN".

    Specific databases will represent this their own particular physical type, for example "TINYINT(1)", "BOOLEAN" or "BIT"; see toPhysical(mondrian.spi.Dialect).

    • Constructor Detail

      • Type

        public Type​(java.lang.String name)
    • Method Detail

      • getType

        public static DBLoader.Type getType​(java.lang.String typeName)
      • makeType

        public static DBLoader.Type makeType​(java.lang.String typeName)
      • getName

        public java.lang.String getName()
      • toPhysical

        public java.lang.String toPhysical​(Dialect dialect)
        Returns the physical type which a given RDBMS (dialect) uses to represent this logical type.
        Parameters:
        dialect - Dialect
        Returns:
        Physical type the dialect uses to represent this type