org.gcube.opensearch.opensearchdatasource
Class OpenSearchDataSourceFactory

java.lang.Object
  extended by GCUBEPortType
      extended by org.gcube.opensearch.opensearchdatasource.OpenSearchDataSourceFactory

public class OpenSearchDataSourceFactory
extends GCUBEPortType

OpenSearchDataSourceFactory creates OpenSearchDatasourceResource instances and returns references to the created objects.

Author:
gerasimos.farantatos, NKUA

Constructor Summary
OpenSearchDataSourceFactory()
           
 
Method Summary
 CreateResourceResponse createResource(CreateResourceParams request)
          Creates an instance of the OpenSearchDataSourceResource class and returns a reference to it
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSearchDataSourceFactory

public OpenSearchDataSourceFactory()
Method Detail

createResource

public CreateResourceResponse createResource(CreateResourceParams request)
                                      throws GCUBEFault
Creates an instance of the OpenSearchDataSourceResource class and returns a reference to it

Parameters:
request - CreateResource - Object containing the set of searchable and presentable fields to be published and the set of OpenSearch and a set of OpenSearch providers that will be handled by the DataSource. Each provider is tied to a collection id, a generic resource id and possibly some fixed parameters that will be used while querying the first-level broker OpenSearch provider
Returns:
CreateResourceResponse - object containing the epr of the created OpenSearchDataSourceResource instance. The created resource will expose a number of query templates which can be used to query an OpenSearch Provider
Throws:
GCUBEFault - In case of error
See Also:
org.gcube.opensearch.opensearchserice.stubs.OpenSearchDataSourceFactoryPortType}