Class AnalyticsDataType
- java.lang.Object
-
- com.couchbase.client.java.manager.analytics.AnalyticsDataType
-
public class AnalyticsDataType extends Object
Holds the data-types for fields to index.
-
-
Field Summary
Fields Modifier and Type Field Description static AnalyticsDataTypeDOUBLERepresents the "double" data-type for an analytics field index.static AnalyticsDataTypeINT64Represents the "int64" data-type for an analytics field index.static AnalyticsDataTypeSTRINGRepresents the "string" data-type for an analytics field index.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringtoString()Stringvalue()static AnalyticsDataTypevalueOf(String value)If there's no pre-defined constant for a data type, you can create your own using this method.
-
-
-
Field Detail
-
STRING
public static final AnalyticsDataType STRING
Represents the "string" data-type for an analytics field index.
-
INT64
public static final AnalyticsDataType INT64
Represents the "int64" data-type for an analytics field index.
-
DOUBLE
public static final AnalyticsDataType DOUBLE
Represents the "double" data-type for an analytics field index.
-
-
Method Detail
-
valueOf
public static AnalyticsDataType valueOf(String value)
If there's no pre-defined constant for a data type, you can create your own using this method.
-
value
public String value()
-
-