NAME

CQL::TermNode - represents a terminal Node in a CQL Parse Tree

SYNOPSIS

DESCRIPTION

CQL::TermNode represents a terminal in a CQL parse tree. A term node consists of the string itself with optional qualifier string and relation. Examples could include:

  • george

  • dc.creator=george

METHODS

new()

The constructor which has must have at least a term attribute, and can also include optional qualifier and modifier terms.

getQualifier()

Get the qualifier in the terminal.

getRelation()

Get the relation in the terminal.

getTerm()

Get the actual term string in the terminal.

toCQL()

Returns a CQL representation of the terminal node.

toSwish()

toXCQL()

toLucene()