GetResponse (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- com.google.appengine.api.search.GetResponse<T>
-
- Type Parameters:
T
- The type of object to be listed from an index
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<T>
public class GetResponse<T>
extends java.lang.Object
implements java.lang.Iterable<T>, java.io.Serializable
Represents a result of executing a
GetRequest
. The
response contains a list of T.
- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
Method Detail
-
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<T>
-
getResults
public java.util.List<T> getResults()
- Returns:
- an unmodifiable list of T from the index
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["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-06-16 UTC."],[[["`GetResponse\u003cT\u003e` is a class representing the result of a `GetRequest` operation, containing a list of objects of type `T`."],["This class implements `Iterable\u003cT\u003e` and `Serializable` interfaces, allowing iteration over the results and serialization of the response."],["The `getResults()` method provides access to an unmodifiable list of type `T` retrieved from the index."],["The `iterator()` method allows external iteration across the list of results using a standard java iterator."],["The class also overrides the `toString()` method inherited from `java.lang.Object` to provide a string representation of the GetResponse object."]]],[]]