public interface AttributeFactory
Modifier and Type | Method and Description |
---|---|
Attribute |
decodeStructField(StructField field,
boolean preserveName)
Creates an
Attribute from a StructField instance, optionally preserving name. |
Attribute |
fromMetadata(Metadata metadata)
Creates an
Attribute from a Metadata instance. |
Attribute |
fromStructField(StructField field)
Creates an
Attribute from a StructField instance. |
Attribute decodeStructField(StructField field, boolean preserveName)
Attribute
from a StructField
instance, optionally preserving name.field
- (undocumented)preserveName
- (undocumented)Attribute fromMetadata(Metadata metadata)
Attribute
from a Metadata
instance.metadata
- (undocumented)Attribute fromStructField(StructField field)
Attribute
from a StructField
instance.field
- (undocumented)