|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nhncorp.neptune.client.CellFilter
public class CellFilter
RowFilter and CellFilter are normally used to get or scan for complex search condition
RowFilter| Constructor Summary | |
|---|---|
CellFilter()
|
|
CellFilter(java.lang.String columnName)
|
|
CellFilter(java.lang.String columnName,
Cell.Key cellKey)
|
|
| Method Summary | |
|---|---|
Cell.Key |
getCellKey()
|
java.lang.String |
getColumnName()
|
long |
getEndTimestamp()
|
int |
getNumOfValues()
|
int |
getNumOfVersions()
|
long |
getStartTimestamp()
|
boolean |
hasTimestampFilter()
|
void |
readFields(java.io.DataInput in)
Reads the fields of this object from in. |
void |
setColumn(java.lang.String columnName,
Cell.Key cellKey)
|
void |
setColumnName(java.lang.String columnName)
|
void |
setEndTimestamp(long endTimestamp)
|
void |
setNumOfValues(int numOfValues)
Set number of Cell in a single query This variable is used for fetching TopN datas in a Row. |
void |
setNumOfVersions(int numOfVersions)
Set number of version in a Cell |
void |
setStartTimestamp(long startTimestamp)
|
void |
write(java.io.DataOutput out)
Writes the fields of this object to out. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CellFilter()
public CellFilter(java.lang.String columnName)
public CellFilter(java.lang.String columnName,
Cell.Key cellKey)
| Method Detail |
|---|
public void readFields(java.io.DataInput in)
throws java.io.IOException
com.nhncorp.neptune.common.io.NWritablein. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields in interface com.nhncorp.neptune.common.io.NWritablejava.io.IOException
public void write(java.io.DataOutput out)
throws java.io.IOException
com.nhncorp.neptune.common.io.NWritableout.
write in interface com.nhncorp.neptune.common.io.NWritablejava.io.IOExceptionpublic Cell.Key getCellKey()
public void setColumn(java.lang.String columnName,
Cell.Key cellKey)
public java.lang.String getColumnName()
public long getEndTimestamp()
public void setEndTimestamp(long endTimestamp)
public int getNumOfVersions()
public void setNumOfVersions(int numOfVersions)
numOfVersions - public long getStartTimestamp()
public void setStartTimestamp(long startTimestamp)
public boolean hasTimestampFilter()
public int getNumOfValues()
public void setNumOfValues(int numOfValues)
numOfValues - public void setColumnName(java.lang.String columnName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||