public class Function extends Object implements org.apache.thrift.TBase<Function,Function._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Function._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<Function._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Function() |
Function(Function other)
Performs a deep copy on other.
|
Function(String functionName,
String dbName,
String className,
String ownerName,
PrincipalType ownerType,
int createTime,
FunctionType functionType,
List<ResourceUri> resourceUris) |
Modifier and Type | Method and Description |
---|---|
void |
addToResourceUris(ResourceUri elem) |
void |
clear() |
int |
compareTo(Function other) |
Function |
deepCopy() |
boolean |
equals(Function that) |
boolean |
equals(Object that) |
Function._Fields |
fieldForId(int fieldId) |
String |
getClassName() |
int |
getCreateTime() |
String |
getDbName() |
Object |
getFieldValue(Function._Fields field) |
String |
getFunctionName() |
FunctionType |
getFunctionType() |
String |
getOwnerName() |
PrincipalType |
getOwnerType() |
List<ResourceUri> |
getResourceUris() |
Iterator<ResourceUri> |
getResourceUrisIterator() |
int |
getResourceUrisSize() |
int |
hashCode() |
boolean |
isSet(Function._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetClassName()
Returns true if field className 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 |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetFunctionName()
Returns true if field functionName is set (has been assigned a value) and false otherwise
|
boolean |
isSetFunctionType()
Returns true if field functionType is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwnerName()
Returns true if field ownerName is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwnerType()
Returns true if field ownerType is set (has been assigned a value) and false otherwise
|
boolean |
isSetResourceUris()
Returns true if field resourceUris is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setClassName(String className) |
void |
setClassNameIsSet(boolean value) |
void |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(Function._Fields field,
Object value) |
void |
setFunctionName(String functionName) |
void |
setFunctionNameIsSet(boolean value) |
void |
setFunctionType(FunctionType functionType) |
void |
setFunctionTypeIsSet(boolean value) |
void |
setOwnerName(String ownerName) |
void |
setOwnerNameIsSet(boolean value) |
void |
setOwnerType(PrincipalType ownerType) |
void |
setOwnerTypeIsSet(boolean value) |
void |
setResourceUris(List<ResourceUri> resourceUris) |
void |
setResourceUrisIsSet(boolean value) |
String |
toString() |
void |
unsetClassName() |
void |
unsetCreateTime() |
void |
unsetDbName() |
void |
unsetFunctionName() |
void |
unsetFunctionType() |
void |
unsetOwnerName() |
void |
unsetOwnerType() |
void |
unsetResourceUris() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Function._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Function()
public Function(String functionName, String dbName, String className, String ownerName, PrincipalType ownerType, int createTime, FunctionType functionType, List<ResourceUri> resourceUris)
public Function(Function other)
public Function deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Function,Function._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Function,Function._Fields>
public String getFunctionName()
public void setFunctionName(String functionName)
public void unsetFunctionName()
public boolean isSetFunctionName()
public void setFunctionNameIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getClassName()
public void setClassName(String className)
public void unsetClassName()
public boolean isSetClassName()
public void setClassNameIsSet(boolean value)
public String getOwnerName()
public void setOwnerName(String ownerName)
public void unsetOwnerName()
public boolean isSetOwnerName()
public void setOwnerNameIsSet(boolean value)
public PrincipalType getOwnerType()
PrincipalType
public void setOwnerType(PrincipalType ownerType)
PrincipalType
public void unsetOwnerType()
public boolean isSetOwnerType()
public void setOwnerTypeIsSet(boolean value)
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public FunctionType getFunctionType()
FunctionType
public void setFunctionType(FunctionType functionType)
FunctionType
public void unsetFunctionType()
public boolean isSetFunctionType()
public void setFunctionTypeIsSet(boolean value)
public int getResourceUrisSize()
public Iterator<ResourceUri> getResourceUrisIterator()
public void addToResourceUris(ResourceUri elem)
public List<ResourceUri> getResourceUris()
public void setResourceUris(List<ResourceUri> resourceUris)
public void unsetResourceUris()
public boolean isSetResourceUris()
public void setResourceUrisIsSet(boolean value)
public void setFieldValue(Function._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Function,Function._Fields>
public Object getFieldValue(Function._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Function,Function._Fields>
public boolean isSet(Function._Fields field)
isSet
in interface org.apache.thrift.TBase<Function,Function._Fields>
public boolean equals(Function that)
public int compareTo(Function other)
compareTo
in interface Comparable<Function>
public Function._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Function,Function._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Function,Function._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<Function,Function._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.