Taxi::Mysql::Query::Boolean - extendable full-text index using mysql: abstract queries: boolean combinations


NAME

Taxi::Mysql::Query::Boolean - extendable full-text index using mysql: abstract queries: boolean combinations

(Back to Top)


PACKAGES

Taxi::Mysql::Query::Boolean
Taxi::Mysql::Query::And
Taxi::Mysql::Query::Or
Taxi::Mysql::Query::Not

(Back to Top)


SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 use Taxi::Mysql::Query::Boolean;

Taxi::Mysql::Query::Boolean Synopsis

 $q = $CLASS_OR_OBJ->new(args=>\@argument_queries, ...);
 $q = $q->expand();

Taxi::Mysql::Query::And Synopsis

 $q = $q->expand();

Taxi::Mysql::Query::Or Synopsis

 $q = $q->expand($or_q1, $or_q2, ...);

Taxi::Mysql::Query::Not Synopsis

 $q = $q->expand($not_query);

(Back to Top)


DESCRIPTION

Taxi::Mysql::Query::Boolean Description

Taxi::Mysql::Query::Boolean contains Taxi::Mysql::Query::Base subclasses for the usual logical connectives.

Globals etc.

Variable: @ISA

Taxi::Mysql::Query::Boolean inherits from Taxi::Mysql::Query::Base.

Constructors etc.

new
 $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).

Taxi::Mysql::Query::And Description

Implements logical conjunction.

Taxi::Mysql::Query::Or Description

Implements logical disjunction.

Taxi::Mysql::Query::Not Description

Implements logical negation of a single query. Constructor also supports a single-valued keyword argument 'arg'.

(Back to Top)


ACKNOWLEDGEMENTS

Perl by Larry Wall.

(Back to Top)


AUTHOR

Bryan Jurish <moocow@ling.uni-potsdam.de>

(Back to Top)


COPYRIGHT AND LICENSE

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.

(Back to Top)


SEE ALSO

perl(1), Taxi::Mysql(3perl), Taxi::Mysql::Query::Base(3perl), Taxi::Mysql::Query::Parser(3perl).

(Back to Top)

 Taxi::Mysql::Query::Boolean - extendable full-text index using mysql: abstract queries: boolean combinations