Class SourceEntry
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.view.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 ofSourceEntry
s. 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. ASourceEntry
object is immutable but supports the builder methodaddSourceValue(Source, Object)
to generate a new source with one additional value.
-
-
Field Summary
Fields Modifier and Type Field Description static SourceEntry
EMPTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceEntry
addSourceValue(Source source, Object object)
static SourceEntry
from(Source source, Object object)
Object
getValueFor(Source source)
-
-
-
Field Detail
-
EMPTY
@Nonnull public static final SourceEntry EMPTY
-
-