@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class PutFileMetadataRequest extends Object implements org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>, Serializable, Cloneable, Comparable<PutFileMetadataRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
PutFileMetadataRequest._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<PutFileMetadataRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PutFileMetadataRequest() |
PutFileMetadataRequest(List<Long> fileIds,
List<ByteBuffer> metadata) |
PutFileMetadataRequest(PutFileMetadataRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToFileIds(long elem) |
void |
addToMetadata(ByteBuffer elem) |
void |
clear() |
int |
compareTo(PutFileMetadataRequest other) |
PutFileMetadataRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PutFileMetadataRequest that) |
PutFileMetadataRequest._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(PutFileMetadataRequest._Fields field) |
List<Long> |
getFileIds() |
Iterator<Long> |
getFileIdsIterator() |
int |
getFileIdsSize() |
List<ByteBuffer> |
getMetadata() |
Iterator<ByteBuffer> |
getMetadataIterator() |
int |
getMetadataSize() |
FileMetadataExprType |
getType() |
int |
hashCode() |
boolean |
isSet(PutFileMetadataRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFileIds()
Returns true if field fileIds 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
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(PutFileMetadataRequest._Fields field,
Object value) |
void |
setFileIds(List<Long> fileIds) |
void |
setFileIdsIsSet(boolean value) |
void |
setMetadata(List<ByteBuffer> metadata) |
void |
setMetadataIsSet(boolean value) |
void |
setType(FileMetadataExprType type) |
void |
setTypeIsSet(boolean value) |
String |
toString() |
void |
unsetFileIds() |
void |
unsetMetadata() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PutFileMetadataRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PutFileMetadataRequest()
public PutFileMetadataRequest(List<Long> fileIds, List<ByteBuffer> metadata)
public PutFileMetadataRequest(PutFileMetadataRequest other)
public PutFileMetadataRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public int getFileIdsSize()
public void addToFileIds(long elem)
public void unsetFileIds()
public boolean isSetFileIds()
public void setFileIdsIsSet(boolean value)
public int getMetadataSize()
public Iterator<ByteBuffer> getMetadataIterator()
public void addToMetadata(ByteBuffer elem)
public List<ByteBuffer> getMetadata()
public void setMetadata(List<ByteBuffer> metadata)
public void unsetMetadata()
public boolean isSetMetadata()
public void setMetadataIsSet(boolean value)
public FileMetadataExprType getType()
FileMetadataExprTypepublic void setType(FileMetadataExprType type)
FileMetadataExprTypepublic void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public void setFieldValue(PutFileMetadataRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public Object getFieldValue(PutFileMetadataRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public boolean isSet(PutFileMetadataRequest._Fields field)
isSet in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public boolean equals(PutFileMetadataRequest that)
public int compareTo(PutFileMetadataRequest other)
compareTo in interface Comparable<PutFileMetadataRequest>public PutFileMetadataRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.