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


CQL-Parser documentation  | view source Contained in the CQL-Parser distribution.

Index


NAME

Top

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

SYNOPSIS

Top

DESCRIPTION

Top

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

Top

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()


CQL-Parser documentation  | view source Contained in the CQL-Parser distribution.