org.xcmis.spi.query
Class Score

java.lang.Object
  extended by org.xcmis.spi.query.Score

public class Score
extends Object

Provides decimal value in the interval [0,1] . Value is 0 if the object is considered by the repository as having absolutely no relevance with respect to the CONTAINS() function specified in the query. Value 1 if the object is considered by the repository as having absolutely complete relevance with respect to the CONTAINS() function specified in the query.

Version:
$Id: Score.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Andrey Parfonov

Constructor Summary
Score(String scoreColumnName, BigDecimal scoreValue)
           
 
Method Summary
 String getScoreColumnName()
           
 BigDecimal getScoreValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Score

public Score(String scoreColumnName,
             BigDecimal scoreValue)
Method Detail

getScoreColumnName

public String getScoreColumnName()
Returns:
alias column name defined for the SCORE() function.

getScoreValue

public BigDecimal getScoreValue()
Returns:
score value


Copyright © 2010 eXo Platform SAS. All Rights Reserved.