NAME
DDC::Client::Distributed - DDC Query utilities: client for distributed server
SYNOPSIS
##========================================================================
## PRELIMINARIES
use DDC::Client;
use DDC::Client::Distributed;
##========================================================================
## Constructors etc
$dc = $CLASS_OR_OBJ->new(%args);
##========================================================================
## Querying
$buf = $dc->queryRaw($query_string);
$buf = $dc->queryRawNC($query_string);
@bufs = $dc->queryMulti(@query_strings);
$hits = $dc->query($query_string);
## ... or any DDC::Client method ...
DESCRIPTION
Globals
- Variable: @ISA
-
DDC::Client::Distributed inherits from DDC::Client7.
Constructors etc
- new
-
$dc = $CLASS_OR_OBJ->new(%args);
Querying
- queryRaw
-
$buf = $dc->queryRaw($query_string);
Send a query string to the selected server and returns the raw result buffer. Implicitly close()s the connection.
- queryRawNC
-
$buf = $dc->queryRawNC($query_string);
Send a query string to the selected server and returns the raw result buffer. No implicit close().
- queryMulti
-
@bufs = $dc->queryMulti(@query_strings);
Sends a series of query strings or requests to the server, and returns a list of raw result buffers. Implicitly close()s the client after all requests have been sent, but not between individual requests.
- query
-
$hits = $dc->query($query_string);
Send a query string to the selected server and parses the result into a list of hits.
AUTHOR
Bryan Jurish <moocow@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2006-2016 by Bryan Jurish
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.