Class DataDescription
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataDescription
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataDescription>
Json deserializer forDataDescription
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
API name:field_delimiter
final String
format()
Only JSON format is supported at this time.static DataDescription
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
Required - The name of the field that contains the timestamp.final String
The time format, which can beepoch
,epoch_ms
, or a custom pattern.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataDescription
-
-
Method Details
-
of
public static DataDescription of(Function<DataDescription.Builder, ObjectBuilder<DataDescription>> fn) -
format
Only JSON format is supported at this time.API name:
format
-
timeField
Required - The name of the field that contains the timestamp.API name:
time_field
-
timeFormat
The time format, which can beepoch
,epoch_ms
, or a custom pattern. The valueepoch
refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The valueepoch_ms
indicates that time is measured in milliseconds since the epoch. Theepoch
andepoch_ms
time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: yyyy-MM-dd'T'HH:mm:ssX. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.API name:
time_format
-
fieldDelimiter
API name:field_delimiter
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataDescriptionDeserializer
protected static void setupDataDescriptionDeserializer(ObjectDeserializer<DataDescription.Builder> op)
-