Package org.apache.lucene.search
Class SortedNumericSortField.Provider
java.lang.Object
org.apache.lucene.index.SortFieldProvider
org.apache.lucene.search.SortedNumericSortField.Provider
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
- Enclosing class:
- SortedNumericSortField
A SortFieldProvider for this sort field
-
Field Summary
FieldsFields inherited from class org.apache.lucene.index.SortFieldProvider
name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads a SortField from serialized bytesvoid
writeSortField
(SortField sf, DataOutput out) Writes a SortField to a DataOutputMethods inherited from class org.apache.lucene.index.SortFieldProvider
availableSortFieldProviders, forName, getName, reloadSortFieldProviders, write
-
Field Details
-
NAME
The name this provider is registered under- See Also:
-
-
Constructor Details
-
Provider
public Provider()Creates a new Provider
-
-
Method Details
-
readSortField
Description copied from class:SortFieldProvider
Reads a SortField from serialized bytes- Specified by:
readSortField
in classSortFieldProvider
- Throws:
IOException
-
writeSortField
Description copied from class:SortFieldProvider
Writes a SortField to a DataOutputThis is used to record index sort information in segment headers
- Specified by:
writeSortField
in classSortFieldProvider
- Throws:
IOException
-