Man pages sections > man3 > CQL::Relation

CQL::Relation - object for CQL Relations

CQL::Relation(3pm) User Contributed Perl Documentation CQL::Relation(3pm)

NAME

CQL::Relation - object for CQL Relations

SYNOPSIS

DESCRIPTION

CQL::Relation represents the common CQL relation operations ( =, >, <, any, all and exact. In addition modifiers may be applied (stem, relevant, fuzzy, phonetic). The operators are passed into the constructor as the base relation.

METHODS

new()

Creates a new CQL::Relation object with the specified base relation.

getBase()

Returns the base relation with which the CQL::Relation object was originally created.

addModifier()

Adds a new relation modifier to the specified CQLRelation. Typical relation modifiers include relevant, fuzzy stem and phonetic. On the whole, these modifiers have a meaningful interpretation only for the text relations.

getModifiers()

Returns a list of modifiers associated with a CQL relation.

toCQL()

toSwish()

toXCQL()

toLucene()

2012-11-05 perl v5.14.2