[ 
https://issues.apache.org/jira/browse/BEAM-4659?focusedWorklogId=118215&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-118215
 ]

ASF GitHub Bot logged work on BEAM-4659:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Jul/18 16:02
            Start Date: 02/Jul/18 16:02
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5794: 
[BEAM-4659] Add well known timer coder to Java SDK.
URL: https://github.com/apache/beam/pull/5794#discussion_r199546122
 
 

 ##########
 File path: 
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/Timer.java
 ##########
 @@ -0,0 +1,131 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.runners.core.construction;
+
+import com.google.auto.value.AutoValue;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.util.Collections;
+import java.util.List;
+import javax.annotation.Nullable;
+import org.apache.beam.sdk.coders.CoderException;
+import org.apache.beam.sdk.coders.InstantCoder;
+import org.apache.beam.sdk.coders.StructuredCoder;
+import org.apache.beam.sdk.util.common.ElementByteSizeObserver;
+import org.joda.time.Instant;
+
+/**
+ * A timer consists of a timestamp and a corresponding user supplied payload.
+ *
+ * <p>Note that this implementation is specifically used during execution 
within runners and inside
+ * the SDK harness. The {@link org.apache.beam.sdk.state.Timer} represents the 
current user facing
+ * API. Consider consolidating the two once {@link 
org.apache.beam.runners.core.TimerInternals} is
 
 Review comment:
   Just noticed that you fixed it, thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 118215)
    Time Spent: 1.5h  (was: 1h 20m)

> Add well known timer coder for Java SDK
> ---------------------------------------
>
>                 Key: BEAM-4659
>                 URL: https://issues.apache.org/jira/browse/BEAM-4659
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: Major
>              Labels: portability
>             Fix For: 2.6.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Encoding is: [Instant, Payload]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to