public interface TupleType extends FunctionItemType
ItemType.WithSequenceTypeCache| Modifier and Type | Method and Description |
|---|---|
Iterable<String> |
getFieldNames()
Get the names of all the fields
|
SequenceType |
getFieldType(String field)
Get the type of a given field
|
boolean |
isExtensible()
Ask whether the tuple type is extensible, that is, whether fields other than those named are permitted
|
boolean |
isOptional(String field)
Ask whether a particular field is optional (that is, allowed to be absent from the map)
|
getAnnotationAssertions, getArgumentTypes, getGenre, getResultType, isArrayType, isMapType, makeFunctionSequenceCoercer, relationshipexplainMismatch, generateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAlphaCode, getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, isTrueItemType, matches, toExportString, toStringIterable<String> getFieldNames()
SequenceType getFieldType(String field)
field - the name of the fieldboolean isOptional(String field)
field - the name of the fieldboolean isExtensible()