[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eQueryResultIterator<T>\u003c/code\u003e is an interface for iterating through the results of a \u003ccode\u003eQuery\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt implements the \u003ccode\u003eIterator<T>\u003c/code\u003e interface from Java's standard library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetCursor()\u003c/code\u003e method retrieves a \u003ccode\u003eCursor\u003c/code\u003e that points to the \u003ccode\u003eEntity\u003c/code\u003e after the last one retrieved.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003egetIndexList()\u003c/code\u003e returns a list of index references, which may be null if the indexes are not known.\u003c/p\u003e\n"]]],[],null,["# Interface QueryResultIterator<T> (2.0.0)\n\n public interface QueryResultIterator\u003cT\u003e extends Iterator\u003cT\u003e\n\nA class that iterates through the results of a [Query](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.Query(class)) \n\nImplements\n----------\n\n[Iterator\\\u003cT\\\u003e](https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html)\n\nMethods\n-------\n\n### getCursor()\n\n public abstract Cursor getCursor()\n\nGets a [Cursor](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.datastore.Cursor) that points to the [Entity](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.datastore.Entity) immediately after the last [Entity](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.datastore.Entity) that was retrieved by #next().\n\n### getIndexList()\n\n public abstract List\u003cIndex\u003e getIndexList()\n\nGet the indexes used to perform the query."]]