com.nhncorp.neptune.client
Class RowFilter
java.lang.Object
com.nhncorp.neptune.client.RowFilter
- All Implemented Interfaces:
- NWritable
public class RowFilter
- extends java.lang.Object
- implements NWritable
get, scan 수행 시 정해진 조건에 만족하는 데이터만 조회하는 경우 fliter를 적용한다.
- Author:
- 김형준
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RowFilter
public RowFilter()
RowFilter
public RowFilter(Row.Key rowKey)
RowFilter
public RowFilter(Row.Key startRowKey,
Row.Key endRowKey)
getCellFilters
public java.util.List<CellFilter> getCellFilters()
- Returns:
- the columnFilterInfos
addCellFilter
public void addCellFilter(CellFilter cellFilter)
- Parameters:
columnFilter -
getStartRowKey
public Row.Key getStartRowKey()
- Returns:
- the rowkey
getEndRowKey
public Row.Key getEndRowKey()
- Returns:
- the rowkey
setStartRowKey
public void setStartRowKey(Row.Key startRowKey)
- Parameters:
rowKey -
setEndRowKey
public void setEndRowKey(Row.Key endRowKey)
- Parameters:
rowKey -
setRowKey
public void setRowKey(Row.Key rowKey)
getRowKey
public Row.Key getRowKey()
readFields
public void readFields(java.io.DataInput in)
throws java.io.IOException
- Description copied from interface:
NWritable
- Reads the fields of this object from
in. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields in interface NWritable
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Description copied from interface:
NWritable
- Writes the fields of this object to
out.
- Specified by:
write in interface NWritable
- Throws:
java.io.IOException
getColumns
public java.lang.String[] getColumns()
getCellFilterInfo
public CellFilter getCellFilterInfo(java.lang.String columnName)
clearCellFilter
public void clearCellFilter()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
copyRowFilter
public RowFilter copyRowFilter(java.lang.String columnName)