field.go 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package data
  2. var (
  3. //HBaseVideoTablePrefix 播放流失分布
  4. HBaseVideoTablePrefix = "video_play_churn_"
  5. //HBaseArchiveTablePrefix 分类分端播放
  6. HBaseArchiveTablePrefix = "video_play_category_"
  7. //HBaseAreaTablePrefix 地区播放
  8. HBaseAreaTablePrefix = "video_play_area_"
  9. //HBaseUpStatTablePrefix up主概况
  10. HBaseUpStatTablePrefix = "up_stats_"
  11. //HBaseUpViewerBase 观众数据,性别年龄分布 + 设备分布
  12. HBaseUpViewerBase = "up_viewer_base_"
  13. //HBaseUpViewerArea 地区分布
  14. HBaseUpViewerArea = "up_viewer_area_"
  15. //HBaseUpViewerTrend 内容倾向
  16. HBaseUpViewerTrend = "up_viewer_trend_"
  17. //HBaseUpViewerActionHour 行为时间分布
  18. HBaseUpViewerActionHour = "up_viewer_action_hour_"
  19. //HBaseUpRelationFansDay 日维度 最近30天 只保留31天
  20. HBaseUpRelationFansDay = "up_relation_fans_day"
  21. // HBaseUpRelationFansHistory 日维度 各月份每日数据,日更,永久保存
  22. HBaseUpRelationFansHistory = "up_relation_fans_history"
  23. //HBaseUpRelationFansMonth 年维度 2017.8月以后的数据永久保存
  24. HBaseUpRelationFansMonth = "up_relation_fans_month"
  25. //HBaseUpPlayInc 我的概况 播放相关
  26. HBaseUpPlayInc = "up_play_inc_"
  27. //HBaseUpDmInc 弹幕相关
  28. HBaseUpDmInc = "up_dm_inc_"
  29. //HBaseUpReplyInc 评论相关
  30. HBaseUpReplyInc = "up_reply_inc_"
  31. //HBaseUpShareInc 分享相关
  32. HBaseUpShareInc = "up_share_inc_"
  33. //HBaseUpCoinInc 投币相关
  34. HBaseUpCoinInc = "up_coin_inc_"
  35. //HBaseUpFavInc 收藏相关
  36. HBaseUpFavInc = "up_fav_inc_"
  37. //HBaseUpElecInc 充电相关
  38. HBaseUpElecInc = "up_elec_inc_"
  39. //HBaseUpFansAnalysis 粉丝管理
  40. HBaseUpFansAnalysis = "up_fans_analysis"
  41. //HBaseUpPlaySourceAnalysis 播放来源
  42. HBaseUpPlaySourceAnalysis = "up_play_analysis"
  43. //HBaseUpArcPlayAnalysis 平均观看时长、播放用户数、留存率
  44. HBaseUpArcPlayAnalysis = "up_archive_play_analysis"
  45. //HBaseUpArcQuery 稿件索引表
  46. HBaseUpArcQuery = "up_archive_query"
  47. //HBasePlayArc 播放相关 archive for 30 days
  48. HBasePlayArc = "up_play_trend"
  49. //HBaseDmArc 弹幕相关
  50. HBaseDmArc = "up_dm_trend"
  51. //HBaseReplyArc 评论相关
  52. HBaseReplyArc = "up_reply_trend"
  53. //HBaseShareArc 分享相关
  54. HBaseShareArc = "up_share_trend"
  55. //HBaseCoinArc 投币相关
  56. HBaseCoinArc = "up_coin_trend"
  57. //HBaseFavArc 收藏相关
  58. HBaseFavArc = "up_fav_trend"
  59. //HBaseElecArc 充电相关
  60. HBaseElecArc = "up_elec_trend"
  61. //HBaseFamilyPlat family
  62. HBaseFamilyPlat = []byte("v")
  63. //HBaseColumnAid aid
  64. HBaseColumnAid = []byte("avid")
  65. //HBaseColumnWebPC pc
  66. HBaseColumnWebPC = []byte("plat0")
  67. //HBaseColumnWebH5 h5
  68. HBaseColumnWebH5 = []byte("plat1")
  69. //HBaseColumnOutsite out
  70. HBaseColumnOutsite = []byte("plat2")
  71. //HBaseColumnIOS ios
  72. HBaseColumnIOS = []byte("plat3")
  73. //HBaseColumnAndroid android
  74. HBaseColumnAndroid = []byte("plat4")
  75. //HBaseColumnElse else
  76. HBaseColumnElse = []byte("else")
  77. //HBaseColumnFans fans
  78. HBaseColumnFans = []byte("fans")
  79. //HBaseColumnGuest guest
  80. HBaseColumnGuest = []byte("guest")
  81. //HBaseColumnAll all
  82. HBaseColumnAll = []byte("all")
  83. //HBaseColumnCoin coin
  84. HBaseColumnCoin = []byte("coin")
  85. //HBaseColumnElec elec
  86. HBaseColumnElec = []byte("elec")
  87. //HBaseColumnFav fav
  88. HBaseColumnFav = []byte("fav")
  89. //HBaseColumnShare share
  90. HBaseColumnShare = []byte("share")
  91. )