Class SchemaTestUtils
java.lang.Object
org.apache.flink.connector.testutils.formats.SchemaTestUtils
Test utilities for schemas.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidopen(org.apache.flink.api.common.serialization.DeserializationSchema<?> schema) Opens the given schema with a mock initialization context.static voidopen(org.apache.flink.api.common.serialization.SerializationSchema<?> schema) Opens the given schema with a mock initialization context.
-
Constructor Details
-
SchemaTestUtils
public SchemaTestUtils()
-
-
Method Details
-
open
public static void open(org.apache.flink.api.common.serialization.SerializationSchema<?> schema) Opens the given schema with a mock initialization context.- Parameters:
schema- to open- Throws:
RuntimeException- if the schema throws an exception
-
open
public static void open(org.apache.flink.api.common.serialization.DeserializationSchema<?> schema) Opens the given schema with a mock initialization context.- Parameters:
schema- to open- Throws:
RuntimeException- if the schema throws an exception
-