void terrama2::core::DataAccessorJsonCemaden::retrieveDataCallback(const DataRetrieverPtr /*dataRetriever*/,
                                                                    DataSetPtr /*dataSet*/,
                                                                    const Filter& /*filter*/,
                                                                    std::shared_ptr<FileRemover> /*remover*/,
                                                                    std::function<void(const std::string &, const std::string &)> /*processFile*/) const
{
  QString errMsg = QObject::tr("Invalid method call.");
  throw NotRetrivableException() << ErrorDescription(errMsg);
}
Example #2
0
std::string terrama2::core::DataRetriever::retrieveData(const std::string& query,
                                                        const Filter& filter,
                                                        std::shared_ptr<terrama2::core::FileRemover> remover,
                                                        const std::string& temporaryFolder,
                                                        const std::string& folderPath)
{
  QString errMsg = QObject::tr("Non retrievable DataRetriever.");
  throw NotRetrivableException() << ErrorDescription(errMsg);
}
Example #3
0
te::dt::TimeInstantTZ terrama2::core::DataRetriever::lastDateTime() const
{
  QString errMsg = QObject::tr("Non retrievable DataRetriever.");
  throw NotRetrivableException() << ErrorDescription(errMsg);
}