Package net.hydromatic.morel.type
Class ProgressiveRecordType
java.lang.Object
net.hydromatic.morel.type.BaseType
net.hydromatic.morel.type.RecordType
net.hydromatic.morel.type.ProgressiveRecordType
- All Implemented Interfaces:
RecordLikeType,Type
Progressive record type.
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.hydromatic.morel.type.RecordType
argNameTypes, ORDERING -
Constructor Summary
ConstructorsConstructorDescriptionProgressiveRecordType(SortedMap<String, Type> argNameTypes) Creates a ProgressiveRecordType. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this type is progressive.key()Description of the type, e.gMethods inherited from class net.hydromatic.morel.type.RecordType
accept, argNameTypes, argType, compareNames, copy, map, mutableMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.hydromatic.morel.type.RecordLikeType
argTypes, asTypedValueMethods inherited from interface net.hydromatic.morel.type.Type
isFinite, moniker, op, substitute
-
Constructor Details
-
ProgressiveRecordType
Creates a ProgressiveRecordType.
-
-
Method Details
-
isProgressive
public boolean isProgressive()Description copied from interface:TypeReturns whether this type is progressive.Progressive types are records, but can have additional fields each time you look.
The "file" value is an example.
-
key
Description copied from interface:TypeDescription of the type, e.g. "int", "int -> int", "NONE | SOME of 'a".- Specified by:
keyin interfaceType- Overrides:
keyin classRecordType
-