27 #include "../../dataaccess/datasource/DataSource.h"
28 #include "../../dataaccess/datasource/DataSourceFactory.h"
29 #include "../../dataaccess/datasource/DataSourceCapabilities.h"
30 #include "../../dataaccess/query/QueryCapabilities.h"
33 #include "../Exception.h"
34 #include "../Globals.h"
45 throw Exception(
TE_TR(
"ST Loader: Could not find a data source!"));
57 te::st::STDataLoaderImplFactory::STDataLoaderImplFactory(
const std::string& factoryKey)
58 :
te::common::AbstractFactory<STDataLoaderImpl,
std::string>(factoryKey)
62 te::st::STDataLoaderImplFactory::~STDataLoaderImplFactory()
An abstract class responsible for loading spatiotemporal data from data sources.
#define TE_TR(message)
It marks a string in order to get translated.
static const std::string sm_loaderFromMemDSIdentifier
The st data loader from in-mem data source.
static const std::string sm_loaderFromDSIdentifier
The st data loader from data source.
A class that informs the query support of a given data source.
static std::auto_ptr< DataSource > make(const std::string &dsType)
bool supportsSpatialSQLDialect() const
static TPRODUCT * make(const TFACTORYKEY &factoryKey)
It creates an object with the appropriated factory.
This is the abstract factory for STDataLoaderImpl.