Qore DataProvider Module Reference  2.5
DataProvider::NullDataProviderFactory Class Reference

The null data provider factory. More...

Inheritance diagram for DataProvider::NullDataProviderFactory:

Protected Member Functions

Class getClassImpl ()
 Returns the class for the data provider object.
 
hash< DataProviderFactoryInfogetInfoImpl ()
 Returns static factory information without provider_info. More...
 
hash< DataProviderInfogetProviderInfoImpl ()
 Returns static provider information.
 
- Protected Member Functions inherited from DataProvider::AbstractDataProviderFactory
 error (string err, string fmt)
 thrown an exception
 
list< hash< auto > > getExampleProviderRecordOutputImpl (InputStream example, *hash< auto > constructor_options)
 Returns information about a data provider constructor given the example data as an argument. More...
 
string getNameImpl ()
 Returns the name of the data provider factory.
 
AbstractDataProvider getProviderFromExampleImpl (InputStream example, *hash< auto > constructor_options)
 Returns a data provider given the example data and constructor options as arguments. More...
 

Protected Attributes

const FactoryInfo
 Factory info.
 

Static Protected Attributes

static Class cls = new Class("NullDataProvider")
 Data provider type info.
 

Additional Inherited Members

- Public Member Functions inherited from DataProvider::AbstractDataProviderFactory
AbstractDataProvider create (*hash< auto > options)
 Creates an object from the given constructor options.
 
Class getClass ()
 Returns the class for the data provider object.
 
list< hash< auto > > getExampleProviderRecordOutput (data example, *hash< auto > constructor_options)
 Returns information about a data provider constructor given the example data as an argument. More...
 
list< hash< auto > > getExampleProviderRecordOutput (InputStream example, *hash< auto > constructor_options)
 Returns information about a data provider constructor given the example data as an argument. More...
 
hash< DataProviderFactoryInfogetInfo ()
 Returns static factory information. More...
 
hash< auto > getInfoAsData (*bool with_type_info)
 Returns static provider information as data; no objects are returned. More...
 
string getName ()
 Returns the name of the data provider factory.
 
AbstractDataProvider getProviderFromExample (data example, *hash< auto > constructor_options)
 Returns a data provider given the example data and constructor options as arguments. More...
 
AbstractDataProvider getProviderFromExample (InputStream example, *hash< auto > constructor_options)
 Returns a data provider given the example data and constructor options as arguments. More...
 
hash< DataProviderInfogetProviderInfo ()
 Returns static provider information. More...
 

Detailed Description

The null data provider factory.

Member Function Documentation

◆ getInfoImpl()

hash<DataProviderFactoryInfo> DataProvider::NullDataProviderFactory::getInfoImpl ( )
protectedvirtual

Returns static factory information without provider_info.

Returns
static factory information without provider_info which is provided by getProviderInfo()

Implements DataProvider::AbstractDataProviderFactory.

