public static enum DocumentTypeField.DataType extends Enum<DocumentTypeField.DataType>
Enum Constant and Description |
---|
ATTACHMENT
Attachment data type. |
BOOLEAN
Boolean data type.
|
DATETIME
Date time data type.
|
DOUBLE
Double data type.
|
FLAT_OBJECT
Flat object data type.
|
FLOAT
Float data type.
|
GEO_POINT
Geo point data type.
|
HTML
HTML data type.
|
INTEGER
Integer data type.
|
LONG
Long data type.
|
NESTED_OBJECT
Nested object data type.
|
STRING
String data type.
|
Modifier and Type | Method and Description |
---|---|
static DocumentTypeField.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentTypeField.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentTypeField.DataType STRING
String
java type.public static final DocumentTypeField.DataType BOOLEAN
Boolean
java type.public static final DocumentTypeField.DataType DATETIME
Date
java type.public static final DocumentTypeField.DataType INTEGER
Integer
java type.public static final DocumentTypeField.DataType LONG
Long
java type.public static final DocumentTypeField.DataType FLOAT
Float
java type.public static final DocumentTypeField.DataType DOUBLE
Double
java type.public static final DocumentTypeField.DataType ATTACHMENT
Attachment
data type.
This field is not available in search hit documents
.public static final DocumentTypeField.DataType FLAT_OBJECT
firstName:Jane AND lastName:Smith
is performed, the document that has this entry will be found.
Maps to Map
java type.NESTED_OBJECT
public static final DocumentTypeField.DataType NESTED_OBJECT
A field of this type allows inner fields to be indexed and searched. This kind of field allow searches
isolating its individual values. Eg.:
If a search for firstName:Jane AND lastName:Smith
is performed, the document above will be in the
search results. But if the fullName
field is a nested object, the NestedObjectFilter
can be
used to wrap that search filter, and in this case the document above will not be in the search results since
the field values filtered are not present in a single nested object value.
Maps to Map
java type.
FLAT_OBJECT
public static final DocumentTypeField.DataType HTML
String
java type.public static final DocumentTypeField.DataType GEO_POINT
lat
(which is the latitude of the coordinate) and lon
(which is the longitude of the coordinate).
Maps to GeoPoint
java type.
public static DocumentTypeField.DataType[] values()
for (DocumentTypeField.DataType c : DocumentTypeField.DataType.values()) System.out.println(c);
public static DocumentTypeField.DataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullLumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.