com.nhncorp.neptune.tabletserver
Class RecordSearcher

java.lang.Object
  extended by com.nhncorp.neptune.tabletserver.RecordSearcher

public class RecordSearcher
extends java.lang.Object


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
RecordSearcher(Tablet tablet)
           
 
Method Summary
 boolean hasValue(java.lang.String columnName, Row.Key rowKey)
           
 ColumnValue[] search(Row.Key rowKey, java.lang.String columnName)
           
 ColumnValue[][] search(Row.Key rowKey, java.lang.String[] columnNames)
          여러개의 컬럼에 대한 값을 반환한다.
 ColumnValue search(Row.Key rowKey, java.lang.String columnName, Cell.Key columnKey)
           
 RowColumnValues[] search(RowFilter rowFilter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

RecordSearcher

public RecordSearcher(Tablet tablet)
Method Detail

search

public ColumnValue search(Row.Key rowKey,
                          java.lang.String columnName,
                          Cell.Key columnKey)
                   throws java.io.IOException
Throws:
java.io.IOException

search

public ColumnValue[] search(Row.Key rowKey,
                            java.lang.String columnName)
                     throws java.io.IOException
Throws:
java.io.IOException

search

public ColumnValue[][] search(Row.Key rowKey,
                              java.lang.String[] columnNames)
                       throws java.io.IOException
여러개의 컬럼에 대한 값을 반환한다. 하나의 Row.Key, 하나의 컬럼에 여러개의 컬럼값이 저장되기 때문에 2차원 배열로 반환한다.

Parameters:
rowKey -
columnNames -
Returns:
Throws:
java.io.IOException

search

public RowColumnValues[] search(RowFilter rowFilter)
                         throws java.io.IOException
Throws:
java.io.IOException

hasValue

public boolean hasValue(java.lang.String columnName,
                        Row.Key rowKey)
                 throws java.io.IOException
Throws:
java.io.IOException