C# Class Lucene.Net.Queries.Function.ValueSources.IfFunction

Depending on the boolean value of the ifSource function, returns the value of the trueSource or falseSource function.
Inheritance: BoolFunction
Mostrar archivo Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
CreateWeight ( IDictionary context, IndexSearcher searcher ) : void
Equals ( object o ) : bool
GetHashCode ( ) : int
GetValues ( IDictionary context, Lucene.Net.Index.AtomicReaderContext readerContext ) : FunctionValues
IfFunction ( ValueSource ifSource, ValueSource trueSource, ValueSource falseSource ) : System.Collections

Method Details

CreateWeight() public method

public CreateWeight ( IDictionary context, IndexSearcher searcher ) : void
context IDictionary
searcher Lucene.Net.Search.IndexSearcher
return void

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetValues() public method

public GetValues ( IDictionary context, Lucene.Net.Index.AtomicReaderContext readerContext ) : FunctionValues
context IDictionary
readerContext Lucene.Net.Index.AtomicReaderContext
return FunctionValues

IfFunction() public method

public IfFunction ( ValueSource ifSource, ValueSource trueSource, ValueSource falseSource ) : System.Collections
ifSource ValueSource
trueSource ValueSource
falseSource ValueSource
return System.Collections