Basing directory contents on a query that is associated with a file identifier
First Claim
Patent Images
1. A method for responding to file requests received through a hierarchical file system interface, the method comprising the steps of:
- establishing a first association between a first file identifier and a first query;
establishing a second association between a second file identifier and a second query;
receiving through said hierarchical file system interface a request for a first listing of files within a first directory associated with said first file identifier;
executing said first query to generate a first set of data;
determining the first listing of files by determining which files are within said first directory based on said first set of data, wherein determining the first listing of files comprises determining one or more directories within said first directory; and
providing said first listing of files within said first directory through said hierarchical file system interface, wherein said first listing of files comprises a second directory associated with said second file identifier;
subsequently, executing said second query to generate a second set of data;
determining the contents of said second directory by determining which files are within said second directory based on said second set of data generated by executing the second query, wherein the contents of said second directory are not known before executing said second query; and
providing a second listing of files within said second directory through said hierarchical file system interface;
wherein the first query comprises a group by clause that specifies a group by key;
wherein the first listing of files correspond to values for said group by key.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for responding to file requests received through a file system interface. According to one technique, an association is established between a file identifier and a query. A request for a file associated with the file identifier is received through the file system interface. In response to the request, the following steps are performed: executing the query to generate a set of data; generating contents of the file based on the set of data; and providing the file through the file system interface.
117 Citations
6 Claims
-
1. A method for responding to file requests received through a hierarchical file system interface, the method comprising the steps of:
-
establishing a first association between a first file identifier and a first query; establishing a second association between a second file identifier and a second query; receiving through said hierarchical file system interface a request for a first listing of files within a first directory associated with said first file identifier; executing said first query to generate a first set of data; determining the first listing of files by determining which files are within said first directory based on said first set of data, wherein determining the first listing of files comprises determining one or more directories within said first directory; and providing said first listing of files within said first directory through said hierarchical file system interface, wherein said first listing of files comprises a second directory associated with said second file identifier; subsequently, executing said second query to generate a second set of data; determining the contents of said second directory by determining which files are within said second directory based on said second set of data generated by executing the second query, wherein the contents of said second directory are not known before executing said second query; and providing a second listing of files within said second directory through said hierarchical file system interface; wherein the first query comprises a group by clause that specifies a group by key; wherein the first listing of files correspond to values for said group by key. - View Dependent Claims (2, 3)
-
-
4. A computer-readable storage medium, comprising volatile or non-volatile media, storing instructions for responding to file requests received through a hierarchical file system interface, the computer-readable medium comprising instructions for performing the steps of:
-
establishing a first association between a first file identifier and a first query; establishing a second association between a second file identifier and a second query; receiving through said hierarchical file system interface a request for a first listing of files within a first directory associated with said first file identifier; executing said first query to generate a first set of data; generating the first listing of files by determining which files are within said first directory based on said first set of data, wherein determining the first listing of files comprises determining one or more directories within said first directory; and providing said first listing of files within said first directory through said hierarchical file system interface, wherein said first listing of files comprises a second directory associated with said second file identifier; subsequently, executing said second query to generate a second set of data; determining the contents of said second directory by determining which files are within said second directory based on said second set of data obtained by executing the second query, wherein the contents of said second directory are not known prior to executing said second query; and providing a second listing of files within said second directory through said hierarchical file system interface; wherein the first query comprises a group by clause that specifies a group by key; wherein the first listing of files correspond to values for said group by key. - View Dependent Claims (5, 6)
-
Specification