Class PinotQuery

    • Constructor Detail

      • PinotQuery

        public PinotQuery()
      • PinotQuery

        public PinotQuery​(PinotQuery other)
        Performs a deep copy on other.
    • Method Detail

      • getVersion

        public int getVersion()
      • setVersion

        public PinotQuery setVersion​(int version)
      • unsetVersion

        public void unsetVersion()
      • isSetVersion

        public boolean isSetVersion()
        Returns true if field version is set (has been assigned a value) and false otherwise
      • setVersionIsSet

        public void setVersionIsSet​(boolean value)
      • getDataSource

        public DataSource getDataSource()
      • unsetDataSource

        public void unsetDataSource()
      • isSetDataSource

        public boolean isSetDataSource()
        Returns true if field dataSource is set (has been assigned a value) and false otherwise
      • setDataSourceIsSet

        public void setDataSourceIsSet​(boolean value)
      • getSelectListSize

        public int getSelectListSize()
      • addToSelectList

        public void addToSelectList​(Expression elem)
      • unsetSelectList

        public void unsetSelectList()
      • isSetSelectList

        public boolean isSetSelectList()
        Returns true if field selectList is set (has been assigned a value) and false otherwise
      • setSelectListIsSet

        public void setSelectListIsSet​(boolean value)
      • getFilterExpression

        public Expression getFilterExpression()
      • unsetFilterExpression

        public void unsetFilterExpression()
      • isSetFilterExpression

        public boolean isSetFilterExpression()
        Returns true if field filterExpression is set (has been assigned a value) and false otherwise
      • setFilterExpressionIsSet

        public void setFilterExpressionIsSet​(boolean value)
      • getGroupByListSize

        public int getGroupByListSize()
      • addToGroupByList

        public void addToGroupByList​(Expression elem)
      • unsetGroupByList

        public void unsetGroupByList()
      • isSetGroupByList

        public boolean isSetGroupByList()
        Returns true if field groupByList is set (has been assigned a value) and false otherwise
      • setGroupByListIsSet

        public void setGroupByListIsSet​(boolean value)
      • getOrderByListSize

        public int getOrderByListSize()
      • addToOrderByList

        public void addToOrderByList​(Expression elem)
      • unsetOrderByList

        public void unsetOrderByList()
      • isSetOrderByList

        public boolean isSetOrderByList()
        Returns true if field orderByList is set (has been assigned a value) and false otherwise
      • setOrderByListIsSet

        public void setOrderByListIsSet​(boolean value)
      • getHavingExpression

        public Expression getHavingExpression()
      • unsetHavingExpression

        public void unsetHavingExpression()
      • isSetHavingExpression

        public boolean isSetHavingExpression()
        Returns true if field havingExpression is set (has been assigned a value) and false otherwise
      • setHavingExpressionIsSet

        public void setHavingExpressionIsSet​(boolean value)
      • getLimit

        public int getLimit()
      • setLimit

        public PinotQuery setLimit​(int limit)
      • unsetLimit

        public void unsetLimit()
      • isSetLimit

        public boolean isSetLimit()
        Returns true if field limit is set (has been assigned a value) and false otherwise
      • setLimitIsSet

        public void setLimitIsSet​(boolean value)
      • getOffset

        public int getOffset()
      • setOffset

        public PinotQuery setOffset​(int offset)
      • unsetOffset

        public void unsetOffset()
      • isSetOffset

        public boolean isSetOffset()
        Returns true if field offset is set (has been assigned a value) and false otherwise
      • setOffsetIsSet

        public void setOffsetIsSet​(boolean value)
      • getDebugOptionsSize

        public int getDebugOptionsSize()
      • putToDebugOptions

        public void putToDebugOptions​(String key,
                                      String val)
      • unsetDebugOptions

        public void unsetDebugOptions()
      • isSetDebugOptions

        public boolean isSetDebugOptions()
        Returns true if field debugOptions is set (has been assigned a value) and false otherwise
      • setDebugOptionsIsSet

        public void setDebugOptionsIsSet​(boolean value)
      • getQueryOptionsSize

        public int getQueryOptionsSize()
      • putToQueryOptions

        public void putToQueryOptions​(String key,
                                      String val)
      • unsetQueryOptions

        public void unsetQueryOptions()
      • isSetQueryOptions

        public boolean isSetQueryOptions()
        Returns true if field queryOptions is set (has been assigned a value) and false otherwise
      • setQueryOptionsIsSet

        public void setQueryOptionsIsSet​(boolean value)
      • isExplain

        public boolean isExplain()
      • setExplain

        public PinotQuery setExplain​(boolean explain)
      • unsetExplain

        public void unsetExplain()
      • isSetExplain

        public boolean isSetExplain()
        Returns true if field explain is set (has been assigned a value) and false otherwise
      • setExplainIsSet

        public void setExplainIsSet​(boolean value)
      • getExpressionOverrideHintsSize

        public int getExpressionOverrideHintsSize()
      • putToExpressionOverrideHints

        public void putToExpressionOverrideHints​(Expression key,
                                                 Expression val)
      • unsetExpressionOverrideHints

        public void unsetExpressionOverrideHints()
      • isSetExpressionOverrideHints

        public boolean isSetExpressionOverrideHints()
        Returns true if field expressionOverrideHints is set (has been assigned a value) and false otherwise
      • setExpressionOverrideHintsIsSet

        public void setExpressionOverrideHintsIsSet​(boolean value)
      • isSet

        public boolean isSet​(PinotQuery._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<PinotQuery,​PinotQuery._Fields>
      • equals

        public boolean equals​(PinotQuery that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.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:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException