Package com.mapd.thrift.server
Class MapD.sql_validate_result
- java.lang.Object
-
- com.mapd.thrift.server.MapD.sql_validate_result
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<MapD.sql_validate_result>,org.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- MapD
public static class MapD.sql_validate_result extends Object implements org.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>, Serializable, Cloneable, Comparable<MapD.sql_validate_result>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapD.sql_validate_result._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TMapDExceptionestatic Map<MapD.sql_validate_result._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapMap<String,TColumnType>success
-
Constructor Summary
Constructors Constructor Description sql_validate_result()sql_validate_result(MapD.sql_validate_result other)Performs a deep copy on other.sql_validate_result(Map<String,TColumnType> success, TMapDException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(MapD.sql_validate_result other)MapD.sql_validate_resultdeepCopy()booleanequals(MapD.sql_validate_result that)booleanequals(Object that)MapD.sql_validate_result._FieldsfieldForId(int fieldId)TMapDExceptiongetE()ObjectgetFieldValue(MapD.sql_validate_result._Fields field)Map<String,TColumnType>getSuccess()intgetSuccessSize()inthashCode()booleanisSet(MapD.sql_validate_result._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetE()Returns true if field e is set (has been assigned a value) and false otherwisebooleanisSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwisevoidputToSuccess(String key, TColumnType val)voidread(org.apache.thrift.protocol.TProtocol iprot)MapD.sql_validate_resultsetE(TMapDException e)voidsetEIsSet(boolean value)voidsetFieldValue(MapD.sql_validate_result._Fields field, Object value)MapD.sql_validate_resultsetSuccess(Map<String,TColumnType> success)voidsetSuccessIsSet(boolean value)StringtoString()voidunsetE()voidunsetSuccess()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
success
public Map<String,TColumnType> success
-
e
public TMapDException e
-
metaDataMap
public static final Map<MapD.sql_validate_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
sql_validate_result
public sql_validate_result()
-
sql_validate_result
public sql_validate_result(Map<String,TColumnType> success, TMapDException e)
-
sql_validate_result
public sql_validate_result(MapD.sql_validate_result other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public MapD.sql_validate_result deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>
-
getSuccessSize
public int getSuccessSize()
-
putToSuccess
public void putToSuccess(String key, TColumnType val)
-
getSuccess
public Map<String,TColumnType> getSuccess()
-
setSuccess
public MapD.sql_validate_result setSuccess(Map<String,TColumnType> success)
-
unsetSuccess
public void unsetSuccess()
-
isSetSuccess
public boolean isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
-
setSuccessIsSet
public void setSuccessIsSet(boolean value)
-
getE
public TMapDException getE()
-
setE
public MapD.sql_validate_result setE(TMapDException e)
-
unsetE
public void unsetE()
-
isSetE
public boolean isSetE()
Returns true if field e is set (has been assigned a value) and false otherwise
-
setEIsSet
public void setEIsSet(boolean value)
-
setFieldValue
public void setFieldValue(MapD.sql_validate_result._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>
-
getFieldValue
public Object getFieldValue(MapD.sql_validate_result._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>
-
isSet
public boolean isSet(MapD.sql_validate_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>
-
equals
public boolean equals(MapD.sql_validate_result that)
-
compareTo
public int compareTo(MapD.sql_validate_result other)
- Specified by:
compareToin interfaceComparable<MapD.sql_validate_result>
-
fieldForId
public MapD.sql_validate_result._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<MapD.sql_validate_result,MapD.sql_validate_result._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-