Interface BoundednessSource

All Known Implementing Classes:
GeneratorBoundednessSource, RelationBoundedness
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BoundednessSource
Supplies the Boundedness of a leaf relation by name — the one piece of boundedness that is not structural but depends on what the leaf actually is.

Most leaves are Boundedness.BOUNDED — files, database tables, inline and catalog relations, finite generators — and ALL_BOUNDED is the right source for a caller that knows it reads only those. A generator source answers for itself through this seam (GeneratorBoundednessSource): Naturals and Primes report Boundedness.UNBOUNDED.

  • Field Details

  • Method Details

    • boundednessOf

      Boundedness boundednessOf(String relationName)
      Returns the boundedness of the leaf relation named relationName.
      Parameters:
      relationName - the leaf relation name; never null
      Returns:
      its boundedness; never null