org.elasticsearch.action.count
Class CountResponse
java.lang.Object
org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
org.elasticsearch.action.count.CountResponse
- All Implemented Interfaces:
- ActionResponse, Streamable
public class CountResponse
- extends BroadcastOperationResponse
The response of the count action.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
count
public long count()
- The count of documents matching the query provided.
getCount
public long getCount()
- The count of documents matching the query provided.
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class BroadcastOperationResponse
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class BroadcastOperationResponse
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.