tensorflow::FileSystemRegistry

This is an abstract class.

#include <file_system.h>

A registry for file system implementations.

Summary

Filenames are specified as an URI, which is of the form [scheme://]. File system implementations are registered using the REGISTER_FILE_SYSTEM macro, providing the 'scheme' as the key.

Constructors and Destructors

~FileSystemRegistry()

Public types

Factory typedef
std::function< FileSystem *()>

Public functions

GetRegisteredFileSystemSchemes(std::vector< string > *schemes)=0
virtual Status
Lookup(const string & scheme)=0
virtual FileSystem *
Register(const string & scheme, Factory factory)=0
virtual Status

Public types

Factory

std::function< FileSystem *()> Factory

Public functions

GetRegisteredFileSystemSchemes

virtual Status GetRegisteredFileSystemSchemes(
  std::vector< string > *schemes
)=0

Lookup

virtual FileSystem * Lookup(
  const string & scheme
)=0

Register

virtual Status Register(
  const string & scheme,
  Factory factory
)=0

~FileSystemRegistry

virtual  ~FileSystemRegistry()