public static class FileSystemMasterService.persistFile_args extends Object implements org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>, Serializable, Cloneable, Comparable<FileSystemMasterService.persistFile_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystemMasterService.persistFile_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
long |
fileId |
long |
length |
static Map<FileSystemMasterService.persistFile_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
FileSystemMasterService.persistFile_args() |
FileSystemMasterService.persistFile_args(FileSystemMasterService.persistFile_args other)
Performs a deep copy on other.
|
FileSystemMasterService.persistFile_args(long fileId,
long length) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(FileSystemMasterService.persistFile_args other) |
FileSystemMasterService.persistFile_args |
deepCopy() |
boolean |
equals(FileSystemMasterService.persistFile_args that) |
boolean |
equals(Object that) |
FileSystemMasterService.persistFile_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(FileSystemMasterService.persistFile_args._Fields field) |
long |
getFileId() |
long |
getLength() |
int |
hashCode() |
boolean |
isSet(FileSystemMasterService.persistFile_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFileId()
Returns true if field fileId is set (has been assigned a value) and false otherwise
|
boolean |
isSetLength()
Returns true if field length is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(FileSystemMasterService.persistFile_args._Fields field,
Object value) |
FileSystemMasterService.persistFile_args |
setFileId(long fileId) |
void |
setFileIdIsSet(boolean value) |
FileSystemMasterService.persistFile_args |
setLength(long length) |
void |
setLengthIsSet(boolean value) |
String |
toString() |
void |
unsetFileId() |
void |
unsetLength() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long fileId
public long length
public static final Map<FileSystemMasterService.persistFile_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public FileSystemMasterService.persistFile_args()
public FileSystemMasterService.persistFile_args(long fileId,
long length)
public FileSystemMasterService.persistFile_args(FileSystemMasterService.persistFile_args other)
public FileSystemMasterService.persistFile_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>public long getFileId()
public FileSystemMasterService.persistFile_args setFileId(long fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public long getLength()
public FileSystemMasterService.persistFile_args setLength(long length)
public void unsetLength()
public boolean isSetLength()
public void setLengthIsSet(boolean value)
public void setFieldValue(FileSystemMasterService.persistFile_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>public Object getFieldValue(FileSystemMasterService.persistFile_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>public boolean isSet(FileSystemMasterService.persistFile_args._Fields field)
isSet in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>public boolean equals(FileSystemMasterService.persistFile_args that)
public int compareTo(FileSystemMasterService.persistFile_args other)
compareTo in interface Comparable<FileSystemMasterService.persistFile_args>public FileSystemMasterService.persistFile_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<FileSystemMasterService.persistFile_args,FileSystemMasterService.persistFile_args._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.