Class DefaultDataTypeFactory

java.lang.Object
org.tentackle.sql.DefaultDataTypeFactory
All Implemented Interfaces:
DataTypeFactory

@Service(DataTypeFactory.class) public class DefaultDataTypeFactory extends Object implements DataTypeFactory
  • Constructor Details

    • DefaultDataTypeFactory

      public DefaultDataTypeFactory()
      Creates the datatype factory.
  • Method Details

    • get

      public DataType<?> get(String name, String variant)
      Description copied from interface: DataTypeFactory
      Gets the datatype singleton.
      Specified by:
      get in interface DataTypeFactory
      Parameters:
      name - the type name
      variant - the type variant, empty string if none
      Returns:
      the datatype, null if no such type
    • getConvertibleType

      public ConvertibleType getConvertibleType()
      Description copied from interface: DataTypeFactory
      Gets the special convertible type singleton.
      Specified by:
      getConvertibleType in interface DataTypeFactory
      Returns:
      the application specific wrapper type