@Internal
public class CustomFormatDescriptor
extends org.apache.flink.table.descriptors.FormatDescriptor
| Constructor and Description |
|---|
CustomFormatDescriptor(String type,
int version)
Constructs a
CustomFormatDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
CustomFormatDescriptor |
properties(Map<String,String> properties)
Adds a set of properties for the format.
|
CustomFormatDescriptor |
property(String key,
String value)
Adds a configuration property for the format.
|
protected Map<String,String> |
toFormatProperties() |
public CustomFormatDescriptor(String type, int version)
CustomFormatDescriptor.type - String that identifies this format.version - Property version for backwards compatibility.public CustomFormatDescriptor property(String key, String value)
key - The property key to be set.value - The property value to be set.public CustomFormatDescriptor properties(Map<String,String> properties)
properties - The properties to add.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.