twitter4j
Class QueryResult
java.lang.Object
twitter4j.TwitterResponse
twitter4j.QueryResult
- All Implemented Interfaces:
- java.io.Serializable
public class QueryResult
- extends TwitterResponse
A data class representing search API response
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
- Serialized Form
| Methods inherited from class twitter4j.TwitterResponse |
encodeDate, ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, getString, isRootNodeNilClasses |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getSinceId
public long getSinceId()
getMaxId
public long getMaxId()
getRefreshUrl
public java.lang.String getRefreshUrl()
getResultsPerPage
public int getResultsPerPage()
getTotal
public int getTotal()
- Deprecated. The Twitter API doesn't return total anymore
- returns the number of hits
- Returns:
- number of hits
- See Also:
- TRJ-108 deprecate QueryResult#getTotal()
getWarning
public java.lang.String getWarning()
getCompletedIn
public double getCompletedIn()
getPage
public int getPage()
getQuery
public java.lang.String getQuery()
getTweets
public java.util.List<Tweet> getTweets()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.