public final class DrillProperties extends Properties
defaults
Modifier and Type | Method and Description |
---|---|
static DrillProperties |
createEmpty() |
static DrillProperties |
createFromProperties(Properties properties)
Returns a new instance of DrillProperties from the given properties.
|
static DrillProperties |
createFromProperties(UserProtos.UserProperties userProperties,
boolean addOnlyKnownServerProperties)
Deserializes the given properties into DrillProperties.
|
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
void |
merge(Map<String,String> overrides) |
void |
merge(Properties overrides) |
UserProtos.UserProperties |
serializeForServer()
Serializes properties into a protobuf message.
|
Object |
setProperty(String key,
String value) |
Map<String,String> |
stringPropertiesAsMap()
Returns a map of keys and values in this property list where the key and its corresponding value are strings,
including distinct keys in the default property list if a key of the same name has not already been found from
the main properties list.
|
list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public static final String ZOOKEEPER_CONNECTION
public static final String DRILLBIT_CONNECTION
public static final String TRIES
public static final String SCHEMA
public static final String USER
public static final String PASSWORD
public static final String IMPERSONATION_TARGET
public static final String AUTH_MECHANISM
public static final String SERVICE_PRINCIPAL
public static final String SERVICE_NAME
public static final String SERVICE_HOST
public static final String REALM
public static final String KEYTAB
public static final String SASL_ENCRYPT
public static final String TEST_SASL_LEVEL
public static final String KERBEROS_FROM_SUBJECT
public static final String QUOTING_IDENTIFIERS
public static final String ENABLE_TLS
public static final String TLS_PROTOCOL
public static final String TRUSTSTORE_TYPE
public static final String TRUSTSTORE_PATH
public static final String TRUSTSTORE_PASSWORD
public static final String DISABLE_HOST_VERIFICATION
public static final String DISABLE_CERT_VERIFICATION
public static final String TLS_HANDSHAKE_TIMEOUT
public static final String TLS_PROVIDER
public static final String USE_SYSTEM_TRUSTSTORE
public static final String USE_MAPR_SSL_CONFIG
public static final String QUERY_TAGS
public static final org.apache.drill.shaded.guava.com.google.common.collect.ImmutableSet<String> ALLOWED_BY_CLIENT
public static final org.apache.drill.shaded.guava.com.google.common.collect.ImmutableSet<String> ACCEPTED_BY_SERVER
public Object setProperty(String key, String value)
setProperty
in class Properties
public String getProperty(String key)
getProperty
in class Properties
public String getProperty(String key, String defaultValue)
getProperty
in class Properties
public void merge(Properties overrides)
public Map<String,String> stringPropertiesAsMap()
The returned map is not backed by the Properties object. Changes to this Properties are not reflected in the map, or vice versa.
public UserProtos.UserProperties serializeForServer()
public static DrillProperties createFromProperties(UserProtos.UserProperties userProperties, boolean addOnlyKnownServerProperties)
userProperties
- serialized user propertiesaddOnlyKnownServerProperties
- add only properties known by serverpublic static DrillProperties createFromProperties(Properties properties)
properties
- user propertiespublic static DrillProperties createEmpty()
Copyright © 1970 The Apache Software Foundation. All rights reserved.