Package cn.thinkingdata.analytics
Enum TDConstData.DataType
- java.lang.Object
-
- java.lang.Enum<TDConstData.DataType>
-
- cn.thinkingdata.analytics.TDConstData.DataType
-
- All Implemented Interfaces:
Serializable,Comparable<TDConstData.DataType>
- Enclosing class:
- TDConstData
public static enum TDConstData.DataType extends Enum<TDConstData.DataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRACKSDK apiTRACK_OVERWRITETRACK_UPDATEUSER_ADDUSER_APPENDUSER_DELUSER_SETUSER_SET_ONCEUSER_UNIQ_APPENDUSER_UNSET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()static TDConstData.DataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TDConstData.DataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACK
public static final TDConstData.DataType TRACK
SDK api
-
USER_SET
public static final TDConstData.DataType USER_SET
-
USER_SET_ONCE
public static final TDConstData.DataType USER_SET_ONCE
-
USER_ADD
public static final TDConstData.DataType USER_ADD
-
USER_DEL
public static final TDConstData.DataType USER_DEL
-
USER_UNSET
public static final TDConstData.DataType USER_UNSET
-
USER_APPEND
public static final TDConstData.DataType USER_APPEND
-
USER_UNIQ_APPEND
public static final TDConstData.DataType USER_UNIQ_APPEND
-
TRACK_UPDATE
public static final TDConstData.DataType TRACK_UPDATE
-
TRACK_OVERWRITE
public static final TDConstData.DataType TRACK_OVERWRITE
-
-
Method Detail
-
values
public static TDConstData.DataType[] 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 (TDConstData.DataType c : TDConstData.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TDConstData.DataType 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
-
getType
public String getType()
-
-