no.sesat.search.query
Interface LeafClause

All Superinterfaces:
Clause, Serializable, no.sesat.commons.visitor.Visitable
All Known Subinterfaces:
EmailClause, IntegerClause, NumberGroupClause, PhoneNumberClause, PhraseClause, UrlClause, WordClause
All Known Implementing Classes:
AbstractLeafClause, EmailClauseImpl, IntegerClauseImpl, NumberGroupClauseImpl, PhoneNumberClauseImpl, PhraseClauseImpl, UrlClauseImpl, WordClauseImpl

public interface LeafClause
extends Clause

A clause representing a leaf. That is, a term or word in the query string.

Version:
$Id: LeafClause.java 7225 2009-04-09 00:32:20Z ssmiweve $

Method Summary
 String getField()
          Leaf clauses can be specified with a field.
 
Methods inherited from interface no.sesat.search.query.Clause
getKnownPredicates, getPossiblePredicates, getTerm
 
Methods inherited from interface no.sesat.commons.visitor.Visitable
accept
 

Method Detail

getField

String getField()
Leaf clauses can be specified with a field. For example: "firstname:magnus" gives a LeafClause with term = magnus and field = firstname.

Returns:
the field for this Clause.


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.