Package org.apache.calcite.runtime
Enum Resources.EmptyPropertyAccessor
- java.lang.Object
-
- java.lang.Enum<Resources.EmptyPropertyAccessor>
-
- org.apache.calcite.runtime.Resources.EmptyPropertyAccessor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Resources.EmptyPropertyAccessor>
,Resources.PropertyAccessor
- Enclosing class:
- Resources
static enum Resources.EmptyPropertyAccessor extends java.lang.Enum<Resources.EmptyPropertyAccessor> implements Resources.PropertyAccessor
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
EmptyPropertyAccessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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)
static Resources.EmptyPropertyAccessor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Resources.EmptyPropertyAccessor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Resources.EmptyPropertyAccessor INSTANCE
-
-
Method Detail
-
values
public static Resources.EmptyPropertyAccessor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Resources.EmptyPropertyAccessor c : Resources.EmptyPropertyAccessor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resources.EmptyPropertyAccessor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isSet
public boolean isSet(Resources.Prop p)
- Specified by:
isSet
in interfaceResources.PropertyAccessor
-
intValue
public int intValue(Resources.IntProp p)
- Specified by:
intValue
in interfaceResources.PropertyAccessor
-
intValue
public int intValue(Resources.IntProp p, int defaultValue)
- Specified by:
intValue
in interfaceResources.PropertyAccessor
-
stringValue
public java.lang.String stringValue(Resources.StringProp p)
- Specified by:
stringValue
in interfaceResources.PropertyAccessor
-
stringValue
public java.lang.String stringValue(Resources.StringProp p, java.lang.String defaultValue)
- Specified by:
stringValue
in interfaceResources.PropertyAccessor
-
booleanValue
public boolean booleanValue(Resources.BooleanProp p)
- Specified by:
booleanValue
in interfaceResources.PropertyAccessor
-
booleanValue
public boolean booleanValue(Resources.BooleanProp p, boolean defaultValue)
- Specified by:
booleanValue
in interfaceResources.PropertyAccessor
-
doubleValue
public double doubleValue(Resources.DoubleProp p)
- Specified by:
doubleValue
in interfaceResources.PropertyAccessor
-
doubleValue
public double doubleValue(Resources.DoubleProp p, double defaultValue)
- Specified by:
doubleValue
in interfaceResources.PropertyAccessor
-
-