Class SourceEntry


  • @API(EXPERIMENTAL)
    public class SourceEntry
    extends Object
    A single entity produced by a source from a record, mapping each (inclusive) dependant source to a concrete value.

    Given a record, the Source.evalSourceEntriesFor(com.apple.foundationdb.record.query.plan.temp.view.SourceEntry) method produces a stream of SourceEntrys. Each entry is much like a named tuple in the relational model; each source is mapped to an object containing a concrete value. In the case of multi-valued sources, one source entry is generated for each of those repeated values. A source entry from a particular source includes mappings from all dependent sources from which that source is derived. A SourceEntry object is immutable but supports the builder method addSourceValue(Source, Object) to generate a new source with one additional value.