public interface VirtualSchemaAdapter
This interface provides a number of handler functions for different types of requests a virtual schema adapter can receive from the Exasol core database.
| Modifier and Type | Method | Description |
|---|---|---|
CreateVirtualSchemaResponse |
createVirtualSchema(com.exasol.ExaMetadata metadata,
CreateVirtualSchemaRequest request) |
Create a Virtual Schema
|
DropVirtualSchemaResponse |
dropVirtualSchema(com.exasol.ExaMetadata metadata,
DropVirtualSchemaRequest request) |
Drop an existing Virtual Schema
|
GetCapabilitiesResponse |
getCapabilities(com.exasol.ExaMetadata metadata,
GetCapabilitiesRequest request) |
Get the capabilities the adapter registered for a Virtual Schema supports
|
PushDownResponse |
pushdown(com.exasol.ExaMetadata metadata,
PushDownRequest request) |
Create a push down request
|
RefreshResponse |
refresh(com.exasol.ExaMetadata metadata,
RefreshRequest request) |
Refresh the Virtual Schema metadata for a given set of tables
|
SetPropertiesResponse |
setProperties(com.exasol.ExaMetadata metadata,
SetPropertiesRequest request) |
Set Virtual Schema properties
|
CreateVirtualSchemaResponse createVirtualSchema(com.exasol.ExaMetadata metadata, CreateVirtualSchemaRequest request) throws AdapterException
metadata - context metadatarequest - request containing the details of the Virtual Schema to be createdAdapterException - if the adapter can't handle the requestDropVirtualSchemaResponse dropVirtualSchema(com.exasol.ExaMetadata metadata, DropVirtualSchemaRequest request) throws AdapterException
metadata - context metadatarequest - request containing the details of the Virtual Schema to be droppedAdapterException - if the adapter can't handle the requestRefreshResponse refresh(com.exasol.ExaMetadata metadata, RefreshRequest request) throws AdapterException
metadata - context metadatarequest - request containing the list of tables for which the metadata should be refreshedAdapterException - if the adapter can't handle the requestSetPropertiesResponse setProperties(com.exasol.ExaMetadata metadata, SetPropertiesRequest request) throws AdapterException
metadata - context metadatarequest - request containing the properties to be setAdapterException - if the adapter can't handle the requestGetCapabilitiesResponse getCapabilities(com.exasol.ExaMetadata metadata, GetCapabilitiesRequest request) throws AdapterException
metadata - context metadatarequest - capabilities requestAdapterException - if the adapter can't handle the requestPushDownResponse pushdown(com.exasol.ExaMetadata metadata, PushDownRequest request) throws AdapterException
metadata - context metadatarequest - request containing the SQL statement to be pushed down to the external sourceAdapterException - if the adapter can't handle the requestCopyright © 2019. All rights reserved.