no.sesat.search.query.token
Interface TokenEvaluationEngine.State

All Superinterfaces:
Serializable
All Known Implementing Classes:
EvaluationState
Enclosing interface:
TokenEvaluationEngine

public static interface TokenEvaluationEngine.State
extends Serializable

Holder for evaluation state during the engine's evaluation. Evaluation on any term, clause, or query requires state of the current term and query, and of the already matched known and possible predicates.


Method Summary
 Set<TokenPredicate> getKnownPredicates()
          known matching predicates.
 Set<TokenPredicate> getPossiblePredicates()
          possible matching predicates.
 Query getQuery()
          the current query, or null if in term-evaluation mode.
 String getTerm()
          the current clause's term, or null if in query-evaluation mode.
 

Method Detail

getTerm

String getTerm()
the current clause's term, or null if in query-evaluation mode. *

Returns:

getQuery

Query getQuery()
the current query, or null if in term-evaluation mode. *

Returns:

getKnownPredicates

Set<TokenPredicate> getKnownPredicates()
known matching predicates. by making this available performance is improved. *

Returns:

getPossiblePredicates

Set<TokenPredicate> getPossiblePredicates()
possible matching predicates. by making this available performance is improved. *

Returns:


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