field.go 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. //HBaseLikeArc 点赞相关
  62. HBaseLikeArc = "up_like_trend"
  63. //HBaseFamilyPlat family
  64. HBaseFamilyPlat = []byte("v")
  65. //HBaseColumnAid aid
  66. HBaseColumnAid = []byte("avid")
  67. //HBaseColumnWebPC pc
  68. HBaseColumnWebPC = []byte("plat0")
  69. //HBaseColumnWebH5 h5
  70. HBaseColumnWebH5 = []byte("plat1")
  71. //HBaseColumnOutsite out
  72. HBaseColumnOutsite = []byte("plat2")
  73. //HBaseColumnIOS ios
  74. HBaseColumnIOS = []byte("plat3")
  75. //HBaseColumnAndroid android
  76. HBaseColumnAndroid = []byte("plat4")
  77. //HBaseColumnElse else
  78. HBaseColumnElse = []byte("else")
  79. //HBaseColumnFans fans
  80. HBaseColumnFans = []byte("fans")
  81. //HBaseColumnGuest guest
  82. HBaseColumnGuest = []byte("guest")
  83. //HBaseColumnAll all
  84. HBaseColumnAll = []byte("all")
  85. //HBaseColumnCoin coin
  86. HBaseColumnCoin = []byte("coin")
  87. //HBaseColumnElec elec
  88. HBaseColumnElec = []byte("elec")
  89. //HBaseColumnFav fav
  90. HBaseColumnFav = []byte("fav")
  91. //HBaseColumnShare share
  92. HBaseColumnShare = []byte("share")
  93. )