Package org.apache.lucene.search
Class SortedSetSortField.Provider
- java.lang.Object
-
- org.apache.lucene.index.SortFieldProvider
-
- org.apache.lucene.search.SortedSetSortField.Provider
-
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
- Enclosing class:
- SortedSetSortField
public static final class SortedSetSortField.Provider extends SortFieldProvider
A SortFieldProvider for this sort
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
The name this provider is registered under-
Fields inherited from class org.apache.lucene.index.SortFieldProvider
name
-
-
Constructor Summary
Constructors Constructor Description Provider()
Creates a new Provider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortField
readSortField(DataInput in)
Reads a SortField from serialized bytesvoid
writeSortField(SortField sf, DataOutput out)
Writes a SortField to a DataOutput-
Methods inherited from class org.apache.lucene.index.SortFieldProvider
availableSortFieldProviders, forName, getName, reloadSortFieldProviders, write
-
-
-
-
Field Detail
-
NAME
public static final String NAME
The name this provider is registered under- See Also:
- Constant Field Values
-
-
Method Detail
-
readSortField
public SortField readSortField(DataInput in) throws IOException
Description copied from class:SortFieldProvider
Reads a SortField from serialized bytes- Specified by:
readSortField
in classSortFieldProvider
- Throws:
IOException
-
writeSortField
public void writeSortField(SortField sf, DataOutput out) throws IOException
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
-
-