public class RandomSortField.RandomValueSource extends ValueSource
| Constructor and Description |
|---|
RandomSortField.RandomValueSource(String field) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
AtomicReaderContext readerContext) |
int |
hashCode() |
createWeight, getSortField, newContext, toStringpublic RandomSortField.RandomValueSource(String field)
public String description()
description in class ValueSourcepublic FunctionValues getValues(Map context, AtomicReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourceCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.