public interface Propertied
PropertyAccessor
.Modifier and Type | Field and Description |
---|---|
static String |
DRILL_PROP_PREFIX
Base name for properties which Drill itself defines.
|
Modifier and Type | Method and Description |
---|---|
boolean |
booleanProperty(String key) |
boolean |
booleanProperty(String key,
boolean defaultValue) |
boolean |
hasProperties() |
int |
intProperty(String key) |
int |
intProperty(String key,
int defaultValue) |
static String |
pluginPrefix(String pluginName)
Drill-wide properties are of the form:
drill. While plugin-specific properties are of the form: drill. |
Map<String,String> |
properties() |
String |
property(String key) |
String |
property(String key,
String defValue) |
void |
removeProperty(String key) |
void |
setBooleanProperty(String key,
boolean value) |
void |
setIntProperty(String key,
int value) |
void |
setProperties(Map<String,String> properties)
Sets schema properties if not null.
|
void |
setProperty(String key,
String value) |
static final String DRILL_PROP_PREFIX
void setProperties(Map<String,String> properties)
properties
- schema propertiesboolean hasProperties()
boolean booleanProperty(String key)
boolean booleanProperty(String key, boolean defaultValue)
void setBooleanProperty(String key, boolean value)
int intProperty(String key)
int intProperty(String key, int defaultValue)
void setIntProperty(String key, int value)
void removeProperty(String key)
static String pluginPrefix(String pluginName)
This function generates the "drill.
pluginName
- name used in the "type" field of the plugin
configCopyright © 1970 The Apache Software Foundation. All rights reserved.