Package com.exasol.adapter.request
Interface AdapterRequest
-
- All Known Implementing Classes:
AbstractAdapterRequest
,CreateVirtualSchemaRequest
,DropVirtualSchemaRequest
,GetCapabilitiesRequest
,PushDownRequest
,RefreshRequest
,SetPropertiesRequest
public interface AdapterRequest
Common interface for Virtual Schema Adapter requests
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
executeWith(AdapterCallExecutor adapterCallExecutor, com.exasol.ExaMetadata metadata)
Execute an adapter call.SchemaMetadataInfo
getSchemaMetadataInfo()
Get the schema metadata that serves as context around the Virtual SchemaAdapterRequestType
getType()
Get the request typeString
getVirtualSchemaName()
Get the name of the Virtual Schema that this request is addressing
-
-
-
Method Detail
-
getSchemaMetadataInfo
SchemaMetadataInfo getSchemaMetadataInfo()
Get the schema metadata that serves as context around the Virtual Schema- Returns:
- schema metadata
-
getType
AdapterRequestType getType()
Get the request type- Returns:
- request type
-
getVirtualSchemaName
String getVirtualSchemaName()
Get the name of the Virtual Schema that this request is addressing- Returns:
- Virtual Schema name
-
executeWith
String executeWith(AdapterCallExecutor adapterCallExecutor, com.exasol.ExaMetadata metadata) throws AdapterException
Execute an adapter call.- Parameters:
adapterCallExecutor
- instance ofAdapterCallExecutor
metadata
- metadata for the context in which the adapter exists- Returns:
- response in a JSON format
- Throws:
AdapterException
- if some problem occurs
-
-