public class ConstDateSource extends ConstDoubleSource
ConstDateSource returns a constant date for all documents| Constructor and Description |
|---|
ConstDateSource(Date constant) |
ConstDateSource(Long constant) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
protected String |
name() |
equals, getBool, getDouble, getFloat, getInt, getLong, getNumber, hashCodecreateWeight, getSortField, newContext, toStringpublic static final String NAME
public ConstDateSource(Date constant)
public ConstDateSource(Long constant)
public String description()
description in class ConstDoubleSourceprotected String name()
name in class ConstDoubleSourcepublic FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class ConstDoubleSourceIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.