Am using query builder.json to get the content details. While hitting the content node(/content/XX) am getting the exception:
The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped
I need all the data. May I know how can i achieve it?
Either you can create the index for the query using the oakutils tool or update the traversal limit from 
NOTE: Increasing the traversal limit might lead to high memory usage.
This means that you have created a query which is not covered by any index, and which is thus aborted. You should create an index to match your query (or you should change your query to make use of an existing index).
What's your query, and what AEM version are you using?