Descriptor
was primarily used for the legacy connector stack and have been
deprecated. Use TableDescriptor
for creating sources and sinks from the Table API.@PublicEvolving @Deprecated public interface Descriptor
Typical characteristics of a descriptor are: - descriptors have a default constructor - descriptors themselves contain very little logic - corresponding validators validate the correctness (goal: have a single point of validation)
A descriptor is similar to a builder in a builder pattern, thus, mutable for building properties.
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
toProperties()
Deprecated.
Converts this descriptor into a set of properties.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.