public abstract class MultiStringFunction
extends org.apache.lucene.queries.function.ValueSource
ValueSource
implementation which wraps multiple ValueSources
and applies an extendible string function to their values.Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.queries.function.ValueSource[] |
sources |
Constructor and Description |
---|
MultiStringFunction(org.apache.lucene.queries.function.ValueSource[] sources) |
Modifier and Type | Method and Description |
---|---|
String |
description() |
boolean |
equals(Object o) |
protected abstract CharSequence |
func(int doc,
org.apache.lucene.queries.function.FunctionValues[] valsArr) |
org.apache.lucene.queries.function.FunctionValues |
getValues(Map context,
org.apache.lucene.index.LeafReaderContext readerContext) |
int |
hashCode() |
protected abstract String |
name() |
public MultiStringFunction(org.apache.lucene.queries.function.ValueSource[] sources)
protected abstract String name()
protected abstract CharSequence func(int doc, org.apache.lucene.queries.function.FunctionValues[] valsArr)
public String description()
description
in class org.apache.lucene.queries.function.ValueSource
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
getValues
in class org.apache.lucene.queries.function.ValueSource
IOException
public boolean equals(Object o)
equals
in class org.apache.lucene.queries.function.ValueSource
public int hashCode()
hashCode
in class org.apache.lucene.queries.function.ValueSource
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.