public class HashMapOutputRecord extends HashMapRecord implements OutputRecord
OutputRecord
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HashMapOutputRecord(String modelName) |
HashMapOutputRecord(String modelName,
String error) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getError()
Return an error message in case of failure.
|
String |
getModelName()
Return the name of the model used to create the output record.
|
List<String> |
getWarnings()
|
int |
hashCode() |
asMap, getFieldNames, getFieldValue
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
toString
asMap, getFieldNames, getFieldValue
public HashMapOutputRecord(String modelName, String error)
modelName
- the model nameerror
- an error message in case of a processing errorpublic HashMapOutputRecord(String modelName)
modelName
- the model namepublic final String getModelName()
OutputRecord
getModelName
in interface OutputRecord
public final String getError()
OutputRecord
getError
in interface OutputRecord
null
if record was processed without errors.public final List<String> getWarnings()
OutputRecord
getWarnings
in interface OutputRecord
public final int hashCode()
Copyright © 2005–2016 Zementis, Inc.. All rights reserved.