public abstract class BaseMetrics
extends Object
implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
MERTICS_DATE_FORMAT |
| Constructor and Description |
|---|
BaseMetrics() |
| Modifier and Type | Method and Description |
|---|---|
protected Date |
getDate(Object value)
Gets the date.
|
abstract String[] |
getFields()
Gets the fields.
|
TypedKeyValue<Object,String> |
getFieldValue(String name)
Gets the field value.
|
protected Long |
getLong(Object value)
Gets the long.
|
void |
setFieldValue(String name,
Object value)
Sets the field value.
|
public static final String MERTICS_DATE_FORMAT
protected Date getDate(Object value)
value - the valuepublic abstract String[] getFields()
public TypedKeyValue<Object,String> getFieldValue(String name) throws Exception
name - the nameException - the exceptionprotected Long getLong(Object value)
value - the valuepublic void setFieldValue(String name,
Object value)
throws Exception
name - the namevalue - the valueException - the exceptionCopyright © 2010-2020 Toolsverse. All Rights Reserved.