public class AbstractPropertied extends Object implements Propertied
DRILL_PROP_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
AbstractPropertied() |
protected |
AbstractPropertied(AbstractPropertied from) |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanProperty(String key) |
boolean |
booleanProperty(String key,
boolean defaultValue) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
hasProperties() |
int |
intProperty(String key) |
int |
intProperty(String key,
int defaultValue) |
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) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
pluginPrefix
protected AbstractPropertied()
protected AbstractPropertied(AbstractPropertied from)
public boolean hasProperties()
hasProperties
in interface Propertied
public void setProperties(Map<String,String> properties)
Propertied
setProperties
in interface Propertied
properties
- schema propertiespublic Map<String,String> properties()
properties
in interface Propertied
public String property(String key)
property
in interface Propertied
public String property(String key, String defValue)
property
in interface Propertied
public void setProperty(String key, String value)
setProperty
in interface Propertied
public boolean booleanProperty(String key)
booleanProperty
in interface Propertied
public boolean booleanProperty(String key, boolean defaultValue)
booleanProperty
in interface Propertied
public void setBooleanProperty(String key, boolean value)
setBooleanProperty
in interface Propertied
public int intProperty(String key)
intProperty
in interface Propertied
public int intProperty(String key, int defaultValue)
intProperty
in interface Propertied
public void setIntProperty(String key, int value)
setIntProperty
in interface Propertied
public void removeProperty(String key)
removeProperty
in interface Propertied
Copyright © 1970 The Apache Software Foundation. All rights reserved.