@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class PersistCommandOptions extends Object implements org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>, Serializable, Cloneable, Comparable<PersistCommandOptions>
Modifier and Type | Class and Description |
---|---|
static class |
PersistCommandOptions._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<PersistCommandOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PersistCommandOptions() |
PersistCommandOptions(List<PersistFile> persistFiles) |
PersistCommandOptions(PersistCommandOptions other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToPersistFiles(PersistFile elem) |
void |
clear() |
int |
compareTo(PersistCommandOptions other) |
PersistCommandOptions |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PersistCommandOptions that) |
PersistCommandOptions._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(PersistCommandOptions._Fields field) |
List<PersistFile> |
getPersistFiles() |
Iterator<PersistFile> |
getPersistFilesIterator() |
int |
getPersistFilesSize() |
int |
hashCode() |
boolean |
isSet(PersistCommandOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPersistFiles()
Returns true if field persistFiles is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(PersistCommandOptions._Fields field,
Object value) |
PersistCommandOptions |
setPersistFiles(List<PersistFile> persistFiles) |
void |
setPersistFilesIsSet(boolean value) |
String |
toString() |
void |
unsetPersistFiles() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PersistCommandOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PersistCommandOptions()
public PersistCommandOptions(List<PersistFile> persistFiles)
public PersistCommandOptions(PersistCommandOptions other)
public PersistCommandOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>
public int getPersistFilesSize()
public Iterator<PersistFile> getPersistFilesIterator()
public void addToPersistFiles(PersistFile elem)
public List<PersistFile> getPersistFiles()
public PersistCommandOptions setPersistFiles(List<PersistFile> persistFiles)
public void unsetPersistFiles()
public boolean isSetPersistFiles()
public void setPersistFilesIsSet(boolean value)
public void setFieldValue(PersistCommandOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>
public Object getFieldValue(PersistCommandOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>
public boolean isSet(PersistCommandOptions._Fields field)
isSet
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>
public boolean equals(PersistCommandOptions that)
public int compareTo(PersistCommandOptions other)
compareTo
in interface Comparable<PersistCommandOptions>
public PersistCommandOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PersistCommandOptions,PersistCommandOptions._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<PersistCommandOptions,PersistCommandOptions._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.