public class GetRowRequest extends AbstractTableStorageRequest
| Constructor and Description |
|---|
GetRowRequest(String tableName,
String rowkey)
Constructs a get row request with target table name and rowkey.
|
| Modifier and Type | Method and Description |
|---|---|
GetRowRequest |
addCell(String column)
Add a cell with column name to this request.
|
int |
getMaxVersions()
Get maxVersion in GetRowRequest.
|
void |
setMaxVersions(int maxVersion)
Set maxVersion.
|
String |
toJsonString()
Convert to this request object to json string.
|
getTableName, withRequestCredentialsgetRequestCredentials, setRequestCredentialspublic int getMaxVersions()
public void setMaxVersions(int maxVersion)
maxVersion - The target maxVersion.public GetRowRequest addCell(String column)
column - The column name of the cell.public String toJsonString()
toJsonString in class AbstractTableStorageRequestCopyright © 2022. All rights reserved.