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 SummaryConstructors
- 
Method SummaryModifier 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
- 
sessionIdReturns a string that identifies this session.This can be used for caching state within a session. - Returns:
- a string that identifies this session
 
- 
identityReturns 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
 
- 
credentialsReturns the session's credential map.This cannot change for a given session ID. - Returns:
- a credential string
 
- 
propertiesReturns a map of properties currently set for the session.- Returns:
- a map of properties
 
- 
wrappedIdentityReturns the opaque wrapped identity object.- Returns:
- the wrapped identity
 
 
-