@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class AddNotNullConstraintRequest extends Object implements org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>, Serializable, Cloneable, Comparable<AddNotNullConstraintRequest>
Modifier and Type | Class and Description |
---|---|
static class |
AddNotNullConstraintRequest._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<AddNotNullConstraintRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
AddNotNullConstraintRequest() |
AddNotNullConstraintRequest(AddNotNullConstraintRequest other)
Performs a deep copy on other.
|
AddNotNullConstraintRequest(List<SQLNotNullConstraint> notNullConstraintCols) |
public static final Map<AddNotNullConstraintRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AddNotNullConstraintRequest()
public AddNotNullConstraintRequest(List<SQLNotNullConstraint> notNullConstraintCols)
public AddNotNullConstraintRequest(AddNotNullConstraintRequest other)
public AddNotNullConstraintRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
public int getNotNullConstraintColsSize()
public Iterator<SQLNotNullConstraint> getNotNullConstraintColsIterator()
public void addToNotNullConstraintCols(SQLNotNullConstraint elem)
public List<SQLNotNullConstraint> getNotNullConstraintCols()
public void setNotNullConstraintCols(List<SQLNotNullConstraint> notNullConstraintCols)
public void unsetNotNullConstraintCols()
public boolean isSetNotNullConstraintCols()
public void setNotNullConstraintColsIsSet(boolean value)
public void setFieldValue(AddNotNullConstraintRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
public Object getFieldValue(AddNotNullConstraintRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
public boolean isSet(AddNotNullConstraintRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
public boolean equals(AddNotNullConstraintRequest that)
public int compareTo(AddNotNullConstraintRequest other)
compareTo
in interface Comparable<AddNotNullConstraintRequest>
public AddNotNullConstraintRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AddNotNullConstraintRequest,AddNotNullConstraintRequest._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<AddNotNullConstraintRequest,AddNotNullConstraintRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.