public class ReverseStringFunction extends SingleStringFunction
ReverseStringFunction
reverses the string value of the source it contains.Modifier and Type | Field and Description |
---|---|
static String |
NAME |
source
Constructor and Description |
---|
ReverseStringFunction(org.apache.lucene.queries.function.ValueSource source) |
Modifier and Type | Method and Description |
---|---|
protected CharSequence |
func(int doc,
org.apache.lucene.queries.function.FunctionValues vals) |
protected String |
name() |
description, equals, getValues, hashCode
public static final String NAME
public ReverseStringFunction(org.apache.lucene.queries.function.ValueSource source)
protected String name()
protected CharSequence func(int doc, org.apache.lucene.queries.function.FunctionValues vals)
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.