Is there a way to retrieve data from table xdb_collection.Interactions in xdb_collection.shard0 datasource in my code? 

I already tried to use the method in the following link https://sitecore.stackexchange.com/questions/1221/sorting-pages-by-most-views/1232#1232 but it only works with the reporting datasource.