Package twitter4j.v1

Interface QueryResult

All Superinterfaces:
Serializable, TwitterResponse

public interface QueryResult extends TwitterResponse, Serializable
A data interface representing search API response
  • Method Details

    • getSinceId

      long getSinceId()
      Returns:
      sinceId
    • getMaxId

      long getMaxId()
      Returns:
      maxId
    • getRefreshURL

      String getRefreshURL()
      Returns:
      refresh URL
    • getCount

      int getCount()
      Returns:
      count
    • getCompletedIn

      double getCompletedIn()
      Returns:
      completed in
    • getQuery

      String getQuery()
      Returns:
      query
    • getTweets

      List<Status> getTweets()
      Returns:
      tweets
    • nextQuery

      Query nextQuery()
      Returns a Query instance to fetch next page or null if there is no next page.
      Returns:
      Query instance to fetch next page
      Since:
      Twitter4J 3.0.0
    • hasNext

      boolean hasNext()
      test if there is next page
      Returns:
      if there is next page
      Since:
      Twitter4J 3.0.0