public final class FilterQuery
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private int |
count |
private long[] |
follow |
private java.lang.String[] |
language |
private double[][] |
locations |
private static long |
serialVersionUID |
private java.lang.String[] |
track |
Constructor and Description |
---|
FilterQuery()
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow)
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow,
java.lang.String[] track)
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow,
java.lang.String[] track,
double[][] locations)
Creates a new FilterQuery
|
FilterQuery(int count,
long[] follow,
java.lang.String[] track,
double[][] locations,
java.lang.String[] language)
Creates a new FilterQuery
|
FilterQuery(long[] follow)
Creates a new FilterQuery
|
Modifier and Type | Method and Description |
---|---|
(package private) twitter4j.internal.http.HttpParameter[] |
asHttpParameterArray(twitter4j.internal.http.HttpParameter stallWarningsParam) |
FilterQuery |
count(int count)
Sets count
|
boolean |
equals(java.lang.Object o) |
FilterQuery |
follow(long[] follow)
Sets follow
|
int |
hashCode() |
FilterQuery |
language(java.lang.String[] language)
Sets language
|
FilterQuery |
locations(double[][] locations)
Sets locations
|
private java.lang.String |
toLocationsString(double[][] keywords) |
java.lang.String |
toString() |
FilterQuery |
track(java.lang.String[] track)
Sets track
|
private static final long serialVersionUID
private int count
private long[] follow
private java.lang.String[] track
private double[][] locations
private java.lang.String[] language
public FilterQuery()
public FilterQuery(long[] follow)
follow
- Specifies the users, by ID, to receive public tweets from.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, java.lang.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, java.lang.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, java.lang.String[] track, double[][] locations, java.lang.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(java.lang.String[] track)
track
- Specifies keywords to track.public FilterQuery locations(double[][] locations)
locations
- Specifies the locations to track. 2D arraypublic FilterQuery language(java.lang.String[] language)
language
- Specifies languages to track.twitter4j.internal.http.HttpParameter[] asHttpParameterArray(twitter4j.internal.http.HttpParameter stallWarningsParam)
private java.lang.String toLocationsString(double[][] keywords)
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