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 Struct
The type of tuple that come out of this realized thing, orStruct.EMPTY_STRUCT
if nothingThe exactStruct
that Tuple's passed toPredicate.test(java.lang.Object)
should be of.
-
Method Details
-
getSourceType
Struct getSourceType()The exact
Struct
that Tuple's passed toPredicate.test(java.lang.Object)
should be of. -
getProducedType
Description copied from interface:Realized
The type of tuple that come out of this realized thing, or
Struct.EMPTY_STRUCT
if nothing- Specified by:
getProducedType
in interfaceRealized
-