Package org.apache.iceberg.catalog
Class LoadContext
java.lang.Object
org.apache.iceberg.catalog.LoadContext
Caller-supplied details about a load request, such as the chain of views that reference the table
or view being loaded.
A catalog may use these fields to make authorization, credential-scoping, and auditing
decisions. All fields are optional; empty() carries none.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadContext.Builderbuilder()static LoadContextempty()Returns the view identifiers that form the reference chain, outermost first.
-
Method Details
-
referencedBy
Returns the view identifiers that form the reference chain, outermost first.For example, if view A references view B which references table C, loading C would have
referencedBy = [A, B].- Returns:
- an unmodifiable list of referencing view identifiers, or an empty list if none
-
builder
-
empty
-