C# Класс Lucene.Net.Spatial.Util.ShapePredicateValueSource

A boolean ValueSource that compares a shape from a provided ValueSource with a given Shape and sees if it matches a given SpatialOperation (the predicate). @lucene.experimental
Наследование: ValueSource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateWeight ( IDictionary context, IndexSearcher searcher ) : void
Equals ( object o ) : bool
GetHashCode ( ) : int
GetValues ( IDictionary context, Lucene.Net.Index.AtomicReaderContext readerContext ) : Lucene.Net.Queries.Function.FunctionValues
ShapePredicateValueSource ( ValueSource shapeValuesource, SpatialOperation op, IShape queryShape ) : Lucene.Net.Index

Описание методов

CreateWeight() публичный Метод

public CreateWeight ( IDictionary context, IndexSearcher searcher ) : void
context IDictionary
searcher Lucene.Net.Search.IndexSearcher
Результат void

Equals() публичный Метод

public Equals ( object o ) : bool
o object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

GetValues() публичный Метод

public GetValues ( IDictionary context, Lucene.Net.Index.AtomicReaderContext readerContext ) : Lucene.Net.Queries.Function.FunctionValues
context IDictionary
readerContext Lucene.Net.Index.AtomicReaderContext
Результат Lucene.Net.Queries.Function.FunctionValues

ShapePredicateValueSource() публичный Метод

public ShapePredicateValueSource ( ValueSource shapeValuesource, SpatialOperation op, IShape queryShape ) : Lucene.Net.Index
shapeValuesource ValueSource /// Must yield instances from it's ObjectVal(doc). If null /// then the result is false. This is the left-hand (indexed) side. ///
op Lucene.Net.Spatial.Queries.SpatialOperation the predicate
queryShape IShape The shape on the right-hand (query) side.
Результат Lucene.Net.Index