@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class PutFileMetadataRequest extends java.lang.Object implements org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.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 java.util.Map<PutFileMetadataRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PutFileMetadataRequest() |
PutFileMetadataRequest(java.util.List<java.lang.Long> fileIds,
java.util.List<java.nio.ByteBuffer> metadata) |
PutFileMetadataRequest(PutFileMetadataRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToFileIds(long elem) |
void |
addToMetadata(java.nio.ByteBuffer elem) |
void |
clear() |
int |
compareTo(PutFileMetadataRequest other) |
PutFileMetadataRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PutFileMetadataRequest that) |
PutFileMetadataRequest._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(PutFileMetadataRequest._Fields field) |
java.util.List<java.lang.Long> |
getFileIds() |
java.util.Iterator<java.lang.Long> |
getFileIdsIterator() |
int |
getFileIdsSize() |
java.util.List<java.nio.ByteBuffer> |
getMetadata() |
java.util.Iterator<java.nio.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,
java.lang.Object value) |
void |
setFileIds(java.util.List<java.lang.Long> fileIds) |
void |
setFileIdsIsSet(boolean value) |
void |
setMetadata(java.util.List<java.nio.ByteBuffer> metadata) |
void |
setMetadataIsSet(boolean value) |
void |
setType(FileMetadataExprType type) |
void |
setTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetFileIds() |
void |
unsetMetadata() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<PutFileMetadataRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PutFileMetadataRequest()
public PutFileMetadataRequest(java.util.List<java.lang.Long> fileIds,
java.util.List<java.nio.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 java.util.Iterator<java.lang.Long> getFileIdsIterator()
public void addToFileIds(long elem)
public java.util.List<java.lang.Long> getFileIds()
public void setFileIds(java.util.List<java.lang.Long> fileIds)
public void unsetFileIds()
public boolean isSetFileIds()
public void setFileIdsIsSet(boolean value)
public int getMetadataSize()
public java.util.Iterator<java.nio.ByteBuffer> getMetadataIterator()
public void addToMetadata(java.nio.ByteBuffer elem)
public java.util.List<java.nio.ByteBuffer> getMetadata()
public void setMetadata(java.util.List<java.nio.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, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<PutFileMetadataRequest,PutFileMetadataRequest._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(PutFileMetadataRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(PutFileMetadataRequest other)
compareTo in interface java.lang.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.TBase<PutFileMetadataRequest,PutFileMetadataRequest._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<PutFileMetadataRequest,PutFileMetadataRequest._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.