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(ValueSource source) |
Modifier and Type | Method and Description |
---|---|
protected CharSequence |
func(int doc,
FunctionValues vals) |
protected String |
name() |
description, equals, getValues, hashCode
createWeight, getSortField, newContext, toString
public static final String NAME
public ReverseStringFunction(ValueSource source)
protected String name()
protected CharSequence func(int doc, FunctionValues vals)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.