public class DateFieldSource extends LongFieldSource
LongFieldSource to have a field source that takes in
and returns Date values while working with long values internally.field| Constructor and Description |
|---|
DateFieldSource(String field) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
externalToLong(String extVal) |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
Object |
longToObject(long val) |
String |
longToString(long val) |
description, getSortField, newMutableValueLonggetFieldcreateWeight, newContext, toStringpublic DateFieldSource(String field)
public long externalToLong(String extVal)
externalToLong in class LongFieldSourcepublic Object longToObject(long val)
longToObject in class LongFieldSourcepublic String longToString(long val)
longToString in class LongFieldSourcepublic FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class LongFieldSourceIOExceptionpublic boolean equals(Object o)
equals in class LongFieldSourcepublic int hashCode()
hashCode in class LongFieldSourceCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.