Class TypeCompilerFactoryImpl

java.lang.Object
org.apache.derby.impl.sql.compile.TypeCompilerFactoryImpl
All Implemented Interfaces:
TypeCompilerFactory

public class TypeCompilerFactoryImpl extends Object implements TypeCompilerFactory
  • Field Details

  • Constructor Details

    • TypeCompilerFactoryImpl

      public TypeCompilerFactoryImpl()
  • Method Details

    • getTypeCompiler

      public TypeCompiler getTypeCompiler(TypeId typeId)
      Get a TypeCompiler corresponding to the given TypeId
      Specified by:
      getTypeCompiler in interface TypeCompilerFactory
      Parameters:
      typeId - The TypeId to get a TypeCompiler for
      Returns:
      The corresponding TypeCompiler
    • staticGetTypeCompiler

      static TypeCompiler staticGetTypeCompiler(TypeId typeId)
    • getAnInstance

      private static TypeCompiler getAnInstance(String className, TypeCompiler anInstance, TypeId typeId)
      Check whether the given TypeCompiler has been allocated yet. If so, just return it, otherwise allocate a new instance given its class.