public static class BTreeIndex.StringPrefixer extends Object implements BTreeIndex.Prefixer<String>
Constructor and Description |
---|
StringPrefixer() |
Modifier and Type | Method and Description |
---|---|
String |
getSimplePrefix(String value1,
String value2)
Example:
If value1 is "Hello World"
and value 2 is "Help Me"
then the result will be: "Help"
|
public String getSimplePrefix(String value1, String value2)
getSimplePrefix
in interface BTreeIndex.Prefixer<String>
BTreeIndex.Prefixer.getSimplePrefix(Key, Key)
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.