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>
StringPrefixer is a Prefixer implementation that works on strings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSimplePrefix(String value1, String value2) Example: If value1 is "Hello World" and value 2 is "Help Me" then the result will be: "Help"
-
Constructor Details
-
StringPrefixer
public StringPrefixer()
-
-
Method Details
-
getSimplePrefix
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:
-