Package com.google.appengine.api.search
Class PutResponse
- java.lang.Object
-
- com.google.appengine.api.search.PutResponse
-
- All Implemented Interfaces:
Serializable,Iterable<OperationResult>
public class PutResponse extends Object implements Iterable<OperationResult>, Serializable
Represents a result of putting a list of objects (documents or queries) into an index. The response contains a list ofOperationResultindicating success or not of putting each of the objects into the index, and a list of Id of the objects which are those given in the request or allocated by the search service to those objects which do not have an Id supplied.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getIds()List<OperationResult>getResults()Iterator<OperationResult>iterator()StringtoString()-
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 Iterator<OperationResult> iterator()
- Specified by:
iteratorin interfaceIterable<OperationResult>
-
getResults
public List<OperationResult> getResults()
- Returns:
- an unmodifiable list of
OperationResultindicating whether eachDocumentwas put or not
-
-