public class

ZNRecordRow

extends Object
java.lang.Object
   ↳ org.apache.helix.messaging.ZNRecordRow

Class Overview

A Normalized form of ZNRecord

Summary

Constants
String LIST_KEY
String LIST_VALUE
String LIST_VALUE_INDEX
String MAP_KEY
String MAP_SUBKEY
String MAP_VALUE
String SIMPLE_KEY
String SIMPLE_VALUE
String ZNRECORD_ID
Public Constructors
ZNRecordRow()
Public Methods
static List<ZNRecordRow> convertListFields(ZNRecord record)
static List<ZNRecordRow> convertMapFields(ZNRecord record)
static List<ZNRecordRow> convertSimpleFields(ZNRecord record)
boolean equals(Object other)
static List<ZNRecordRow> flatten(ZNRecord record)
static List<ZNRecordRow> flatten(Collection<ZNRecord> recordList)
static String getField(ZNRecordRow row, String rowField)
String getField(String rowField)
String getListKey()
String getListValue()
String getListValueIndex()
String getMapKey()
String getMapSubKey()
String getMapValue()
String getRecordId()
static List<ZNRecordRow> getRowListFromMap(Map<StringList<ZNRecordRow>> rowMap, String key)
String getSimpleKey()
String getSimpleValue()
int hashCode()
void putField(String fieldName, String fieldValue)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String LIST_KEY

Constant Value: "listKey"

public static final String LIST_VALUE

Constant Value: "listValue"

public static final String LIST_VALUE_INDEX

Constant Value: "listValueIndex"

public static final String MAP_KEY

Constant Value: "mapKey"

public static final String MAP_SUBKEY

Constant Value: "mapSubKey"

public static final String MAP_VALUE

Constant Value: "mapValue"

public static final String SIMPLE_KEY

Constant Value: "simpleKey"

public static final String SIMPLE_VALUE

Constant Value: "simpleValue"

public static final String ZNRECORD_ID

Constant Value: "recordId"

Public Constructors

public ZNRecordRow ()

Public Methods

public static List<ZNRecordRow> convertListFields (ZNRecord record)

public static List<ZNRecordRow> convertMapFields (ZNRecord record)

public static List<ZNRecordRow> convertSimpleFields (ZNRecord record)

public boolean equals (Object other)

public static List<ZNRecordRow> flatten (ZNRecord record)

public static List<ZNRecordRow> flatten (Collection<ZNRecord> recordList)

public static String getField (ZNRecordRow row, String rowField)

public String getField (String rowField)

public String getListKey ()

public String getListValue ()

public String getListValueIndex ()

public String getMapKey ()

public String getMapSubKey ()

public String getMapValue ()

public String getRecordId ()

public static List<ZNRecordRow> getRowListFromMap (Map<StringList<ZNRecordRow>> rowMap, String key)

public String getSimpleKey ()

public String getSimpleValue ()

public int hashCode ()

public void putField (String fieldName, String fieldValue)

public String toString ()