SYNOPSIS
use RefDB::SRU;
my $sru_query = new RefDB::SRU(\%params);
print $sru_query->result();
DESCRIPTION
Implements the backend code of a SRU service to query RefDB databases. Your own code must provide the networking interface which invokes the code in this moduleFEEDBACK
Send bug reports, questions, and comments to the refdb-users mailing list at:For list information and archives, please visit:
AUTHOR
Markus Hoenicka, [email protected]new
Title : newUsage : $diag = Diagnostics::new($number, $detail)
Function: creates a new Diagnostics object
Parameter: $number: the SRU diagnostic number
Parameter: $detail: the SRU diagnostic detail
diag_uri
Title : diag_uriUsage : $uri = $diag->diag_uri()
Function: returns the URI associated with the diagnostic
diag_detail
Title : diag_detailUsage : $detail = $diag->diag_detail()
Function: returns the detail associated with the diagnostic
diag_message
Title : diag_messageUsage : $message = $diag->diag_message()
Function: returns the message associated with the diagnostic
visit
Title : visitUsage : called by CQL parser at each node
Function: processes each node
boolean
Title : booleanUsage : called by visit
Function: translates boolean notes into the RefDB syntax
term
Title : termUsage : called by visit()
Function: translates qualifier and terms into RefDB syntax
_translate_regex
Title : _translage_regexUsage : _translate_regex($string)
Function: translates regular expressions from the CQL syntax to the database engine syntax
_maybeQuote
Title : _maybeQuoteUsage : _maybeQuote($string)
Function: quotes particular characters
package functions
new
Title : newUsage : $my_query->new(\%params);
Function: creates and initializes a new query object
Arguments: reference to a hash containing the query parameter-value pairs
Returns : new object
print_vars
Title : print_varsUsage : $my_query->print_vars;
Function: displays the parameter/value pairs for debugging purposes
run
Title : runUsage : $my_query->run;
Function: analyzes the parameter values and runs an appropriate operation
response
Title : responseUsage : $query->response()
Function: accessor for the query response string