public class IoTMeterMapper extends IoTDataParser
Constructor and Description |
---|
IoTMeterMapper(java.util.Map<java.lang.String,java.lang.String> meta,
java.util.HashMap<java.lang.String,java.lang.String> mapper,
com.ibm.json.java.JSONObject payload) |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap |
getMapper() |
java.lang.String |
getMaximoMeter() |
long |
getSince() |
boolean |
isDateInRange(java.lang.String dateStr) |
com.ibm.json.java.JSONArray |
readings(java.lang.String maximometer,
long since) |
void |
setMapper(java.util.HashMap<java.lang.String,java.lang.String> mapper) |
void |
setMaximoMeter(java.lang.String maximometer) |
void |
setSince(long since) |
getDataPath, getKeyAttrName, getMeta, getRootAttributeArray, getRootPath, hasMapper, hasRootAttributes, isKeyValue, setHasMapper, setHasRootAttributes, setRootAttributeArray, setRootAttrs
public IoTMeterMapper(java.util.Map<java.lang.String,java.lang.String> meta, java.util.HashMap<java.lang.String,java.lang.String> mapper, com.ibm.json.java.JSONObject payload)
meta
- public boolean isDateInRange(java.lang.String dateStr)
public com.ibm.json.java.JSONArray readings(java.lang.String maximometer, long since) throws java.io.IOException
java.io.IOException
public java.util.HashMap getMapper()
public void setMapper(java.util.HashMap<java.lang.String,java.lang.String> mapper)
public java.lang.String getMaximoMeter()
public void setMaximoMeter(java.lang.String maximometer)
public long getSince()
public void setSince(long since)