|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchMethods
| Method Summary | |
|---|---|
Trends |
getCurrentTrends()
Returns the current top 10 trending topics on Twitter. |
Trends |
getCurrentTrends(boolean excludeHashTags)
Returns the current top 10 trending topics on Twitter. |
java.util.List<Trends> |
getDailyTrends()
Returns the top 20 trending topics for each hour in a given day. |
java.util.List<Trends> |
getDailyTrends(java.util.Date date,
boolean excludeHashTags)
Returns the top 20 trending topics for each hour in a given day. |
Trends |
getTrends()
Returns the top ten topics that are currently trending on Twitter. |
java.util.List<Trends> |
getWeeklyTrends()
Returns the top 30 trending topics for each day in a given week. |
java.util.List<Trends> |
getWeeklyTrends(java.util.Date date,
boolean excludeHashTags)
Returns the top 30 trending topics for each day in a given week. |
QueryResult |
search(Query query)
Returns tweets that match a specified query. |
| Method Detail |
|---|
QueryResult search(Query query)
throws TwitterException
query - - the search condition
TwitterException - when Twitter service or network is unavailable
Trends getTrends()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
Trends getCurrentTrends()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
Trends getCurrentTrends(boolean excludeHashTags)
throws TwitterException
excludeHashTags - Setting this to true will remove all hashtags from the trends list.
TwitterException - when Twitter service or network is unavailable
java.util.List<Trends> getDailyTrends()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
java.util.List<Trends> getDailyTrends(java.util.Date date,
boolean excludeHashTags)
throws TwitterException
date - Permits specifying a start date for the report.excludeHashTags - Setting this to true will remove all hashtags from the trends list.
TwitterException - when Twitter service or network is unavailable
java.util.List<Trends> getWeeklyTrends()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
java.util.List<Trends> getWeeklyTrends(java.util.Date date,
boolean excludeHashTags)
throws TwitterException
date - Permits specifying a start date for the report.excludeHashTags - Setting this to true will remove all hashtags from the trends list.
TwitterException - when Twitter service or network is unavailable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||