Class RequestDispatcher


  • public final class RequestDispatcher
    extends Object
    This class is the main entry point for calls to a Virtual Schema. It sets up the application and delegate the control to the AdapterCallExecutor.
    • Method Detail

      • adapterCall

        public static String adapterCall​(com.exasol.ExaMetadata metadata,
                                         String rawRequest)
                                  throws AdapterException
        Main entry point for all Virtual Schema Adapter requests issued by the Exasol database.
        Parameters:
        metadata - metadata for the context in which the adapter exists (e.g. the schema into which it is installed)
        rawRequest - request issued in the call to the Virtual Schema Adapter
        Returns:
        response resulting from the adapter call
        Throws:
        AdapterException - in case the request type is not recognized