public class NetricsMappedRecord extends NetricsRecord implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttribute(java.lang.String field_name,
java.lang.String attr_name)
Return an attribute value for a particular field and attribute.
|
java.lang.String[] |
getAttrNames(java.lang.String field_name)
Return a list of attribute names for a field.
|
java.lang.String |
getField(int fieldNo)
Returns the contents of a field in the record.
|
java.lang.String |
getField(java.lang.String fieldName)
Returns the contents of a field in the record.
|
java.lang.String[] |
getFieldNames()
Returns an array of Strings which are the names of the fields
of the source table for the record.
|
java.lang.String |
toString() |
compare, getAttribute, getAttrNames, getAttrValues, getFields, getKey, numBytespublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String[] getFieldNames()
public java.lang.String getField(java.lang.String fieldName)
throws NetricsException
fieldName - The name of the field for which to return its
dataNetricsExceptionpublic java.lang.String getField(int fieldNo)
fieldNo - The number of the field (0 based) to be returnedpublic java.lang.String[] getAttrNames(java.lang.String field_name)
throws NetricsException
field_name - The name of the field.NetricsException - thrown if no field with the given name
exists.public java.lang.String getAttribute(java.lang.String field_name,
java.lang.String attr_name)
throws NetricsException
field_name - The name of the field.attr_name - The name of the attribute.NetricsException - thrown if no field with the given name
exists.