All Downloads are FREE. Search and download functionalities are using the official Maven repository.

co.decodable.sdk.pipeline.testing.StreamRecord Maven / Gradle / Ivy

Go to download

A software development kit for implementing Apache Flink jobs and running them on Decodable

There is a newer version: 1.0.0.Beta7
Show newest version
/*
 * SPDX-License-Identifier: Apache-2.0
 *
 * Copyright Decodable, Inc.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package co.decodable.sdk.pipeline.testing;

import co.decodable.sdk.pipeline.util.Incubating;

/**
 * Represents one element on a Decodable stream.
 *
 * @param  The data type of this record
 */
@Incubating
public class StreamRecord {

  private final T value;

  /** Creates a new stream record with the given value. */
  public StreamRecord(T value) {
    this.value = value;
  }

  /** Returns the value of this stream record. */
  public T value() {
    return value;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy