public final class FilterQuery
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private int |
count |
private int[] |
follow |
private boolean |
includeEntities |
private double[][] |
locations |
private java.lang.String[] |
track |
Constructor and Description |
---|
FilterQuery()
Creates a new FilterQuery
|
FilterQuery(int[] follow)
Creates a new FilterQuery
|
FilterQuery(int count,
int[] follow)
Creates a new FilterQuery
|
FilterQuery(int count,
int[] follow,
java.lang.String[] track)
Creates a new FilterQuery
|
FilterQuery(int count,
int[] follow,
java.lang.String[] track,
double[][] locations)
Creates a new FilterQuery
|
Modifier and Type | Method and Description |
---|---|
(package private) twitter4j.internal.http.HttpParameter[] |
asHttpParameterArray() |
FilterQuery |
count(int count)
Sets count
|
boolean |
equals(java.lang.Object o) |
FilterQuery |
follow(int[] follow)
Sets follow
|
int |
hashCode() |
FilterQuery |
locations(double[][] locations)
Sets locations
|
FilterQuery |
setIncludeEntities(boolean include)
Set whether to include extracted entities in the stream.
|
private java.lang.String |
toLocationsString(double[][] keywords) |
java.lang.String |
toString() |
FilterQuery |
track(java.lang.String[] track)
Sets track
|
private int count
private int[] follow
private java.lang.String[] track
private double[][] locations
private boolean includeEntities
public FilterQuery()
public FilterQuery(int[] follow)
follow
- Specifies the users, by ID, to receive public tweets from.public FilterQuery(int count, int[] 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, int[] 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, int[] 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 count(int count)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.public FilterQuery follow(int[] 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 setIncludeEntities(boolean include)
include
- True if entities should be included, else false.twitter4j.internal.http.HttpParameter[] asHttpParameterArray()
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