How to use Bulk API with WHERE clause in Salesforce
===

I want to use Bulk API of Salesforce to run queries of this format.

    Select Id from Object where field='<value>'.

I have thousands of such field values and want to retrieve Id of those objects. AFAIK, Bulk query of Salesforce supports only one SOQL statement as input. 

One option could be to form a query like

    Select Id,field where field in (<all field values>)

but problem is SOQL has 10000 characters limitation. 

Any suggestions here?

Thanks

