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

java.lang.Object
  extended by com.basho.riak.client.query.filter.TokenizeFilter
All Implemented Interfaces:
KeyFilter, KeyTransformFilter

public class TokenizeFilter
extends Object
implements KeyTransformFilter

Filter in keys that match the tokenNum token of the key when tokenized by separator

Author:
russell

Constructor Summary
TokenizeFilter(String separator, int tokenNum)
           
 
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

TokenizeFilter

public TokenizeFilter(String separator,
                      int tokenNum)
Parameters:
separator -
tokenNum -
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.