Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
ctr-estimate
Project
Project
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
赵建伟
ctr-estimate
Commits
da4746f8
Commit
da4746f8
authored
Apr 11, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
74779c9d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CtrEstimatePfrOperator.java
...va/com/gmei/data/ctr/operator/CtrEstimatePfrOperator.java
+2
-2
No files found.
src/main/java/com/gmei/data/ctr/operator/CtrEstimatePfrOperator.java
View file @
da4746f8
...
@@ -112,7 +112,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{
...
@@ -112,7 +112,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{
return
false
;
return
false
;
}
}
});
});
filter
.
print
();
//
filter.print();
SingleOutputStreamOperator
map
=
filter
SingleOutputStreamOperator
map
=
filter
.
map
(
new
MapFunction
<
JSONObject
,
CtrEstimatePfrEtl
>()
{
.
map
(
new
MapFunction
<
JSONObject
,
CtrEstimatePfrEtl
>()
{
@Override
@Override
...
@@ -156,7 +156,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{
...
@@ -156,7 +156,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{
return
ctrEstimatePfrEtl
;
return
ctrEstimatePfrEtl
;
}
}
});
});
map
.
print
();
//
map.print();
DataStream
<
DeviceCurrentEstimatePfrTmp
>
tidbAsyncDataStream
=
AsyncDataStream
DataStream
<
DeviceCurrentEstimatePfrTmp
>
tidbAsyncDataStream
=
AsyncDataStream
.
unorderedWait
(
map
,
new
TidbMysqlAsyncPfrSource
(
jerryJdbcUrl
,
jerryUsername
,
jerryPassword
),
1
,
TimeUnit
.
MINUTES
,
1000
)
.
unorderedWait
(
map
,
new
TidbMysqlAsyncPfrSource
(
jerryJdbcUrl
,
jerryUsername
,
jerryPassword
),
1
,
TimeUnit
.
MINUTES
,
1000
)
.
uid
(
"tidbAsyncDataStream"
)
.
uid
(
"tidbAsyncDataStream"
)
...
...
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