@Generated(value="Autogenerated by Thrift Compiler (0.11.0)", date="2019-01-29") public class TGetResult extends java.lang.Object implements org.apache.thrift.TBase<TGetResult,TGetResult._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TGetResult>
Modifier and Type | Class and Description |
---|---|
static class |
TGetResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static java.util.Map<TGetResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.util.List<TKeyData> |
pairs |
TOperationStatus |
status |
Constructor and Description |
---|
TGetResult() |
TGetResult(TGetResult other)
Performs a deep copy on other.
|
TGetResult(TOperationStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
addToPairs(TKeyData elem) |
void |
clear() |
int |
compareTo(TGetResult other) |
TGetResult |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TGetResult that) |
TGetResult._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(TGetResult._Fields field) |
java.util.List<TKeyData> |
getPairs() |
java.util.Iterator<TKeyData> |
getPairsIterator() |
int |
getPairsSize() |
TOperationStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TGetResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPairs()
Returns true if field pairs is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TGetResult._Fields field,
java.lang.Object value) |
TGetResult |
setPairs(java.util.List<TKeyData> pairs) |
void |
setPairsIsSet(boolean value) |
TGetResult |
setStatus(TOperationStatus status) |
void |
setStatusIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetPairs() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TOperationStatus status
TOperationStatus
public java.util.List<TKeyData> pairs
public static final java.util.Map<TGetResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGetResult()
public TGetResult(TOperationStatus status)
public TGetResult(TGetResult other)
public TGetResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TGetResult,TGetResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TGetResult,TGetResult._Fields>
public TOperationStatus getStatus()
TOperationStatus
public TGetResult setStatus(TOperationStatus status)
TOperationStatus
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public int getPairsSize()
public java.util.Iterator<TKeyData> getPairsIterator()
public void addToPairs(TKeyData elem)
public java.util.List<TKeyData> getPairs()
public TGetResult setPairs(java.util.List<TKeyData> pairs)
public void unsetPairs()
public boolean isSetPairs()
public void setPairsIsSet(boolean value)
public void setFieldValue(TGetResult._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TGetResult,TGetResult._Fields>
public java.lang.Object getFieldValue(TGetResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TGetResult,TGetResult._Fields>
public boolean isSet(TGetResult._Fields field)
isSet
in interface org.apache.thrift.TBase<TGetResult,TGetResult._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TGetResult that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TGetResult other)
compareTo
in interface java.lang.Comparable<TGetResult>
public TGetResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TGetResult,TGetResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.