public abstract class MultiDateFunction extends ValueSource
ValueSource implementation which wraps multiple ValueSources
and applies an extendible date function to their values.| Modifier and Type | Field and Description |
|---|---|
protected ValueSource[] |
sources |
| Constructor and Description |
|---|
MultiDateFunction(ValueSource[] sources) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
protected abstract long |
func(int doc,
FunctionValues[] valsArr) |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
protected abstract String |
name() |
createWeight, getSortField, newContext, toStringprotected final ValueSource[] sources
public MultiDateFunction(ValueSource[] sources)
protected abstract String name()
protected abstract long func(int doc,
FunctionValues[] valsArr)
public String description()
description in class ValueSourcepublic FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourceCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.