Package org.apache.pinot.common.request
Class DataSource
- java.lang.Object
-
- org.apache.pinot.common.request.DataSource
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<DataSource>,org.apache.thrift.TBase<DataSource,DataSource._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.15.0)", date="2022-05-02") public class DataSource extends Object implements org.apache.thrift.TBase<DataSource,DataSource._Fields>, Serializable, Cloneable, Comparable<DataSource>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataSource._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<DataSource._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPinotQuerysubqueryStringtableName
-
Constructor Summary
Constructors Constructor Description DataSource()DataSource(DataSource other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(DataSource other)DataSourcedeepCopy()booleanequals(Object that)booleanequals(DataSource that)DataSource._FieldsfieldForId(int fieldId)ObjectgetFieldValue(DataSource._Fields field)PinotQuerygetSubquery()StringgetTableName()inthashCode()booleanisSet(DataSource._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSubquery()Returns true if field subquery is set (has been assigned a value) and false otherwisebooleanisSetTableName()Returns true if field tableName is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(DataSource._Fields field, Object value)DataSourcesetSubquery(PinotQuery subquery)voidsetSubqueryIsSet(boolean value)DataSourcesetTableName(String tableName)voidsetTableNameIsSet(boolean value)StringtoString()voidunsetSubquery()voidunsetTableName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tableName
public String tableName
-
subquery
public PinotQuery subquery
-
metaDataMap
public static final Map<DataSource._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DataSource
public DataSource()
-
DataSource
public DataSource(DataSource other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DataSource deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<DataSource,DataSource._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<DataSource,DataSource._Fields>
-
getTableName
public String getTableName()
-
setTableName
public DataSource setTableName(String tableName)
-
unsetTableName
public void unsetTableName()
-
isSetTableName
public boolean isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
-
setTableNameIsSet
public void setTableNameIsSet(boolean value)
-
getSubquery
public PinotQuery getSubquery()
-
setSubquery
public DataSource setSubquery(PinotQuery subquery)
-
unsetSubquery
public void unsetSubquery()
-
isSetSubquery
public boolean isSetSubquery()
Returns true if field subquery is set (has been assigned a value) and false otherwise
-
setSubqueryIsSet
public void setSubqueryIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DataSource._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<DataSource,DataSource._Fields>
-
getFieldValue
public Object getFieldValue(DataSource._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<DataSource,DataSource._Fields>
-
isSet
public boolean isSet(DataSource._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<DataSource,DataSource._Fields>
-
equals
public boolean equals(DataSource that)
-
compareTo
public int compareTo(DataSource other)
- Specified by:
compareToin interfaceComparable<DataSource>
-
fieldForId
public DataSource._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<DataSource,DataSource._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
-
-