public class RemoveEventDuplicate extends java.lang.Object implements OriginSubsetter
Modifier and Type | Field and Description |
---|---|
protected QuantityImpl |
depthVariance |
protected QuantityImpl |
distanceVariance |
protected QuantityImpl |
timeVariance |
Constructor and Description |
---|
RemoveEventDuplicate() |
RemoveEventDuplicate(org.w3c.dom.Element config) |
RemoveEventDuplicate(QuantityImpl timeVariance,
QuantityImpl distanceVariance,
QuantityImpl depthVariance) |
Modifier and Type | Method and Description |
---|---|
StringTree |
accept(CacheEvent eventAccess,
EventAttrImpl eventAttr,
OriginImpl preferred_origin) |
java.util.List |
getEventsNearTimeAndDepth(Origin preferred_origin) |
StatefulEventDB |
getEventStatusTable() |
boolean |
isDistanceClose(CacheEvent eventA,
Origin originB) |
protected void |
setDepthVariance(QuantityImpl depthVariance) |
protected void |
setDistanceVariance(QuantityImpl maxDistance) |
protected void |
setTimeVariance(QuantityImpl timeVariance) |
protected QuantityImpl timeVariance
protected QuantityImpl distanceVariance
protected QuantityImpl depthVariance
public RemoveEventDuplicate(org.w3c.dom.Element config) throws ConfigurationException
ConfigurationException
public RemoveEventDuplicate(QuantityImpl timeVariance, QuantityImpl distanceVariance, QuantityImpl depthVariance) throws ConfigurationException
ConfigurationException
public RemoveEventDuplicate()
public StatefulEventDB getEventStatusTable() throws java.sql.SQLException
java.sql.SQLException
public StringTree accept(CacheEvent eventAccess, EventAttrImpl eventAttr, OriginImpl preferred_origin) throws java.lang.Exception
accept
in interface OriginSubsetter
java.lang.Exception
public boolean isDistanceClose(CacheEvent eventA, Origin originB)
public java.util.List getEventsNearTimeAndDepth(Origin preferred_origin) throws java.sql.SQLException
java.sql.SQLException
protected void setTimeVariance(QuantityImpl timeVariance) throws ConfigurationException
ConfigurationException
protected void setDistanceVariance(QuantityImpl maxDistance) throws ConfigurationException
ConfigurationException
protected void setDepthVariance(QuantityImpl depthVariance) throws ConfigurationException
ConfigurationException