public static final class SortField.Provider extends SortFieldProvider
| Modifier and Type | Field and Description | 
|---|---|
static String | 
NAME
The name this Provider is registered under 
 | 
name| Constructor and Description | 
|---|
Provider()
Creates a new Provider 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SortField | 
readSortField(DataInput in)
Reads a SortField from serialized bytes 
 | 
void | 
writeSortField(SortField sf,
              DataOutput out)
Writes a SortField to a DataOutput
 This is used to record index sort information in segment headers 
 | 
availableSortFieldProviders, forName, getName, reloadSortFieldProviders, writepublic static final String NAME
public SortField readSortField(DataInput in) throws IOException
SortFieldProviderreadSortField in class SortFieldProviderIOExceptionpublic void writeSortField(SortField sf, DataOutput out) throws IOException
SortFieldProviderwriteSortField in class SortFieldProviderIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.