6fb">
Qore::Dir::listDirs
list< auto > listDirs(bool full=False)
Retrieves all subdirectory entries in this directory, except "." and ".." directories; if any errors ...
Qore::Dir::chgrp
nothing chgrp(int gid)
Change the group membership of the directory from the group id.
Qore::Dir::stat
list< auto > stat()
Returns a list of file status information for the current directory.
Qore::Dir::removeFile
bool removeFile(string file)
Remove the file with the given name in the Dir object's directory.
Qore::Dir::rmdir
nothing rmdir(string subdir)
Removes a direct subdirectory from the Dir object's current path.
Qore::Dir::openDir
Dir openDir(string subdir, *string encoding)
Get a Dir object as an subdir entry of the current directory.
Qore::Dir::hstat
hash< StatInfo > hstat()
Returns a StatInfo hash of file status information for the current directory.
Qore::Dir::statvfs
hash< FilesystemInfo > statvfs()
Returns a FilesystemInfo hash for the current directory.
Qore::Dir::chdir
bool chdir(string path)
Changes the current directory of the Dir object to the path given.
Qore::Dir::exists
bool exists()
Returns True if the path in the Dir object points to a directory that already exists and is openable ...
Qore::Dir::listFiles
list< auto > listFiles(string regex, softint regex_options=0, softbool full=False)
Retrieves all files in the directory that match the given regular expression; if any errors occur an ...
Qore::Dir::list
list< auto > list(string regex, softint regex_options=0, softbool full=False)
Gets all entries in the directory that match the given regular expression (except "....
Qore::Dir::constructor
constructor(*string encoding)
Creates the Directory object.
Qore::Dir::list
list< auto > list(bool full=False)
Get all entries in this directory, except "." and ".." directories; if any errors occur an exception ...
Qore::Dir::chown
nothing chown(int uid)
Change the ownership of the directory from the userid.
Qore::Dir::create
int create(softint mode=0777)
Creates the directory tree the Dir object points to, if it does not exist.
Qore::Dir::path
*string path()
Returns the path of the Dir object or NOTHING if no path is set.
Qore::Dir::chmod
nothing chmod(softint mode)
Changes the mode of the directory.
Qore::Dir::chgrp
nothing chgrp(string groupname)
Change the group membership of the directory.
Qore::Dir::listFiles
list< auto > listFiles(bool full=False)
Retrieves all files in this directory; if any errors occur an exception is thrown.
Qore::Dir::listDirs
list< auto > listDirs(string regex, softint regex_options=0, softbool full=False)
Gets all subdirectory entries in the directory that match the given regular expression (except "....
Qore::Dir::mkdir
nothing mkdir(string subdir, softint mode=0777)
Creates a direct subdirectory in the Dir object's current path.
Qore::Dir::copy
copy()
Creates a new directory object with the same character encoding specification and the same path as th...
Qore::File
The File class allows Qore programs to read, write, and create files.
Definition: QC_File.dox.h:51
Qore::False
const False
logical False
Definition: qc_qore.dox.h:96
Qore::date
date date(date dt)
Returns the date passed.
Qore::O_RDONLY
const O_RDONLY
Open the file read-only.
Definition: QC_File.dox.h:781
Qore::regex
bool regex(string str, string regex, int options=0)
Returns True if the regular expression matches the string passed, otherwise returns False.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::DirStatInfo
file status information hash as returned by Dir::list(), Dir::listFiles(), and Dir::listDirs() if the...
Definition: QC_Dir.dox.h:7
Qore::DirStatInfo::gid
int gid
group ID of the owner
Definition: QC_Dir.dox.h:19
Qore::DirStatInfo::blocks
int blocks
blocks allocated for the file; may be zero if the platform's internal stat() (2) function does not pr...
Definition: QC_Dir.dox.h:13
Qore::DirStatInfo::type
string type
a string giving the file type; one of: - "BLOCK-DEVICE" - "DIRECTORY" - "CHARACTER-DEVICE" - "...
Definition: QC_Dir.dox.h:39
Qore::DirStatInfo::mtime
date mtime
last modified time of the file
Definition: QC_Dir.dox.h:27
Qore::DirStatInfo::rdev
int rdev
device type number
Definition: QC_Dir.dox.h:35
Qore::DirStatInfo::size
int size
file size in bytes
Definition: QC_Dir.dox.h:37
Qore::DirStatInfo::perm
string perm
a string giving UNIX-style permissions for the file (ex: "-rwxr-xr-x")
Definition: QC_Dir.dox.h:33
Qore::DirStatInfo::inode
int inode
inode of the file
Definition: QC_Dir.dox.h:21
Qore::DirStatInfo::blksize
int blksize
block size; may be zero if the platform's internal stat() (2) function does not provide this info
Definition: QC_Dir.dox.h:11
Qore::DirStatInfo::nlink
int nlink
number of hard links to this file
Definition: QC_Dir.dox.h:31
Qore::DirStatInfo::name
string name
a string giving the file or directory name
Definition: QC_Dir.dox.h:29
Qore::DirStatInfo::mode
int mode
inode protection mode
Definition: QC_Dir.dox.h:25
Qore::DirStatInfo::ctime
date ctime
last change time of the file's inode
Definition: QC_Dir.dox.h:15
Qore::DirStatInfo::atime
date atime
last access time of the file
Definition: QC_Dir.dox.h:9
Qore::DirStatInfo::link
*string link
symbolic link target (if present)
Definition: QC_Dir.dox.h:23
Qore::DirStatInfo::dev
int dev
device inode number the file is on
Definition: QC_Dir.dox.h:17
Qore::DirStatInfo::uid
int uid
user ID of the owner
Definition: QC_Dir.dox.h:41