TableClient.getEntity(String partitionKey, String rowKey) Method
public TableEntity getEntity(String partitionKey, String rowKey)
Gets a single TableEntity from the table.
Code Samples
Gets an TableEntity on the table. Prints out the details of the retrieved TableEntity.
String partitionKey = "partitionKey";
String rowKey = "rowKey";
TableEntity tableEntity = tableClient.getEntity(partitionKey, rowKey);
System.out.printf("Retrieved entity with partition key '%s' and row key '%s'.", tableEntity.getPartitionKey(),
tableEntity.getRowKey());
Parameters
- partitionKey
- java.lang.String
The partition key of the TableEntity.
- rowKey
- java.lang.String
The partition key of the TableEntity.
Returns
The TableEntity.