comparison PostgreSQL/Plugins/PostgreSQLIndex.cpp @ 557:d8ee2f676a3c find-refactoring

wip: started implementing Find in PostgreSQL
author Alain Mazy <am@orthanc.team>
date Fri, 13 Sep 2024 11:56:25 +0200
parents 25cfcb752af6
children f18e46d7dbf8 6667bd31beaf
comparison
equal deleted inserted replaced
556:7057d9db8d9a 557:d8ee2f676a3c
682 // backward compatibility is necessary 682 // backward compatibility is necessary
683 throw Orthanc::OrthancException(Orthanc::ErrorCode_Database); 683 throw Orthanc::OrthancException(Orthanc::ErrorCode_Database);
684 } 684 }
685 685
686 686
687 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) 687 // #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5)
688 bool PostgreSQLIndex::HasFindSupport() const 688 // bool PostgreSQLIndex::HasFindSupport() const
689 { 689 // {
690 // TODO-FIND 690 // // TODO-FIND
691 return false; 691 // return false;
692 } 692 // }
693 #endif 693 // #endif
694 694
695 695
696 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) 696 // #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5)
697 void PostgreSQLIndex::ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response, 697 // void PostgreSQLIndex::ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response,
698 DatabaseManager& manager, 698 // DatabaseManager& manager,
699 const Orthanc::DatabasePluginMessages::Find_Request& request) 699 // const Orthanc::DatabasePluginMessages::Find_Request& request)
700 { 700 // {
701 // TODO-FIND 701 // // TODO-FIND
702 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); 702 // throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented);
703 } 703 // }
704 #endif 704 // #endif
705 } 705 }