public static enum TwitterStreamSupplierProperties.StreamType extends Enum<TwitterStreamSupplierProperties.StreamType>
Enum Constant and Description |
---|
filter
Start consuming public statuses that match one or more filter predicates.
|
firehose
tarts listening on all public statuses.
|
link
Starts listening on all public statuses containing links.
|
sample
Starts listening on random sample of all public statuses.
|
Modifier and Type | Method and Description |
---|---|
static TwitterStreamSupplierProperties.StreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TwitterStreamSupplierProperties.StreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwitterStreamSupplierProperties.StreamType sample
public static final TwitterStreamSupplierProperties.StreamType filter
public static final TwitterStreamSupplierProperties.StreamType firehose
public static final TwitterStreamSupplierProperties.StreamType link
public static TwitterStreamSupplierProperties.StreamType[] values()
for (TwitterStreamSupplierProperties.StreamType c : TwitterStreamSupplierProperties.StreamType.values()) System.out.println(c);
public static TwitterStreamSupplierProperties.StreamType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.