NAME
Bio::Das::ProServer::SourceAdaptor::Transport::file
VERSION
$Revision: 453 $
SYNOPSIS
DESCRIPTION
A simple data transport for tab-separated files. Access is via the 'query' method. Expects a tab-separated file with no header line.
SUBROUTINES/METHODS
query - Execute a basic query against a text file
assume text files are tab delimited (?)
queries are of the form:
$filetransport->query(qq(field1 = 'value'));
$filetransport->query(qq(field1 lceq 'value'));
$filetransport->query(qq(field3 like '%value%'));
compound queries not (yet) supported
last_modified - machine time of last data change
$dbitransport->last_modified();
DESTROY - object destructor - disconnect filehandle
Generally not directly invoked, but if you really want to -
$filetransport->DESTROY();
DIAGNOSTICS
Run ProServer with the -debug flag.
CONFIGURATION AND ENVIRONMENT
Configured as part of each source's ProServer 2 INI file:
[myfile]
... source configuration ...
transport = file
filename = /data/features.tsv
unique = 1 # optional
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
Compound queries are not supported.
AUTHOR
Roger Pettett <rmp@sanger.ac.uk>.
LICENSE AND COPYRIGHT
Copyright (c) 2008 The Sanger Institute
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.