Query with no key in Table Service
-
2012年6月25日 8:39
Hi Everybody,
I am searching for some information about the Table Service, and I have the next question:
Is possible to query for entities using a non-defined key as criterion?
Thanks for your help.
Ganchix
全部回复
-
2012年6月25日 11:24
Yes, it is entire possible to query for entities on attributes other than PartitionKey and RowKey, however please keep in mind that this will result in full table scan and depending on the size of your table you may get result very late. When you don't specify any query criteria, essentially you're fetching all entities from the table.
- 已建议为答案 Vitor Tomaz 2012年6月25日 11:42
- 已标记为答案 Rafael Ríos 2012年6月25日 14:23
-
2012年6月25日 14:23
Thanks for the answer
I am using API Java, how can i use the static method TableQuery.generateFilterCondition to generate the "where" string?

