Package adams.data.twitter
Enum TwitterField
- java.lang.Object
-
- java.lang.Enum<TwitterField>
-
- adams.data.twitter.TwitterField
-
- All Implemented Interfaces:
Serializable
,Comparable<TwitterField>
public enum TwitterField extends Enum<TwitterField>
The available fields for generating the output.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTRY
the country.COUNTRY_CODE
the country code.CREATED
the creation date.EXPANDED_URLS
expanded URLs.FAVORITE_COUNT
how often the tweet was favorited.FAVORITED
whether tweet was favorited.GEO_LATITUDE
the associated latitude.GEO_LONGITUDE
the associated longitude.ID
the ID of the tweet/status.IN_REPLY_TO_STATUS_ID
reply to status ID.IN_REPLY_TO_USER_ID
reply to user ID.IS_RETWEETED
whether the status was retweeted.LANGUAGE_CODE
the language code.PLACE
the place.PLACE_TYPE
the place type.PLACE_URL
the place URL.POSSIBLY_SENSITIVE
whether tweet is possibly sensitive.QUOTED_STATUS
the quoted status.QUOTED_STATUS_ID
the ID of the quoted status.RETWEET
whether tweet is a retweet.RETWEET_BY_ME
whether tweet was retweeted by me.RETWEET_COUNT
the retweet count.RETWEETED_STATUS_CREATED
retweeted timestamp.RETWEETED_STATUS_ID
retweeted status ID.RETWEETED_STATUS_USER_ID
retweeted user ID.SCOPES
the scopes.SOURCE
the source.STATUS_LANG
the language of the status.STREET_ADDRESS
the street address.SYMBOL_ENTITIES
symbol entities.TEXT
the text of the tweet.USER_ID
the user ID.USER_NAME
the user name.USER_SCREENNAME
the screen name.WITHHELD_IN_COUNTRIES
the countries in which the tweets has been withheld.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TwitterField
valueOf(String name)
Returns the enum constant of this type with the specified name.static TwitterField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final TwitterField ID
the ID of the tweet/status.
-
USER_ID
public static final TwitterField USER_ID
the user ID.
-
USER_NAME
public static final TwitterField USER_NAME
the user name.
-
USER_SCREENNAME
public static final TwitterField USER_SCREENNAME
the screen name.
-
SOURCE
public static final TwitterField SOURCE
the source.
-
TEXT
public static final TwitterField TEXT
the text of the tweet.
-
CREATED
public static final TwitterField CREATED
the creation date.
-
FAVORITED
public static final TwitterField FAVORITED
whether tweet was favorited.
-
RETWEET
public static final TwitterField RETWEET
whether tweet is a retweet.
-
RETWEET_COUNT
public static final TwitterField RETWEET_COUNT
the retweet count.
-
RETWEET_BY_ME
public static final TwitterField RETWEET_BY_ME
whether tweet was retweeted by me.
-
POSSIBLY_SENSITIVE
public static final TwitterField POSSIBLY_SENSITIVE
whether tweet is possibly sensitive.
-
GEO_LATITUDE
public static final TwitterField GEO_LATITUDE
the associated latitude.
-
GEO_LONGITUDE
public static final TwitterField GEO_LONGITUDE
the associated longitude.
-
LANGUAGE_CODE
public static final TwitterField LANGUAGE_CODE
the language code.
-
PLACE
public static final TwitterField PLACE
the place.
-
PLACE_TYPE
public static final TwitterField PLACE_TYPE
the place type.
-
PLACE_URL
public static final TwitterField PLACE_URL
the place URL.
-
STREET_ADDRESS
public static final TwitterField STREET_ADDRESS
the street address.
-
COUNTRY
public static final TwitterField COUNTRY
the country.
-
COUNTRY_CODE
public static final TwitterField COUNTRY_CODE
the country code.
-
IN_REPLY_TO_STATUS_ID
public static final TwitterField IN_REPLY_TO_STATUS_ID
reply to status ID.
-
IN_REPLY_TO_USER_ID
public static final TwitterField IN_REPLY_TO_USER_ID
reply to user ID.
-
RETWEETED_STATUS_ID
public static final TwitterField RETWEETED_STATUS_ID
retweeted status ID.
-
RETWEETED_STATUS_USER_ID
public static final TwitterField RETWEETED_STATUS_USER_ID
retweeted user ID.
-
RETWEETED_STATUS_CREATED
public static final TwitterField RETWEETED_STATUS_CREATED
retweeted timestamp.
-
EXPANDED_URLS
public static final TwitterField EXPANDED_URLS
expanded URLs.
-
SYMBOL_ENTITIES
public static final TwitterField SYMBOL_ENTITIES
symbol entities.
-
IS_RETWEETED
public static final TwitterField IS_RETWEETED
whether the status was retweeted.
-
FAVORITE_COUNT
public static final TwitterField FAVORITE_COUNT
how often the tweet was favorited.
-
STATUS_LANG
public static final TwitterField STATUS_LANG
the language of the status.
-
SCOPES
public static final TwitterField SCOPES
the scopes.
-
WITHHELD_IN_COUNTRIES
public static final TwitterField WITHHELD_IN_COUNTRIES
the countries in which the tweets has been withheld.
-
QUOTED_STATUS_ID
public static final TwitterField QUOTED_STATUS_ID
the ID of the quoted status.
-
QUOTED_STATUS
public static final TwitterField QUOTED_STATUS
the quoted status.
-
-
Method Detail
-
values
public static TwitterField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TwitterField c : TwitterField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TwitterField valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-