@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class FileSystemCommand extends Object implements org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>, Serializable, Cloneable, Comparable<FileSystemCommand>
Modifier and Type | Class and Description |
---|---|
static class |
FileSystemCommand._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<FileSystemCommand._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
FileSystemCommand() |
FileSystemCommand(CommandType commandType,
FileSystemCommandOptions commandOptions) |
FileSystemCommand(FileSystemCommand other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(FileSystemCommand other) |
FileSystemCommand |
deepCopy() |
boolean |
equals(FileSystemCommand that) |
boolean |
equals(Object that) |
FileSystemCommand._Fields |
fieldForId(int fieldId) |
FileSystemCommandOptions |
getCommandOptions() |
CommandType |
getCommandType() |
Object |
getFieldValue(FileSystemCommand._Fields field) |
int |
hashCode() |
boolean |
isSet(FileSystemCommand._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCommandOptions()
Returns true if field commandOptions is set (has been assigned a value) and false otherwise
|
boolean |
isSetCommandType()
Returns true if field commandType is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
FileSystemCommand |
setCommandOptions(FileSystemCommandOptions commandOptions) |
void |
setCommandOptionsIsSet(boolean value) |
FileSystemCommand |
setCommandType(CommandType commandType) |
void |
setCommandTypeIsSet(boolean value) |
void |
setFieldValue(FileSystemCommand._Fields field,
Object value) |
String |
toString() |
void |
unsetCommandOptions() |
void |
unsetCommandType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<FileSystemCommand._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public FileSystemCommand()
public FileSystemCommand(CommandType commandType, FileSystemCommandOptions commandOptions)
public FileSystemCommand(FileSystemCommand other)
public FileSystemCommand deepCopy()
deepCopy
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>
public CommandType getCommandType()
CommandType
public FileSystemCommand setCommandType(CommandType commandType)
CommandType
public void unsetCommandType()
public boolean isSetCommandType()
public void setCommandTypeIsSet(boolean value)
public FileSystemCommandOptions getCommandOptions()
public FileSystemCommand setCommandOptions(FileSystemCommandOptions commandOptions)
public void unsetCommandOptions()
public boolean isSetCommandOptions()
public void setCommandOptionsIsSet(boolean value)
public void setFieldValue(FileSystemCommand._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>
public Object getFieldValue(FileSystemCommand._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>
public boolean isSet(FileSystemCommand._Fields field)
isSet
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>
public boolean equals(FileSystemCommand that)
public int compareTo(FileSystemCommand other)
compareTo
in interface Comparable<FileSystemCommand>
public FileSystemCommand._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<FileSystemCommand,FileSystemCommand._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<FileSystemCommand,FileSystemCommand._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.