Enum NodeProperty.ValueType
- java.lang.Object
-
- java.lang.Enum<NodeProperty.ValueType>
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.analysis.stream.NodeProperty.ValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeProperty.ValueType>
- Enclosing class:
- NodeProperty
public static enum NodeProperty.ValueType extends Enum<NodeProperty.ValueType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeProperty.ValueType
byOrdinal(int ordinal)
int
getOrdinal()
static NodeProperty.ValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeProperty.ValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final NodeProperty.ValueType NULL
-
STRING
public static final NodeProperty.ValueType STRING
-
BINARY
public static final NodeProperty.ValueType BINARY
-
LONG
public static final NodeProperty.ValueType LONG
-
DOUBLE
public static final NodeProperty.ValueType DOUBLE
-
DATE
public static final NodeProperty.ValueType DATE
-
BOOLEAN
public static final NodeProperty.ValueType BOOLEAN
-
NAME
public static final NodeProperty.ValueType NAME
-
PATH
public static final NodeProperty.ValueType PATH
-
REFERENCE
public static final NodeProperty.ValueType REFERENCE
-
WEAKREFERENCE
public static final NodeProperty.ValueType WEAKREFERENCE
-
URI
public static final NodeProperty.ValueType URI
-
DECIMAL
public static final NodeProperty.ValueType DECIMAL
-
-
Method Detail
-
values
public static NodeProperty.ValueType[] 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 (NodeProperty.ValueType c : NodeProperty.ValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeProperty.ValueType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()
-
byOrdinal
public static NodeProperty.ValueType byOrdinal(int ordinal)
-
-