public class QueryTableOperation extends TableOperation
TableOperation
to implement a query to retrieve a single table entity. To execute a
QueryTableOperation
instance, call the execute
method on a CloudTableClient
instance.
This operation can be executed directly or as part of a TableBatchOperation
. If the
QueryTableOperation
returns an entity result, it is stored in the corresponding TableResult
returned
by the execute
method.Modifier and Type | Method and Description |
---|---|
String |
getPartitionKey()
Gets the PartitionKey value for the entity to retrieve.
|
EntityResolver<?> |
getResolver()
Gets the resolver to project the entity retrieved as a particular type.
|
String |
getRowKey()
Gets the RowKey value for the entity to retrieve.
|
delete, insert, insert, insertOrMerge, insertOrReplace, merge, replace, retrieve, retrieve
public String getPartitionKey()
String
containing the PartitionKey value for the entity.public EntityResolver<?> getResolver()
EntityResolver
instance.public String getRowKey()
String
containing the RowKey value for the entity./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/