Interface CompositeType
-
- All Superinterfaces:
DataType
- All Known Implementing Classes:
CompositeTypeImpl
,EmptyCompositeType
,SimplifiedCompositeType
public interface CompositeType extends DataType
This models a composite type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.collection.immutable.Seq<String>
getFields()
Returns all the fields.scala.Option<String>
getFieldType(String field)
Returns an optional containing the type of the given field, if the field is present, or an empty optional otherwise.
-
-
-
Method Detail
-
getFieldType
scala.Option<String> getFieldType(String field)
Returns an optional containing the type of the given field, if the field is present, or an empty optional otherwise.- Parameters:
field
- field- Returns:
- an optional containing the type of the given field, if the field is present, or an empty optional otherwise
-
getFields
scala.collection.immutable.Seq<String> getFields()
Returns all the fields.- Returns:
- all the fields
-
-