Module org.elasticsearch.xcore
Interface RecordWriter
public interface RecordWriter
Interface for classes that write arrays of strings to the
Ml data frame analytics processes.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flush the outputIndex stream.voidwriteRecord(String[] record) Write each String in the record arrayvoidwriteRecord(List<String> record) Write each String in the record list
-
Field Details
-
CONTROL_FIELD_NAME
Value must match api::CAnomalyDetector::CONTROL_FIELD_NAME in the C++ code.- See Also:
-
PRETOKENISED_TOKEN_FIELD
Value must match api::CBaseTokenListDataTyper::PRETOKENISED_TOKEN_FIELD in the C++ code.- See Also:
-
-
Method Details
-
writeRecord
Write each String in the record array- Throws:
IOException
-
writeRecord
Write each String in the record list- Throws:
IOException
-
flush
Flush the outputIndex stream.- Throws:
IOException
-