Package org.apache.iceberg.catalog
Class SessionCatalog.SessionContext
java.lang.Object
org.apache.iceberg.catalog.SessionCatalog.SessionContext
- Enclosing interface:
SessionCatalog
Context for a session.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the session's credential map.identity()
Returns a string that identifies the current user or principal.Returns a map of properties currently set for the session.Returns a string that identifies this session.Returns the opaque wrapped identity object.
-
Constructor Details
-
SessionContext
-
SessionContext
-
-
Method Details
-
createEmpty
-
sessionId
Returns a string that identifies this session.This can be used for caching state within a session.
- Returns:
- a string that identifies this session
-
identity
Returns a string that identifies the current user or principal.This identity cannot change for a given session ID.
- Returns:
- a user or principal identity string
-
credentials
Returns the session's credential map.This cannot change for a given session ID.
- Returns:
- a credential string
-
properties
Returns a map of properties currently set for the session.- Returns:
- a map of properties
-
wrappedIdentity
Returns the opaque wrapped identity object.- Returns:
- the wrapped identity
-