final class QueryResultJSONImpl extends TwitterResponseImpl implements QueryResult, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private double |
completedIn |
private int |
count |
private long |
maxId |
private java.lang.String |
nextResults |
private java.lang.String |
query |
private java.lang.String |
refreshUrl |
private static long |
serialVersionUID |
private long |
sinceId |
private java.util.List<Status> |
tweets |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Constructor and Description |
|---|
QueryResultJSONImpl(HttpResponse res,
Configuration conf) |
QueryResultJSONImpl(Query query) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
double |
getCompletedIn() |
int |
getCount() |
long |
getMaxId() |
java.lang.String |
getQuery() |
java.lang.String |
getRefreshURL() |
long |
getSinceId() |
java.util.List<Status> |
getTweets() |
int |
hashCode() |
boolean |
hasNext()
test if there is next page
|
Query |
nextQuery()
Returns a Query instance to fetch next page or null if there is no next page.
|
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatusprivate static final long serialVersionUID
private long sinceId
private long maxId
private java.lang.String refreshUrl
private int count
private double completedIn
private java.lang.String query
private java.util.List<Status> tweets
private java.lang.String nextResults
QueryResultJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionQueryResultJSONImpl(Query query)
public long getSinceId()
getSinceId in interface QueryResultpublic long getMaxId()
getMaxId in interface QueryResultpublic java.lang.String getRefreshURL()
getRefreshURL in interface QueryResultpublic int getCount()
getCount in interface QueryResultpublic double getCompletedIn()
getCompletedIn in interface QueryResultpublic java.lang.String getQuery()
getQuery in interface QueryResultpublic java.util.List<Status> getTweets()
getTweets in interface QueryResultpublic Query nextQuery()
nextQuery in interface QueryResultpublic boolean hasNext()
hasNext in interface QueryResultpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object