@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class GetFileMetadataResult extends Object implements org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>, Serializable, Cloneable, Comparable<GetFileMetadataResult>
Modifier and Type | Class and Description |
---|---|
static class |
GetFileMetadataResult._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<GetFileMetadataResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GetFileMetadataResult() |
GetFileMetadataResult(GetFileMetadataResult other)
Performs a deep copy on other.
|
GetFileMetadataResult(Map<Long,ByteBuffer> metadata,
boolean isSupported) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(GetFileMetadataResult other) |
GetFileMetadataResult |
deepCopy() |
boolean |
equals(GetFileMetadataResult that) |
boolean |
equals(Object that) |
GetFileMetadataResult._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(GetFileMetadataResult._Fields field) |
Map<Long,ByteBuffer> |
getMetadata() |
int |
getMetadataSize() |
int |
hashCode() |
boolean |
isIsSupported() |
boolean |
isSet(GetFileMetadataResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsSupported()
Returns true if field isSupported is set (has been assigned a value) and false otherwise
|
boolean |
isSetMetadata()
Returns true if field metadata is set (has been assigned a value) and false otherwise
|
void |
putToMetadata(long key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(GetFileMetadataResult._Fields field,
Object value) |
void |
setIsSupported(boolean isSupported) |
void |
setIsSupportedIsSet(boolean value) |
void |
setMetadata(Map<Long,ByteBuffer> metadata) |
void |
setMetadataIsSet(boolean value) |
String |
toString() |
void |
unsetIsSupported() |
void |
unsetMetadata() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetFileMetadataResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetFileMetadataResult()
public GetFileMetadataResult(Map<Long,ByteBuffer> metadata, boolean isSupported)
public GetFileMetadataResult(GetFileMetadataResult other)
public GetFileMetadataResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>
public int getMetadataSize()
public void putToMetadata(long key, ByteBuffer val)
public Map<Long,ByteBuffer> getMetadata()
public void setMetadata(Map<Long,ByteBuffer> metadata)
public void unsetMetadata()
public boolean isSetMetadata()
public void setMetadataIsSet(boolean value)
public boolean isIsSupported()
public void setIsSupported(boolean isSupported)
public void unsetIsSupported()
public boolean isSetIsSupported()
public void setIsSupportedIsSet(boolean value)
public void setFieldValue(GetFileMetadataResult._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>
public Object getFieldValue(GetFileMetadataResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>
public boolean isSet(GetFileMetadataResult._Fields field)
isSet
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>
public boolean equals(GetFileMetadataResult that)
public int compareTo(GetFileMetadataResult other)
compareTo
in interface Comparable<GetFileMetadataResult>
public GetFileMetadataResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<GetFileMetadataResult,GetFileMetadataResult._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<GetFileMetadataResult,GetFileMetadataResult._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All rights reserved.