Class TSExecuteStatementReq

    • Field Detail

      • sessionId

        public long sessionId
      • statement

        public String statement
      • statementId

        public long statementId
      • fetchSize

        public int fetchSize
      • timeout

        public long timeout
      • enableRedirectQuery

        public boolean enableRedirectQuery
      • jdbcQuery

        public boolean jdbcQuery
    • Constructor Detail

      • TSExecuteStatementReq

        public TSExecuteStatementReq()
      • TSExecuteStatementReq

        public TSExecuteStatementReq​(long sessionId,
                                     String statement,
                                     long statementId)
      • TSExecuteStatementReq

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

      • getSessionId

        public long getSessionId()
      • unsetSessionId

        public void unsetSessionId()
      • isSetSessionId

        public boolean isSetSessionId()
        Returns true if field sessionId is set (has been assigned a value) and false otherwise
      • setSessionIdIsSet

        public void setSessionIdIsSet​(boolean value)
      • getStatement

        public String getStatement()
      • unsetStatement

        public void unsetStatement()
      • isSetStatement

        public boolean isSetStatement()
        Returns true if field statement is set (has been assigned a value) and false otherwise
      • setStatementIsSet

        public void setStatementIsSet​(boolean value)
      • getStatementId

        public long getStatementId()
      • unsetStatementId

        public void unsetStatementId()
      • isSetStatementId

        public boolean isSetStatementId()
        Returns true if field statementId is set (has been assigned a value) and false otherwise
      • setStatementIdIsSet

        public void setStatementIdIsSet​(boolean value)
      • getFetchSize

        public int getFetchSize()
      • unsetFetchSize

        public void unsetFetchSize()
      • isSetFetchSize

        public boolean isSetFetchSize()
        Returns true if field fetchSize is set (has been assigned a value) and false otherwise
      • setFetchSizeIsSet

        public void setFetchSizeIsSet​(boolean value)
      • getTimeout

        public long getTimeout()
      • unsetTimeout

        public void unsetTimeout()
      • isSetTimeout

        public boolean isSetTimeout()
        Returns true if field timeout is set (has been assigned a value) and false otherwise
      • setTimeoutIsSet

        public void setTimeoutIsSet​(boolean value)
      • isEnableRedirectQuery

        public boolean isEnableRedirectQuery()
      • setEnableRedirectQuery

        public TSExecuteStatementReq setEnableRedirectQuery​(boolean enableRedirectQuery)
      • unsetEnableRedirectQuery

        public void unsetEnableRedirectQuery()
      • isSetEnableRedirectQuery

        public boolean isSetEnableRedirectQuery()
        Returns true if field enableRedirectQuery is set (has been assigned a value) and false otherwise
      • setEnableRedirectQueryIsSet

        public void setEnableRedirectQueryIsSet​(boolean value)
      • isJdbcQuery

        public boolean isJdbcQuery()
      • unsetJdbcQuery

        public void unsetJdbcQuery()
      • isSetJdbcQuery

        public boolean isSetJdbcQuery()
        Returns true if field jdbcQuery is set (has been assigned a value) and false otherwise
      • setJdbcQueryIsSet

        public void setJdbcQueryIsSet​(boolean value)
      • 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