Package org.apache.calcite.runtime
Interface Resources.PropertyAccessor
-
- All Known Implementing Classes:
Resources.EmptyPropertyAccessor
,Resources.PropertiesAccessor
- Enclosing class:
- Resources
public static interface Resources.PropertyAccessor
Means by which a resource can get values of properties, given their name.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
booleanValue(Resources.BooleanProp p)
boolean
booleanValue(Resources.BooleanProp p, boolean defaultValue)
double
doubleValue(Resources.DoubleProp p)
double
doubleValue(Resources.DoubleProp p, double defaultValue)
int
intValue(Resources.IntProp p)
int
intValue(Resources.IntProp p, int defaultValue)
boolean
isSet(Resources.Prop p)
java.lang.String
stringValue(Resources.StringProp p)
java.lang.String
stringValue(Resources.StringProp p, java.lang.String defaultValue)
-
-
-
Method Detail
-
isSet
boolean isSet(Resources.Prop p)
-
intValue
int intValue(Resources.IntProp p)
-
intValue
int intValue(Resources.IntProp p, int defaultValue)
-
stringValue
java.lang.String stringValue(Resources.StringProp p)
-
stringValue
java.lang.String stringValue(Resources.StringProp p, java.lang.String defaultValue)
-
booleanValue
boolean booleanValue(Resources.BooleanProp p)
-
booleanValue
boolean booleanValue(Resources.BooleanProp p, boolean defaultValue)
-
doubleValue
double doubleValue(Resources.DoubleProp p)
-
doubleValue
double doubleValue(Resources.DoubleProp p, double defaultValue)
-
-