public class PartitionWithoutSD extends Object implements org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionWithoutSD._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<PartitionWithoutSD._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PartitionWithoutSD() |
PartitionWithoutSD(List<String> values,
int createTime,
int lastAccessTime,
String relativePath,
Map<String,String> parameters) |
PartitionWithoutSD(PartitionWithoutSD other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToValues(String elem) |
void |
clear() |
int |
compareTo(PartitionWithoutSD other) |
PartitionWithoutSD |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PartitionWithoutSD that) |
PartitionWithoutSD._Fields |
fieldForId(int fieldId) |
int |
getCreateTime() |
Object |
getFieldValue(PartitionWithoutSD._Fields field) |
int |
getLastAccessTime() |
Map<String,String> |
getParameters() |
int |
getParametersSize() |
PrincipalPrivilegeSet |
getPrivileges() |
String |
getRelativePath() |
List<String> |
getValues() |
Iterator<String> |
getValuesIterator() |
int |
getValuesSize() |
int |
hashCode() |
boolean |
isSet(PartitionWithoutSD._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreateTime()
Returns true if field createTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastAccessTime()
Returns true if field lastAccessTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetParameters()
Returns true if field parameters is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivileges()
Returns true if field privileges is set (has been assigned a value) and false otherwise
|
boolean |
isSetRelativePath()
Returns true if field relativePath is set (has been assigned a value) and false otherwise
|
boolean |
isSetValues()
Returns true if field values is set (has been assigned a value) and false otherwise
|
void |
putToParameters(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setFieldValue(PartitionWithoutSD._Fields field,
Object value) |
void |
setLastAccessTime(int lastAccessTime) |
void |
setLastAccessTimeIsSet(boolean value) |
void |
setParameters(Map<String,String> parameters) |
void |
setParametersIsSet(boolean value) |
void |
setPrivileges(PrincipalPrivilegeSet privileges) |
void |
setPrivilegesIsSet(boolean value) |
void |
setRelativePath(String relativePath) |
void |
setRelativePathIsSet(boolean value) |
void |
setValues(List<String> values) |
void |
setValuesIsSet(boolean value) |
String |
toString() |
void |
unsetCreateTime() |
void |
unsetLastAccessTime() |
void |
unsetParameters() |
void |
unsetPrivileges() |
void |
unsetRelativePath() |
void |
unsetValues() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PartitionWithoutSD._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionWithoutSD()
public PartitionWithoutSD(List<String> values, int createTime, int lastAccessTime, String relativePath, Map<String,String> parameters)
public PartitionWithoutSD(PartitionWithoutSD other)
public PartitionWithoutSD deepCopy()
deepCopy in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>public int getValuesSize()
public void addToValues(String elem)
public void unsetValues()
public boolean isSetValues()
public void setValuesIsSet(boolean value)
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public int getLastAccessTime()
public void setLastAccessTime(int lastAccessTime)
public void unsetLastAccessTime()
public boolean isSetLastAccessTime()
public void setLastAccessTimeIsSet(boolean value)
public String getRelativePath()
public void setRelativePath(String relativePath)
public void unsetRelativePath()
public boolean isSetRelativePath()
public void setRelativePathIsSet(boolean value)
public int getParametersSize()
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(boolean value)
public PrincipalPrivilegeSet getPrivileges()
public void setPrivileges(PrincipalPrivilegeSet privileges)
public void unsetPrivileges()
public boolean isSetPrivileges()
public void setPrivilegesIsSet(boolean value)
public void setFieldValue(PartitionWithoutSD._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>public Object getFieldValue(PartitionWithoutSD._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>public boolean isSet(PartitionWithoutSD._Fields field)
isSet in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>public boolean equals(PartitionWithoutSD that)
public int compareTo(PartitionWithoutSD other)
compareTo in interface Comparable<PartitionWithoutSD>public PartitionWithoutSD._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._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<PartitionWithoutSD,PartitionWithoutSD._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.