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, newMutableValueLong
getField
createWeight, newContext, toString
public DateFieldSource(String field)
public long externalToLong(String extVal)
externalToLong
in class LongFieldSource
public Object longToObject(long val)
longToObject
in class LongFieldSource
public String longToString(long val)
longToString
in class LongFieldSource
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues
in class LongFieldSource
IOException
public boolean equals(Object o)
equals
in class LongFieldSource
public int hashCode()
hashCode
in class LongFieldSource
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.