Taxi::Mysql::Query::Boolean - extendable full-text index using mysql: abstract queries: boolean combinations |
Taxi::Mysql::Query::Boolean - extendable full-text index using mysql: abstract queries: boolean combinations
##======================================================================== ## PRELIMINARIES
use Taxi::Mysql::Query::Boolean;
$q = $CLASS_OR_OBJ->new(args=>\@argument_queries, ...); $q = $q->expand();
$q = $q->expand();
$q = $q->expand($or_q1, $or_q2, ...);
$q = $q->expand($not_query);
Taxi::Mysql::Query::Boolean contains Taxi::Mysql::Query::Base subclasses for the usual logical connectives.
Taxi::Mysql::Query::Boolean inherits from Taxi::Mysql::Query::Base.
$q = $CLASS_OR_OBJ->new(args=>\@argument_queries, ...);
New keyword argument 'args' in Taxi::Mysql::Query::Boolean has as its value an ARRAY-ref of underlying queries representing the operands of the logical connective represeted by the new boolean query object.
Default constructor implicitly calls $q->expand(@argument_queries).
Implements logical conjunction.
Implements logical disjunction.
Implements logical negation of a single query. Constructor also supports a single-valued keyword argument 'arg'.
Perl by Larry Wall.
Bryan Jurish <moocow@ling.uni-potsdam.de>
Copyright (C) 2006 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.8.7 or, at your option, any later version of Perl 5 you may have available.
perl(1), Taxi::Mysql(3perl), Taxi::Mysql::Query::Base(3perl), Taxi::Mysql::Query::Parser(3perl).
Taxi::Mysql::Query::Boolean - extendable full-text index using mysql: abstract queries: boolean combinations |