public class RangeIteratorParameter extends RowQueryCriteria
| 构造器和说明 |
|---|
RangeIteratorParameter(RangeRowQueryCriteria criteria) |
RangeIteratorParameter(String tableName)
Constructs a query condition for a table with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBufferSize()
Get the size of the internal Buffer.
|
Direction |
getDirection()
Get the read order of the range query (forward(FORWARD) or backward(BACKWARD)).
|
PrimaryKey |
getExclusiveEndPrimaryKey()
Get the primary key value of the right boundary for the range query.
|
PrimaryKey |
getInclusiveStartPrimaryKey()
Gets the primary key value of the left boundary for the range query.
|
int |
getMaxCount()
The maximum number of rows that the iterator can return
|
void |
setBufferSize(int bufferSize)
Set the size of the Buffer.
|
void |
setDirection(Direction direction)
Set the read order (FORWARD or BACKWARD) for the range query.
|
void |
setExclusiveEndPrimaryKey(PrimaryKey exclusiveEndPrimaryKey)
Range queries require users to specify a range of primary keys.
|
void |
setInclusiveStartPrimaryKey(PrimaryKey inclusiveStartPrimaryKey)
A range query requires the user to specify a range of primary keys.
|
void |
setMaxCount(int maxCount)
Set the maximum number of rows that this Iterator will return
|
addColumnsToGet, addColumnsToGet, addColumnsToGet, clearColumnsToGet, copyTo, getCacheBlocks, getColumnsToGet, getEndColumn, getFilter, getMaxVersions, getStartColumn, getTableName, getTimeRange, hasSetCacheBlock, hasSetEndColumn, hasSetFilter, hasSetMaxVersions, hasSetStartColumn, hasSetTimeRange, numColumnsToGet, setCacheBlocks, setEndColumn, setFilter, setMaxVersions, setStartColumn, setTableName, setTimeRange, setTimestamppublic RangeIteratorParameter(String tableName)
tableName - The name of the table to query.public RangeIteratorParameter(RangeRowQueryCriteria criteria)
public int getMaxCount()
public void setMaxCount(int maxCount)
maxCount - The number of rows to be returned in a single request.public int getBufferSize()
public void setBufferSize(int bufferSize)
bufferSize - The size of the Buffer.public Direction getDirection()
public void setDirection(Direction direction)
direction - The read orderpublic PrimaryKey getInclusiveStartPrimaryKey()
public void setInclusiveStartPrimaryKey(PrimaryKey inclusiveStartPrimaryKey)
PrimaryKeyValue.INF_MIN or PrimaryKeyValue.INF_MAX to represent the entire range of possible values for that column.inclusiveStartPrimaryKey - The primary key value for the left boundary of the range query.public PrimaryKey getExclusiveEndPrimaryKey()
public void setExclusiveEndPrimaryKey(PrimaryKey exclusiveEndPrimaryKey)
PrimaryKeyValue.INF_MIN or PrimaryKeyValue.INF_MAX to represent the entire range of possible values for that column.exclusiveEndPrimaryKey - The primary key value representing the right boundary of the range query.Copyright © 2025. All Rights Reserved.