org.apache.blur.thirdparty.thrift_0_9_0.meta_data
Class FieldMetaData
java.lang.Object
org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData
- All Implemented Interfaces:
- Serializable
public class FieldMetaData
- extends Object
- implements Serializable
This class is used to store meta data about thrift fields. Every field in a
a struct should have a corresponding instance of this class describing it.
- See Also:
- Serialized Form
fieldName
public final String fieldName
requirementType
public final byte requirementType
valueMetaData
public final FieldValueMetaData valueMetaData
FieldMetaData
public FieldMetaData(String name,
byte req,
FieldValueMetaData vMetaData)
addStructMetaDataMap
public static void addStructMetaDataMap(Class<? extends TBase> sClass,
Map<? extends TFieldIdEnum,FieldMetaData> map)
getStructMetaDataMap
public static Map<? extends TFieldIdEnum,FieldMetaData> getStructMetaDataMap(Class<? extends TBase> sClass)
- Returns a map with metadata (i.e. instances of FieldMetaData) that
describe the fields of the given class.
- Parameters:
sClass
- The TBase class for which the metadata map is requested
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.