| Package | Description |
|---|---|
| org.wso2.carbon.databridge.commons.thrift.data |
| Modifier and Type | Field and Description |
|---|---|
static Map<ThriftAttribute._Fields,org.apache.thrift.meta_data.FieldMetaData> |
ThriftAttribute.metaDataMap |
| Modifier and Type | Method and Description |
|---|---|
ThriftAttribute._Fields |
ThriftAttribute.fieldForId(int fieldId) |
static ThriftAttribute._Fields |
ThriftAttribute._Fields.findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static ThriftAttribute._Fields |
ThriftAttribute._Fields.findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static ThriftAttribute._Fields |
ThriftAttribute._Fields.findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
static ThriftAttribute._Fields |
ThriftAttribute._Fields.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftAttribute._Fields[] |
ThriftAttribute._Fields.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ThriftAttribute.getFieldValue(ThriftAttribute._Fields field) |
boolean |
ThriftAttribute.isSet(ThriftAttribute._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
ThriftAttribute.setFieldValue(ThriftAttribute._Fields field,
Object value) |
Copyright © 2017 WSO2. All rights reserved.