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, getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAccessLevel, getRateLimitStatus
private 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
TwitterException
QueryResultJSONImpl(Query query)
public long getSinceId()
getSinceId
in interface QueryResult
public long getMaxId()
getMaxId
in interface QueryResult
public java.lang.String getRefreshURL()
getRefreshURL
in interface QueryResult
public int getCount()
getCount
in interface QueryResult
public double getCompletedIn()
getCompletedIn
in interface QueryResult
public java.lang.String getQuery()
getQuery
in interface QueryResult
public java.util.List<Status> getTweets()
getTweets
in interface QueryResult
public Query nextQuery()
nextQuery
in interface QueryResult
public boolean hasNext()
hasNext
in interface QueryResult
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object