Class NamedXContentObjectHelper
java.lang.Object
org.elasticsearch.client.ml.inference.NamedXContentObjectHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.elasticsearch.xcontent.XContentBuilder
writeNamedObject
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params, String namedObjectName, NamedXContentObject namedObject) static org.elasticsearch.xcontent.XContentBuilder
writeNamedObjects
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params, boolean useExplicitOrder, String namedObjectsName, List<? extends NamedXContentObject> namedObjects)
-
Method Details
-
writeNamedObjects
public static org.elasticsearch.xcontent.XContentBuilder writeNamedObjects(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params, boolean useExplicitOrder, String namedObjectsName, List<? extends NamedXContentObject> namedObjects) throws IOException - Throws:
IOException
-
writeNamedObject
public static org.elasticsearch.xcontent.XContentBuilder writeNamedObject(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params, String namedObjectName, NamedXContentObject namedObject) throws IOException - Throws:
IOException
-