Package org.opennms.netmgt.flows.elastic
Class ConversationKeyUtils
- java.lang.Object
-
- org.opennms.netmgt.flows.elastic.ConversationKeyUtils
-
public class ConversationKeyUtils extends Object
Utility class for building theConversationKey
from aFlowDocument
and converting it to/from a string so that it can be used in group-by statements when querying. These methods are optimized for speed when generating the key, with the constraint that we must also be able to decode the key.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description ConversationKeyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConversationKey
fromJsonString(String json)
static String
getConvoKeyAsJsonString(FlowDocument document)
-
-
-
Method Detail
-
fromJsonString
public static ConversationKey fromJsonString(String json)
-
getConvoKeyAsJsonString
public static String getConvoKeyAsJsonString(FlowDocument document)
-
-