How to get note location on disk?

Is there some API method to get the location of a note?

The note is only stored in the Database, not in the filesystem.