public static class DistributedRPC.execute_result extends Object implements org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>, Serializable, Cloneable, Comparable<DistributedRPC.execute_result>
Modifier and Type | Class and Description |
---|---|
static class |
DistributedRPC.execute_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<DistributedRPC.execute_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
execute_result() |
execute_result(DistributedRPC.execute_result other)
Performs a deep copy on other.
|
execute_result(String success,
DRPCExecutionException e,
AuthorizationException aze) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(DistributedRPC.execute_result other) |
DistributedRPC.execute_result |
deepCopy() |
boolean |
equals(DistributedRPC.execute_result that) |
boolean |
equals(Object that) |
DistributedRPC.execute_result._Fields |
fieldForId(int fieldId) |
AuthorizationException |
get_aze() |
DRPCExecutionException |
get_e() |
String |
get_success() |
Object |
getFieldValue(DistributedRPC.execute_result._Fields field) |
int |
hashCode() |
boolean |
is_set_aze()
Returns true if field aze is set (has been assigned a value) and false otherwise
|
boolean |
is_set_e()
Returns true if field e is set (has been assigned a value) and false otherwise
|
boolean |
is_set_success()
Returns true if field success is set (has been assigned a value) and false otherwise
|
boolean |
isSet(DistributedRPC.execute_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_aze_isSet(boolean value) |
void |
set_aze(AuthorizationException aze) |
void |
set_e_isSet(boolean value) |
void |
set_e(DRPCExecutionException e) |
void |
set_success_isSet(boolean value) |
void |
set_success(String success) |
void |
setFieldValue(DistributedRPC.execute_result._Fields field,
Object value) |
String |
toString() |
void |
unset_aze() |
void |
unset_e() |
void |
unset_success() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<DistributedRPC.execute_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public execute_result()
public execute_result(String success, DRPCExecutionException e, AuthorizationException aze)
public execute_result(DistributedRPC.execute_result other)
Performs a deep copy on other.
public DistributedRPC.execute_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
public String get_success()
public void set_success(String success)
public void unset_success()
public boolean is_set_success()
Returns true if field success is set (has been assigned a value) and false otherwise
public void set_success_isSet(boolean value)
public DRPCExecutionException get_e()
public void set_e(DRPCExecutionException e)
public void unset_e()
public boolean is_set_e()
Returns true if field e is set (has been assigned a value) and false otherwise
public void set_e_isSet(boolean value)
public AuthorizationException get_aze()
public void set_aze(AuthorizationException aze)
public void unset_aze()
public boolean is_set_aze()
Returns true if field aze is set (has been assigned a value) and false otherwise
public void set_aze_isSet(boolean value)
public void setFieldValue(DistributedRPC.execute_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
public Object getFieldValue(DistributedRPC.execute_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
public boolean isSet(DistributedRPC.execute_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
public boolean equals(DistributedRPC.execute_result that)
public int compareTo(DistributedRPC.execute_result other)
compareTo
in interface Comparable<DistributedRPC.execute_result>
public DistributedRPC.execute_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<DistributedRPC.execute_result,DistributedRPC.execute_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.