Stay organized with collections
Save and categorize content based on your preferences.
publicclassGetRequest
A request to list objects in an index. You can specify a number of
restrictions, such as the number of objects to return, the id of the
first object to return, whether to only return keys, etc.
[[["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-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eGetRequest\u003c/code\u003e is used to list objects in an index, allowing for restrictions like the number of objects to return and the ID of the first object.\u003c/p\u003e\n"],["\u003cp\u003eYou can set specific parameters when building a \u003ccode\u003eGetRequest\u003c/code\u003e object, like limiting the number of results, defining a starting ID, and indicating if only IDs should be returned, as shown with the \u003ccode\u003e.setLimit()\u003c/code\u003e, \u003ccode\u003e.setStartId()\u003c/code\u003e, and \u003ccode\u003e.setReturningIdsOnly()\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetRequest\u003c/code\u003e inherits several methods from the \u003ccode\u003eObject\u003c/code\u003e class, including \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, \u003ccode\u003etoString()\u003c/code\u003e, and \u003ccode\u003ewait()\u003c/code\u003e among others.\u003c/p\u003e\n"],["\u003cp\u003eStatic methods \u003ccode\u003enewBuilder()\u003c/code\u003e allow for creating a \u003ccode\u003eGetRequest.Builder\u003c/code\u003e object, either from scratch or based on an existing \u003ccode\u003eGetRequest\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetRequest\u003c/code\u003e object contains methods such as \u003ccode\u003egetLimit()\u003c/code\u003e, \u003ccode\u003egetStartId()\u003c/code\u003e, \u003ccode\u003eisIncludeStart()\u003c/code\u003e, and \u003ccode\u003eisReturningIdsOnly()\u003c/code\u003e which allows for retrieving the request configurations.\u003c/p\u003e\n"]]],[],null,[]]