Package co.elastic.clients.util
Class TaggedUnionUtils
java.lang.Object
co.elastic.clients.util.TaggedUnionUtils
public class TaggedUnionUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description TaggedUnionUtils()
-
Method Summary
Modifier and Type Method Description static <Union extends TaggedUnion<Tag, ?>, Tag extends java.lang.Enum<Tag>, Value>
Valueget(Union union, Tag kind)
static <T> java.util.Iterator<?>
ndJsonIterator(TaggedUnion<?,T> union)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TaggedUnionUtils
public TaggedUnionUtils()
-
-
Method Details
-
get
public static <Union extends TaggedUnion<Tag, ?>, Tag extends java.lang.Enum<Tag>, Value> Value get(Union union, Tag kind) -
ndJsonIterator
-