| Modifier and Type | Method and Description |
|---|---|
static ClientSelectedRole |
ClientSelectedRole.valueOf(String value) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ClientSelectedRole> |
ClientSession.getRoles()
Returns the map of catalog name -> selected role
|
Map<String,ClientSelectedRole> |
StatementClient.getSetRoles() |
| Modifier and Type | Method and Description |
|---|---|
ClientSession.Builder |
ClientSession.Builder.withRoles(Map<String,ClientSelectedRole> roles) |
| Constructor and Description |
|---|
ClientSession(URI server,
String user,
String source,
Optional<String> traceToken,
Set<String> clientTags,
String clientInfo,
String catalog,
String schema,
String path,
ZoneId timeZone,
Locale locale,
Map<String,String> resourceEstimates,
Map<String,String> properties,
Map<String,String> preparedStatements,
Map<String,ClientSelectedRole> roles,
Map<String,String> extraCredentials,
String transactionId,
io.airlift.units.Duration clientRequestTimeout) |
Copyright © 2012–2019. All rights reserved.