Interface Restrictor
- All Superinterfaces:
AutoCloseable,Predicate<Tuple>,Realized
- All Known Implementing Classes:
DefaultRestrictor
A Restriction that has been built and verified to work with a given type.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StructThe type of tuple that come out of this realized thing, orStruct.EMPTY_STRUCTif nothingThe exactStructthat Tuple's passed toPredicate.test(java.lang.Object)should be of.
-
Method Details
-
getSourceType
Struct getSourceType()The exact
Structthat Tuple's passed toPredicate.test(java.lang.Object)should be of. -
getProducedType
Description copied from interface:RealizedThe type of tuple that come out of this realized thing, or
Struct.EMPTY_STRUCTif nothing- Specified by:
getProducedTypein interfaceRealized
-