Package org.opennms.netmgt.flows.elastic
Class FlowDocument
- java.lang.Object
-
- org.opennms.netmgt.flows.elastic.FlowDocument
-
public class FlowDocument extends java.lang.Object
Member variables are sorted by the value of the @SerializedName annotation.
-
-
Constructor Summary
Constructors Constructor Description FlowDocument()
FlowDocument(Flow flow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHost(java.lang.String host)
static EnrichedFlow
buildEnrichedFlow(FlowDocument flowDocument)
static FlowDocument
from(Flow flow)
java.lang.String
getApplication()
java.lang.Long
getBytes()
long
getClockCorrection()
java.lang.String
getConvoKey()
java.lang.Long
getDeltaSwitched()
Direction
getDirection()
java.lang.Integer
getDscp()
java.lang.String
getDstAddr()
java.lang.String
getDstAddrHostname()
java.lang.Long
getDstAs()
Locality
getDstLocality()
java.lang.Integer
getDstMaskLen()
java.lang.Integer
getDstPort()
java.lang.Integer
getEcn()
java.lang.Integer
getEngineId()
java.lang.Integer
getEngineType()
java.lang.Long
getFirstSwitched()
Flow
getFlow()
Locality
getFlowLocality()
int
getFlowRecords()
long
getFlowSeqNum()
java.lang.String
getHost()
java.util.Set<java.lang.String>
getHosts()
java.lang.Integer
getInputSnmp()
java.lang.Integer
getIpProtocolVersion()
java.lang.Long
getLastSwitched()
java.lang.String
getLocation()
NetflowVersion
getNetflowVersion()
java.lang.String
getNextHop()
java.lang.String
getNextHopHostname()
NodeDocument
getNodeDst()
NodeDocument
getNodeExporter()
NodeDocument
getNodeSrc()
java.lang.Integer
getOutputSnmp()
java.lang.Long
getPackets()
java.lang.Integer
getProtocol()
SamplingAlgorithm
getSamplingAlgorithm()
java.lang.Double
getSamplingInterval()
java.lang.String
getSrcAddr()
java.lang.String
getSrcAddrHostname()
java.lang.Long
getSrcAs()
Locality
getSrcLocality()
java.lang.Integer
getSrcMaskLen()
java.lang.Integer
getSrcPort()
java.lang.Integer
getTcpFlags()
long
getTimestamp()
java.lang.Integer
getTos()
java.lang.Integer
getVersion()
java.lang.String
getVlan()
void
setApplication(java.lang.String application)
void
setBytes(java.lang.Long bytes)
void
setClockCorrection(long clockCorrection)
void
setConvoKey(java.lang.String convoKey)
void
setDeltaSwitched(java.lang.Long deltaSwitched)
void
setDirection(Direction direction)
void
setDstAddr(java.lang.String dstAddr)
void
setDstAddrHostname(java.lang.String dstAddrHostname)
void
setDstAs(java.lang.Long dstAs)
void
setDstLocality(Locality dstLocality)
void
setDstMaskLen(java.lang.Integer dstMaskLen)
void
setDstPort(java.lang.Integer dstPort)
void
setEngineId(java.lang.Integer engineId)
void
setEngineType(java.lang.Integer engineType)
void
setFirstSwitched(java.lang.Long firstSwitched)
void
setFlow(Flow flow)
void
setFlowLocality(Locality flowLocality)
void
setFlowRecords(int flowRecords)
void
setFlowSeqNum(long flowSeqNum)
void
setHost(java.lang.String host)
void
setHosts(java.util.Set<java.lang.String> hosts)
void
setInputSnmp(java.lang.Integer inputSnmp)
void
setIpProtocolVersion(java.lang.Integer ipProtocolVersion)
void
setLastSwitched(java.lang.Long lastSwitched)
void
setLocation(java.lang.String location)
void
setNetflowVersion(NetflowVersion netflowVersion)
void
setNextHop(java.lang.String nextHop)
void
setNextHopHostname(java.lang.String nextHopHostname)
void
setNodeDst(NodeDocument nodeDst)
void
setNodeExporter(NodeDocument nodeExporter)
void
setNodeSrc(NodeDocument nodeSrc)
void
setOutputSnmp(java.lang.Integer outputSnmp)
void
setPackets(java.lang.Long packets)
void
setProtocol(java.lang.Integer protocol)
void
setSamplingAlgorithm(SamplingAlgorithm samplingAlgorithm)
void
setSamplingInterval(java.lang.Double samplingInterval)
void
setSrcAddr(java.lang.String srcAddr)
void
setSrcAddrHostname(java.lang.String srcAddrHostname)
void
setSrcAs(java.lang.Long srcAs)
void
setSrcLocality(Locality srcLocality)
void
setSrcMaskLen(java.lang.Integer srcMaskLen)
void
setSrcPort(java.lang.Integer srcPort)
void
setTcpFlags(java.lang.Integer tcpFlags)
void
setTimestamp(long timestamp)
void
setTos(java.lang.Integer tos)
void
setVersion(java.lang.Integer version)
void
setVlan(java.lang.String vlan)
-
-
-
Constructor Detail
-
FlowDocument
public FlowDocument(Flow flow)
-
FlowDocument
public FlowDocument()
-
-
Method Detail
-
addHost
public void addHost(java.lang.String host)
-
getFlow
public Flow getFlow()
-
setFlow
public void setFlow(Flow flow)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getClockCorrection
public long getClockCorrection()
-
setClockCorrection
public void setClockCorrection(long clockCorrection)
-
getVersion
public java.lang.Integer getVersion()
-
setVersion
public void setVersion(java.lang.Integer version)
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
getHosts
public java.util.Set<java.lang.String> getHosts()
-
setHosts
public void setHosts(java.util.Set<java.lang.String> hosts)
-
getLocation
public java.lang.String getLocation()
-
setLocation
public void setLocation(java.lang.String location)
-
getApplication
public java.lang.String getApplication()
-
setApplication
public void setApplication(java.lang.String application)
-
getBytes
public java.lang.Long getBytes()
-
setBytes
public void setBytes(java.lang.Long bytes)
-
getConvoKey
public java.lang.String getConvoKey()
-
setConvoKey
public void setConvoKey(java.lang.String convoKey)
-
getDirection
public Direction getDirection()
-
setDirection
public void setDirection(Direction direction)
-
getDstAddr
public java.lang.String getDstAddr()
-
setDstAddr
public void setDstAddr(java.lang.String dstAddr)
-
getDstAddrHostname
public java.lang.String getDstAddrHostname()
-
setDstAddrHostname
public void setDstAddrHostname(java.lang.String dstAddrHostname)
-
getDstAs
public java.lang.Long getDstAs()
-
setDstAs
public void setDstAs(java.lang.Long dstAs)
-
getDstLocality
public Locality getDstLocality()
-
setDstLocality
public void setDstLocality(Locality dstLocality)
-
getDstMaskLen
public java.lang.Integer getDstMaskLen()
-
setDstMaskLen
public void setDstMaskLen(java.lang.Integer dstMaskLen)
-
getDstPort
public java.lang.Integer getDstPort()
-
setDstPort
public void setDstPort(java.lang.Integer dstPort)
-
getEngineId
public java.lang.Integer getEngineId()
-
setEngineId
public void setEngineId(java.lang.Integer engineId)
-
getEngineType
public java.lang.Integer getEngineType()
-
setEngineType
public void setEngineType(java.lang.Integer engineType)
-
getFirstSwitched
public java.lang.Long getFirstSwitched()
-
setFirstSwitched
public void setFirstSwitched(java.lang.Long firstSwitched)
-
getFlowLocality
public Locality getFlowLocality()
-
setFlowLocality
public void setFlowLocality(Locality flowLocality)
-
getFlowRecords
public int getFlowRecords()
-
setFlowRecords
public void setFlowRecords(int flowRecords)
-
getFlowSeqNum
public long getFlowSeqNum()
-
setFlowSeqNum
public void setFlowSeqNum(long flowSeqNum)
-
getInputSnmp
public java.lang.Integer getInputSnmp()
-
setInputSnmp
public void setInputSnmp(java.lang.Integer inputSnmp)
-
getIpProtocolVersion
public java.lang.Integer getIpProtocolVersion()
-
setIpProtocolVersion
public void setIpProtocolVersion(java.lang.Integer ipProtocolVersion)
-
getLastSwitched
public java.lang.Long getLastSwitched()
-
setLastSwitched
public void setLastSwitched(java.lang.Long lastSwitched)
-
getNextHop
public java.lang.String getNextHop()
-
setNextHop
public void setNextHop(java.lang.String nextHop)
-
getNextHopHostname
public java.lang.String getNextHopHostname()
-
setNextHopHostname
public void setNextHopHostname(java.lang.String nextHopHostname)
-
getOutputSnmp
public java.lang.Integer getOutputSnmp()
-
setOutputSnmp
public void setOutputSnmp(java.lang.Integer outputSnmp)
-
getPackets
public java.lang.Long getPackets()
-
setPackets
public void setPackets(java.lang.Long packets)
-
getProtocol
public java.lang.Integer getProtocol()
-
setProtocol
public void setProtocol(java.lang.Integer protocol)
-
getSamplingAlgorithm
public SamplingAlgorithm getSamplingAlgorithm()
-
setSamplingAlgorithm
public void setSamplingAlgorithm(SamplingAlgorithm samplingAlgorithm)
-
getSamplingInterval
public java.lang.Double getSamplingInterval()
-
setSamplingInterval
public void setSamplingInterval(java.lang.Double samplingInterval)
-
getSrcAddr
public java.lang.String getSrcAddr()
-
setSrcAddr
public void setSrcAddr(java.lang.String srcAddr)
-
getSrcAddrHostname
public java.lang.String getSrcAddrHostname()
-
setSrcAddrHostname
public void setSrcAddrHostname(java.lang.String srcAddrHostname)
-
getSrcAs
public java.lang.Long getSrcAs()
-
setSrcAs
public void setSrcAs(java.lang.Long srcAs)
-
getSrcLocality
public Locality getSrcLocality()
-
setSrcLocality
public void setSrcLocality(Locality srcLocality)
-
getSrcMaskLen
public java.lang.Integer getSrcMaskLen()
-
setSrcMaskLen
public void setSrcMaskLen(java.lang.Integer srcMaskLen)
-
getSrcPort
public java.lang.Integer getSrcPort()
-
setSrcPort
public void setSrcPort(java.lang.Integer srcPort)
-
getTcpFlags
public java.lang.Integer getTcpFlags()
-
setTcpFlags
public void setTcpFlags(java.lang.Integer tcpFlags)
-
getDeltaSwitched
public java.lang.Long getDeltaSwitched()
-
setDeltaSwitched
public void setDeltaSwitched(java.lang.Long deltaSwitched)
-
getTos
public java.lang.Integer getTos()
-
setTos
public void setTos(java.lang.Integer tos)
-
getEcn
public java.lang.Integer getEcn()
-
getDscp
public java.lang.Integer getDscp()
-
getNetflowVersion
public NetflowVersion getNetflowVersion()
-
setNetflowVersion
public void setNetflowVersion(NetflowVersion netflowVersion)
-
getVlan
public java.lang.String getVlan()
-
setVlan
public void setVlan(java.lang.String vlan)
-
getNodeDst
public NodeDocument getNodeDst()
-
setNodeDst
public void setNodeDst(NodeDocument nodeDst)
-
getNodeExporter
public NodeDocument getNodeExporter()
-
setNodeExporter
public void setNodeExporter(NodeDocument nodeExporter)
-
getNodeSrc
public NodeDocument getNodeSrc()
-
setNodeSrc
public void setNodeSrc(NodeDocument nodeSrc)
-
from
public static FlowDocument from(Flow flow)
-
buildEnrichedFlow
public static EnrichedFlow buildEnrichedFlow(FlowDocument flowDocument)
-
-