Class BTreeIndex.StringPrefixer
- java.lang.Object
-
- org.apache.activemq.store.kahadb.disk.index.BTreeIndex.StringPrefixer
-
- All Implemented Interfaces:
BTreeIndex.Prefixer<String>
- Enclosing class:
- BTreeIndex<Key,Value>
public static class BTreeIndex.StringPrefixer extends Object implements BTreeIndex.Prefixer<String>
StringPrefixer is a Prefixer implementation that works on strings.
-
-
Constructor Summary
Constructors Constructor Description StringPrefixer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSimplePrefix(String value1, String value2)Example: If value1 is "Hello World" and value 2 is "Help Me" then the result will be: "Help"
-
-
-
Method Detail
-
getSimplePrefix
public String getSimplePrefix(String value1, String value2)
Example: If value1 is "Hello World" and value 2 is "Help Me" then the result will be: "Help"- Specified by:
getSimplePrefixin interfaceBTreeIndex.Prefixer<String>- Returns:
- See Also:
BTreeIndex.Prefixer.getSimplePrefix(Key, Key)
-
-