@PublicEvolving public abstract class FormatDescriptor extends DescriptorBase implements Descriptor
Constructor and Description |
---|
FormatDescriptor(String type,
int version)
Constructs a
FormatDescriptor . |
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,String> |
toFormatProperties()
Converts this descriptor into a set of format properties.
|
Map<String,String> |
toProperties()
Converts this descriptor into a set of properties.
|
toString
public FormatDescriptor(String type, int version)
FormatDescriptor
.type
- string that identifies this formatversion
- property version for backwards compatibilitypublic final Map<String,String> toProperties()
Descriptor
toProperties
in interface Descriptor
protected abstract Map<String,String> toFormatProperties()
FormatDescriptorValidator.FORMAT
.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.