Enum DocPropertyType
- java.lang.Object
-
- java.lang.Enum<DocPropertyType>
-
- io.ebeanservice.docstore.api.mapping.DocPropertyType
-
- All Implemented Interfaces:
Serializable
,Comparable<DocPropertyType>
public enum DocPropertyType extends Enum<DocPropertyType>
Types as defined for document store property types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
Binary type.BOOLEAN
Boolean.DATE
Date without time.DATETIME
Date with time.DOUBLE
Double.ENUM
Enum.FLOAT
Float.INTEGER
Integer.KEYWORD
Keyword/code string content not expected to be analysed.LIST
A nested list of objects.LONG
Long.OBJECT
A nested object.ROOT
Root level type.SHORT
Short.TEXT
String content expected to be analysed.UUID
A UUID is a String Id implying it should not be analysed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocPropertyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocPropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENUM
public static final DocPropertyType ENUM
Enum.
-
UUID
public static final DocPropertyType UUID
A UUID is a String Id implying it should not be analysed.
-
KEYWORD
public static final DocPropertyType KEYWORD
Keyword/code string content not expected to be analysed.
-
TEXT
public static final DocPropertyType TEXT
String content expected to be analysed.
-
BOOLEAN
public static final DocPropertyType BOOLEAN
Boolean.
-
SHORT
public static final DocPropertyType SHORT
Short.
-
INTEGER
public static final DocPropertyType INTEGER
Integer.
-
LONG
public static final DocPropertyType LONG
Long.
-
FLOAT
public static final DocPropertyType FLOAT
Float.
-
DOUBLE
public static final DocPropertyType DOUBLE
Double.
-
DATE
public static final DocPropertyType DATE
Date without time.
-
DATETIME
public static final DocPropertyType DATETIME
Date with time.
-
BINARY
public static final DocPropertyType BINARY
Binary type.
-
OBJECT
public static final DocPropertyType OBJECT
A nested object.
-
LIST
public static final DocPropertyType LIST
A nested list of objects.
-
ROOT
public static final DocPropertyType ROOT
Root level type.
-
-
Method Detail
-
values
public static DocPropertyType[] 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 (DocPropertyType c : DocPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocPropertyType 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
-
-