com.basho.riak.client.query.filter
Class SimilarToFilter
java.lang.Object
com.basho.riak.client.query.filter.SimilarToFilter
- All Implemented Interfaces:
- KeyFilter
public class SimilarToFilter
- extends Object
- implements KeyFilter
Filter in keys that are within a specified Levenshtein edit distance of the provided string
- Author:
- russell
|
Method Summary |
Object[] |
asArray()
A view of the key filter as an Object array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimilarToFilter
public SimilarToFilter(String similarTo,
int maxEditDistance)
- Parameters:
similarTo - the string to compare tomaxEditDistance -
asArray
public Object[] asArray()
- Description copied from interface:
KeyFilter
- A view of the key filter as an Object array.
- Specified by:
asArray in interface KeyFilter
- Returns:
- an Object[]
Copyright © 2011. All Rights Reserved.