Package org.apache.calcite.runtime
Class Resources.IntProp
- java.lang.Object
-
- org.apache.calcite.runtime.Resources.Element
-
- org.apache.calcite.runtime.Resources.Prop
-
- org.apache.calcite.runtime.Resources.IntProp
-
- Enclosing class:
- Resources
public static class Resources.IntProp extends Resources.Prop
Integer property instance.
-
-
Field Summary
Fields Modifier and Type Field Description private int
defaultValue
-
Fields inherited from class org.apache.calcite.runtime.Resources.Prop
accessor, hasDefault
-
Fields inherited from class org.apache.calcite.runtime.Resources.Element
key, method
-
-
Constructor Summary
Constructors Constructor Description IntProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
defaultValue()
int
get()
Returns the value of this integer property.int
get(int defaultValue)
Returns the value of this integer property, returning the given default value if the property is not set.-
Methods inherited from class org.apache.calcite.runtime.Resources.Prop
checkDefault, checkDefault2, hasDefault, isSet
-
Methods inherited from class org.apache.calcite.runtime.Resources.Element
deriveKey
-
-
-
-
Constructor Detail
-
IntProp
public IntProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
-