co.decodable.sdk.pipeline.testing.StreamRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of decodable-pipeline-sdk Show documentation
Show all versions of decodable-pipeline-sdk Show documentation
A software development kit for implementing Apache Flink jobs and running them on Decodable
/*
* 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