Package com.darkcollective.relix.processor.generator


package com.darkcollective.relix.processor.generator
Generator relations — leaf relations whose rows are produced by engine code rather than read from a file or database.

A Generator owns its schema and lazily produces its rows; GeneratorRegistry indexes the built-ins (RangeGenerator, NaturalsGenerator, PrimesGenerator) and doubles as the GeneratorCatalog seam so the same definitions supply schemas to semantic analysis and rows to execution (served by GeneratorDataSourceConnector).

A generator also answers the analyses that need to reason about it as a leaf: GeneratorBoundednessSource (is it infinite?), GeneratorDistinctnessSource (is it duplicate-free?) and GeneratorMonotonicitySource (does it ascend on a column, so an upper-bound selection can stop production?).