HBASE-4505 fixed javadoc for SubstringComparator.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1179421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1edf8b65e4
commit
435fea6d79
|
@ -26,7 +26,7 @@ import java.io.DataOutput;
|
|||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* This comparator is for use with ColumnValueFilter, for filtering based on
|
||||
* This comparator is for use with SingleColumnValueFilter, for filtering based on
|
||||
* the value of a given column. Use it to test if a given substring appears
|
||||
* in a cell value in the column. The comparison is case insensitive.
|
||||
* <p>
|
||||
|
@ -35,8 +35,8 @@ import java.io.IOException;
|
|||
* For example:
|
||||
* <p>
|
||||
* <pre>
|
||||
* ColumnValueFilter cvf =
|
||||
* new ColumnValueFilter("col", ColumnValueFilter.CompareOp.EQUAL,
|
||||
* SingleColumnValueFilter scvf =
|
||||
* new SingleColumnValueFilter("col", CompareOp.EQUAL,
|
||||
* new SubstringComparator("substr"));
|
||||
* </pre>
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue