By providing methods that throw NotImplemented.
subdomains)));
}
+DatabaseAccessor::IteratorContextPtr
+SQLite3Accessor::getNSEC3Records(const std::string&, int) const {
+ // TODO: Implement
+ isc_throw(NotImplemented, "Not implemented yet, see ticket #1760");
+}
+
DatabaseAccessor::IteratorContextPtr
SQLite3Accessor::getAllRecords(int id) const {
return (IteratorContextPtr(new Context(shared_from_this(), id)));
int id,
bool subdomains = false) const;
+ /// \brief Look up NSEC3 records for the given hash
+ ///
+ /// This implements the getNSEC3Records of DatabaseAccessor.
+ ///
+ /// \todo Actually implement, currently throws NotImplemented.
+ virtual IteratorContextPtr getNSEC3Records(const std::string& hash,
+ int id) const;
+
/** \brief Look up all resource records for a zone
*
* This implements the getRecords() method from DatabaseAccessor
virtual IteratorContextPtr getRecords(const std::string&, int, bool)
const
- {
+ {
isc_throw(isc::NotImplemented,
"This database datasource can't be iterated");
}
+ virtual IteratorContextPtr getNSEC3Records(const std::string&, int) const {
+ isc_throw(isc::NotImplemented, "This test database datasource won't "
+ "give you any NSEC3. Ever. Ask someone else.");
+ }
+
virtual IteratorContextPtr getAllRecords(int) const {
isc_throw(isc::NotImplemented,
"This database datasource can't be iterated");