Package com.exasol.adapter
Class RequestDispatcher
- java.lang.Object
-
- com.exasol.adapter.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 theAdapterCallExecutor
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
adapterCall(com.exasol.ExaMetadata metadata, String rawRequest)
Main entry point for all Virtual Schema Adapter requests issued by the Exasol database.
-
-
-
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
-
-