public class BulkExportQueryCriteria extends Object
| 构造器和说明 |
|---|
BulkExportQueryCriteria(String tableName)
Constructs a query condition for a table with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addColumnsToGet(Collection<String> columnsToGet)
Add the columns to be read.
|
void |
addColumnsToGet(String columnName)
Add the column to be read.
|
void |
addColumnsToGet(String[] columnNames)
Add the columns to be read.
|
void |
clearColumnsToGet()
Clear the list of column names that have been set for reading.
|
void |
copyTo(BulkExportQueryCriteria target) |
Set<String> |
getColumnsToGet()
Returns the list of column names to be read (read-only).
|
DataBlockType |
getDataBlockType()
Data type for row information
|
PrimaryKey |
getExclusiveEndPrimaryKey()
Get the primary key value of the right boundary for the range query.
|
Filter |
getFilter()
Get the Filter used in this query.
|
PrimaryKey |
getInclusiveStartPrimaryKey()
Get the primary key value of the left boundary for the range query.
|
String |
getTableName()
Returns the name of the queried table.
|
boolean |
hasSetFilter()
Check if the Filter is set.
|
int |
numColumnsToGet()
Returns the number of columns to be read.
|
void |
setDataBlockType(DataBlockType dataBlockType) |
void |
setExclusiveEndPrimaryKey(PrimaryKey exclusiveEndPrimaryKey)
A range query requires the user to specify a range for a primary key.
|
void |
setFilter(Filter filter)
Set the Filter to be used for this query.
|
void |
setInclusiveStartPrimaryKey(PrimaryKey inclusiveStartPrimaryKey)
Range queries require the user to specify a range for the primary key.
|
void |
setTableName(String tableName)
Sets the name of the table to query.
|
public BulkExportQueryCriteria(String tableName)
tableName - The name of the table to query.public void setDataBlockType(DataBlockType dataBlockType)
public DataBlockType getDataBlockType()
public 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 values for that column.exclusiveEndPrimaryKey - The primary key value for the right boundary of the range query.public void setTableName(String tableName)
tableName - The name of the table.public String getTableName()
public Set<String> getColumnsToGet()
public void addColumnsToGet(String columnName)
columnName - The name of the column to be returned.public void addColumnsToGet(String[] columnNames)
columnNames - The names of the columns to be returned.public void addColumnsToGet(Collection<String> columnsToGet)
columnsToGet - public void clearColumnsToGet()
public int numColumnsToGet()
public void setFilter(Filter filter)
filter - public Filter getFilter()
IllegalStateException - if the Filter is not setpublic boolean hasSetFilter()
public void copyTo(BulkExportQueryCriteria target)
Copyright © 2025. All Rights Reserved.