com.basho.riak.client.query.filter
Class SimilarToFilter

java.lang.Object
  extended by 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

Constructor Summary
SimilarToFilter(String similarTo, int maxEditDistance)
           
 
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
 

Constructor Detail

SimilarToFilter

public SimilarToFilter(String similarTo,
                       int maxEditDistance)
Parameters:
similarTo - the string to compare to
maxEditDistance -
Method Detail

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.