Package org.opennms.nephron
Class RefType
- java.lang.Object
-
- org.opennms.nephron.RefType
-
public abstract class RefType extends Object
Describes the dimensions flow data can be grouped into.
-
-
Field Summary
Fields Modifier and Type Field Description static RefTypeAPPLICATION_PARTstatic RefTypeCONVERSATION_PARTstatic intDEFAULT_CODEstatic RefTypeDSCP_PARTstatic RefTypeEXPORTER_PARTstatic RefTypeHOST_PARTstatic RefTypeINTERFACE_PART
-
Constructor Summary
Constructors Constructor Description RefType()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcreate(CompoundKeyData.Builder builder, org.opennms.netmgt.flows.persistence.model.FlowDocument flow)abstract voiddecode(CompoundKeyData.Builder builder, InputStream is)abstract voidencode(CompoundKeyData data, OutputStream os)abstract booleanequals(CompoundKeyData d1, CompoundKeyData d2)abstract voidgroupedByKey(CompoundKeyData data, StringBuilder sb)abstract inthashCode(CompoundKeyData d)abstract booleanisCompleteConversationRef(CompoundKeyData data)abstract voidpopulate(CompoundKeyData data, boolean exporterAndInterfaceAsLabels, org.opennms.nephron.cortex.TimeSeriesBuilder builder)abstract voidpopulate(CompoundKeyData data, FlowSummary summary)
-
-
-
Field Detail
-
EXPORTER_PART
public static final RefType EXPORTER_PART
-
INTERFACE_PART
public static final RefType INTERFACE_PART
-
DEFAULT_CODE
public static int DEFAULT_CODE
-
DSCP_PART
public static final RefType DSCP_PART
-
APPLICATION_PART
public static final RefType APPLICATION_PART
-
HOST_PART
public static final RefType HOST_PART
-
CONVERSATION_PART
public static final RefType CONVERSATION_PART
-
-
Method Detail
-
encode
public abstract void encode(CompoundKeyData data, OutputStream os) throws IOException
- Throws:
IOException
-
decode
public abstract void decode(CompoundKeyData.Builder builder, InputStream is) throws IOException
- Throws:
IOException
-
create
public abstract void create(CompoundKeyData.Builder builder, org.opennms.netmgt.flows.persistence.model.FlowDocument flow) throws MissingFieldsException
- Throws:
MissingFieldsException
-
populate
public abstract void populate(CompoundKeyData data, FlowSummary summary)
-
populate
public abstract void populate(CompoundKeyData data, boolean exporterAndInterfaceAsLabels, org.opennms.nephron.cortex.TimeSeriesBuilder builder)
-
groupedByKey
public abstract void groupedByKey(CompoundKeyData data, StringBuilder sb)
-
isCompleteConversationRef
public abstract boolean isCompleteConversationRef(CompoundKeyData data)
-
equals
public abstract boolean equals(CompoundKeyData d1, CompoundKeyData d2)
-
hashCode
public abstract int hashCode(CompoundKeyData d)
-
-