public final class FilterQuery extends Object implements Serializable
Constructor and Description |
---|
FilterQuery()
Creates a new FilterQuery
|
FilterQuery(int count,
long... follow)
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow,
String[] track)
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow,
String[] track,
double[][] locations)
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow,
String[] track,
double[][] locations,
String[] language)
Creates a new FilterQuery
|
FilterQuery(long... follow)
Creates a new FilterQuery
|
FilterQuery(String... track)
Creates a new FilterQuery
|
Modifier and Type | Method and Description |
---|---|
FilterQuery |
count(int count)
Sets count
|
boolean |
equals(Object o) |
FilterQuery |
filterLevel(String filterLevel)
The filter level limits what tweets appear in the stream to those with
a minimum filter_level attribute value.
|
FilterQuery |
follow(long... follow)
Sets follow
|
int |
hashCode() |
FilterQuery |
language(String... language)
Sets language
|
FilterQuery |
locations(double[]... locations)
Sets locations
|
String |
toString() |
FilterQuery |
track(String... track)
Sets track
|
public FilterQuery()
public FilterQuery(long... follow)
follow
- Specifies the users, by ID, to receive public tweets from.public FilterQuery(String... track)
track
- Specifies keywords to track.public FilterQuery(int count, long... follow)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.public FilterQuery(int count, long[] follow, String[] track)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.track
- Specifies keywords to track.public FilterQuery(int count, long[] follow, String[] track, double[][] locations)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.track
- Specifies keywords to track.locations
- Specifies the locations to track. 2D arraypublic FilterQuery(int count, long[] follow, String[] track, double[][] locations, String[] language)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.track
- Specifies keywords to track.locations
- Specifies the locations to track. 2D arraylanguage
- Specifies the tweets language of the streampublic FilterQuery count(int count)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.public FilterQuery follow(long... follow)
follow
- Specifies the users, by ID, to receive public tweets from.public FilterQuery track(String... track)
track
- Specifies keywords to track.public FilterQuery locations(double[]... locations)
locations
- Specifies the locations to track. 2D arraypublic FilterQuery language(String... language)
language
- Specifies languages to track.public FilterQuery filterLevel(String filterLevel)
filterLevel
- one of either none, low, or medium.Copyright © 2016. All Rights Reserved.