Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-spark-tag-4.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaokang
gic-spark-tag-4.0
Commits
73098280
Commit
73098280
authored
Jun 08, 2020
by
guos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签4.0
parent
e8d19a22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
TagProcess.java
src/main/java/com/gic/spark/tag/TagProcess.java
+13
-1
No files found.
src/main/java/com/gic/spark/tag/TagProcess.java
View file @
73098280
...
...
@@ -111,8 +111,14 @@ public class TagProcess {
public
void
process
(
boolean
extractData
){
if
(
null
!=
memberDatasource
){
System
.
out
.
println
(
"memberDatasource==>"
+
memberDatasource
.
getHiveTableName
());
System
.
out
.
println
(
"memberDatasource==>"
+
memberDatasource
.
getSourceKey
());
}
Map
<
Integer
,
List
<
TagProcessEntity
>>
tagGroupByEnterpriseMap
=
new
HashMap
<>();
Map
<
Long
,
TagFilter
>
tagIdToFilterMap
=
new
HashMap
();
for
(
SceneCrowdDTO
sceneCrowdDTO:
sceneCrowdDTOList
){
if
(
sceneCrowdDTO
.
getReal_Time
()==
2
){
LinkedList
<
TagConditionGroupDTO
>
conditionGroupDTOS
=
sceneCrowdDTO
.
getConditionGroupDTOList
();
...
...
@@ -130,7 +136,13 @@ public class TagProcess {
if
(
null
!=
tagFilter
){
tagIdToFilterMap
.
put
(
conditionDTO
.
getTagId
(),
tagFilter
);
for
(
DataSourceEntity
sourceEntity:
tagFilter
.
necessarySourceList
()){
System
.
out
.
println
(
"tagEsFieldName==>"
+
conditionDTO
.
getTagEsFieldName
()+
" ,SourceKey==>"
+
sourceEntity
.
getSourceKey
()+
" ,HiveTableName==>"
+
sourceEntity
.
getHiveTableName
());
if
(
null
!=
sourceEntity
){
System
.
out
.
println
(
"tagEsFieldName==>"
+
conditionDTO
.
getTagEsFieldName
());
System
.
out
.
println
(
"SourceKey==>"
+
sourceEntity
.
getSourceKey
());
System
.
out
.
println
(
"HiveTableName==>"
+
sourceEntity
.
getHiveTableName
());
}
else
{
System
.
out
.
println
(
"tagEsFieldName==>"
+
conditionDTO
.
getTagEsFieldName
()+
" ,sourceEntity==>"
+
sourceEntity
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment