locked
Query with no key in Table Service RRS feed

  • Question

  • 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

    Monday, June 25, 2012 8:39 AM

Answers

  • 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.

    Monday, June 25, 2012 11:24 AM

All replies

  • 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.

    Monday, June 25, 2012 11:24 AM
  • Thanks for the answer

    I am using API Java, how can i use the static method TableQuery.generateFilterCondition to generate the "where" string?

    Monday, June 25, 2012 2:23 PM