Class TCreateCQReq

    • Field Detail

      • everyInterval

        public long everyInterval
      • boundaryTime

        public long boundaryTime
      • startTimeOffset

        public long startTimeOffset
      • endTimeOffset

        public long endTimeOffset
      • timeoutPolicy

        public byte timeoutPolicy
      • queryBody

        public String queryBody
      • zoneId

        public String zoneId
      • username

        public String username
      • metaDataMap

        public static final Map<TCreateCQReq._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TCreateCQReq

        public TCreateCQReq()
      • TCreateCQReq

        public TCreateCQReq​(String cqId,
                            long everyInterval,
                            long boundaryTime,
                            long startTimeOffset,
                            long endTimeOffset,
                            byte timeoutPolicy,
                            String queryBody,
                            String sql,
                            String zoneId,
                            String username)
      • TCreateCQReq

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

      • getCqId

        public String getCqId()
      • unsetCqId

        public void unsetCqId()
      • isSetCqId

        public boolean isSetCqId()
        Returns true if field cqId is set (has been assigned a value) and false otherwise
      • setCqIdIsSet

        public void setCqIdIsSet​(boolean value)
      • getEveryInterval

        public long getEveryInterval()
      • setEveryInterval

        public TCreateCQReq setEveryInterval​(long everyInterval)
      • unsetEveryInterval

        public void unsetEveryInterval()
      • isSetEveryInterval

        public boolean isSetEveryInterval()
        Returns true if field everyInterval is set (has been assigned a value) and false otherwise
      • setEveryIntervalIsSet

        public void setEveryIntervalIsSet​(boolean value)
      • getBoundaryTime

        public long getBoundaryTime()
      • setBoundaryTime

        public TCreateCQReq setBoundaryTime​(long boundaryTime)
      • unsetBoundaryTime

        public void unsetBoundaryTime()
      • isSetBoundaryTime

        public boolean isSetBoundaryTime()
        Returns true if field boundaryTime is set (has been assigned a value) and false otherwise
      • setBoundaryTimeIsSet

        public void setBoundaryTimeIsSet​(boolean value)
      • getStartTimeOffset

        public long getStartTimeOffset()
      • setStartTimeOffset

        public TCreateCQReq setStartTimeOffset​(long startTimeOffset)
      • unsetStartTimeOffset

        public void unsetStartTimeOffset()
      • isSetStartTimeOffset

        public boolean isSetStartTimeOffset()
        Returns true if field startTimeOffset is set (has been assigned a value) and false otherwise
      • setStartTimeOffsetIsSet

        public void setStartTimeOffsetIsSet​(boolean value)
      • getEndTimeOffset

        public long getEndTimeOffset()
      • setEndTimeOffset

        public TCreateCQReq setEndTimeOffset​(long endTimeOffset)
      • unsetEndTimeOffset

        public void unsetEndTimeOffset()
      • isSetEndTimeOffset

        public boolean isSetEndTimeOffset()
        Returns true if field endTimeOffset is set (has been assigned a value) and false otherwise
      • setEndTimeOffsetIsSet

        public void setEndTimeOffsetIsSet​(boolean value)
      • getTimeoutPolicy

        public byte getTimeoutPolicy()
      • setTimeoutPolicy

        public TCreateCQReq setTimeoutPolicy​(byte timeoutPolicy)
      • unsetTimeoutPolicy

        public void unsetTimeoutPolicy()
      • isSetTimeoutPolicy

        public boolean isSetTimeoutPolicy()
        Returns true if field timeoutPolicy is set (has been assigned a value) and false otherwise
      • setTimeoutPolicyIsSet

        public void setTimeoutPolicyIsSet​(boolean value)
      • getQueryBody

        public String getQueryBody()
      • unsetQueryBody

        public void unsetQueryBody()
      • isSetQueryBody

        public boolean isSetQueryBody()
        Returns true if field queryBody is set (has been assigned a value) and false otherwise
      • setQueryBodyIsSet

        public void setQueryBodyIsSet​(boolean value)
      • getSql

        public String getSql()
      • unsetSql

        public void unsetSql()
      • isSetSql

        public boolean isSetSql()
        Returns true if field sql is set (has been assigned a value) and false otherwise
      • setSqlIsSet

        public void setSqlIsSet​(boolean value)
      • getZoneId

        public String getZoneId()
      • unsetZoneId

        public void unsetZoneId()
      • isSetZoneId

        public boolean isSetZoneId()
        Returns true if field zoneId is set (has been assigned a value) and false otherwise
      • setZoneIdIsSet

        public void setZoneIdIsSet​(boolean value)
      • getUsername

        public String getUsername()
      • unsetUsername

        public void unsetUsername()
      • isSetUsername

        public boolean isSetUsername()
        Returns true if field username is set (has been assigned a value) and false otherwise
      • setUsernameIsSet

        public void setUsernameIsSet​(boolean value)
      • isSet

        public boolean isSet​(TCreateCQReq._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<TCreateCQReq,​TCreateCQReq._Fields>
      • 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