Package cn.thinkingdata.analytics
Class ThinkingDataAnalytics
- java.lang.Object
-
- cn.thinkingdata.analytics.TDAnalytics
-
- cn.thinkingdata.analytics.ThinkingDataAnalytics
-
- All Implemented Interfaces:
ITDAnalytics
@Deprecated public class ThinkingDataAnalytics extends TDAnalytics
Deprecated.please use TDAnalytics instead
-
-
Constructor Summary
Constructors Constructor Description ThinkingDataAnalytics(ITDConsumer consumer)Deprecated.Construct SDKThinkingDataAnalytics(ITDConsumer consumer, boolean enableUUID)Deprecated.Construct SDKThinkingDataAnalytics(ITDConsumer consumer, boolean enableUUID, boolean isStrictModel)Deprecated.Construct SDK
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidtrack_first(String accountId, String distinctId, String eventName, Map<String,Object> properties)Deprecated.Report first eventvoidtrack_overwrite(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties)Deprecated.Report overwrite eventvoidtrack_update(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties)Deprecated.Report update eventvoiduser_add(String accountId, String distinctId, Map<String,Object> properties)Deprecated.To accumulate operations against the propertyvoiduser_append(String accountId, String distinctId, Map<String,Object> properties)Deprecated.To add user properties of array typevoiduser_del(String accountId, String distinctId)Deprecated.Delete a user, This operation is not reversiblevoiduser_set(String accountId, String distinctId, Map<String,Object> properties)Deprecated.Set user properties.voiduser_setOnce(String accountId, String distinctId, Map<String,Object> properties)Deprecated.Set user properties, this message would be neglected If such property had been set beforevoiduser_uniqAppend(String accountId, String distinctId, Map<String,Object> properties)Deprecated.Append user properties to array type by unique.voiduser_unset(String accountId, String distinctId, String... properties)Deprecated.Clear the user properties of users-
Methods inherited from class cn.thinkingdata.analytics.TDAnalytics
clearSuperProperties, close, enableLog, flush, getSuperProperties, setDynamicSuperPropertiesTracker, setLogger, setSuperProperties, track, trackFirst, trackOverwrite, trackUpdate, unsetSuperProperties, userAdd, userAppend, userDelete, userSet, userSetOnce, userUniqAppend, userUnset
-
-
-
-
Constructor Detail
-
ThinkingDataAnalytics
public ThinkingDataAnalytics(ITDConsumer consumer)
Deprecated.Construct SDK- Parameters:
consumer- BatchConsumer, LoggerConsumer, DebugConsumer
-
ThinkingDataAnalytics
public ThinkingDataAnalytics(ITDConsumer consumer, boolean enableUUID)
Deprecated.Construct SDK- Parameters:
consumer- BatchConsumer, LoggerConsumer, DebugConsumerenableUUID- enable uuid
-
ThinkingDataAnalytics
public ThinkingDataAnalytics(ITDConsumer consumer, boolean enableUUID, boolean isStrictModel)
Deprecated.Construct SDK- Parameters:
consumer- BatchConsumer, LoggerConsumer, DebugConsumerenableUUID- enable uuidisStrictModel- check event data
-
-
Method Detail
-
user_del
public void user_del(String accountId, String distinctId) throws InvalidArgumentException
Deprecated.Delete a user, This operation is not reversible- Parameters:
accountId- account IDdistinctId- distinct ID- Throws:
InvalidArgumentException- exception
-
user_add
public void user_add(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.To accumulate operations against the property- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- exception
-
user_setOnce
public void user_setOnce(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.Set user properties, this message would be neglected If such property had been set before- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- exception
-
user_set
public void user_set(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.Set user properties. would overwrite existing names- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- exception
-
user_unset
public void user_unset(String accountId, String distinctId, String... properties) throws InvalidArgumentException
Deprecated.Clear the user properties of users- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- exception
-
user_append
public void user_append(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.To add user properties of array type- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- exception
-
user_uniqAppend
public void user_uniqAppend(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.Append user properties to array type by unique.- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- exception
-
track_first
public void track_first(String accountId, String distinctId, String eventName, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.Report first event- Parameters:
accountId- account IDdistinctId- distinct IDeventName- event nameproperties- properties (must add "#first_check_id" in properties, because it is flag of the first event)- Throws:
InvalidArgumentException- exception
-
track_update
public void track_update(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.Report update event- Parameters:
accountId- account IDdistinctId- distinct IDeventName- event nameeventId- event idproperties- properties- Throws:
InvalidArgumentException- exception
-
track_overwrite
public void track_overwrite(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.Report overwrite event- Parameters:
accountId- account IDdistinctId- distinct IDeventName- event nameeventId- event idproperties- properties- Throws:
InvalidArgumentException- exception
-
-