Class TSCreateTimeseriesReq

    • Constructor Detail

      • TSCreateTimeseriesReq

        public TSCreateTimeseriesReq()
      • TSCreateTimeseriesReq

        public TSCreateTimeseriesReq​(long sessionId,
                                     String path,
                                     int dataType,
                                     int encoding,
                                     int compressor)
      • TSCreateTimeseriesReq

        public TSCreateTimeseriesReq​(TSCreateTimeseriesReq 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)
      • getPath

        public String getPath()
      • unsetPath

        public void unsetPath()
      • isSetPath

        public boolean isSetPath()
        Returns true if field path is set (has been assigned a value) and false otherwise
      • setPathIsSet

        public void setPathIsSet​(boolean value)
      • getDataType

        public int getDataType()
      • unsetDataType

        public void unsetDataType()
      • isSetDataType

        public boolean isSetDataType()
        Returns true if field dataType is set (has been assigned a value) and false otherwise
      • setDataTypeIsSet

        public void setDataTypeIsSet​(boolean value)
      • getEncoding

        public int getEncoding()
      • unsetEncoding

        public void unsetEncoding()
      • isSetEncoding

        public boolean isSetEncoding()
        Returns true if field encoding is set (has been assigned a value) and false otherwise
      • setEncodingIsSet

        public void setEncodingIsSet​(boolean value)
      • getCompressor

        public int getCompressor()
      • unsetCompressor

        public void unsetCompressor()
      • isSetCompressor

        public boolean isSetCompressor()
        Returns true if field compressor is set (has been assigned a value) and false otherwise
      • setCompressorIsSet

        public void setCompressorIsSet​(boolean value)
      • getPropsSize

        public int getPropsSize()
      • putToProps

        public void putToProps​(String key,
                               String val)
      • unsetProps

        public void unsetProps()
      • isSetProps

        public boolean isSetProps()
        Returns true if field props is set (has been assigned a value) and false otherwise
      • setPropsIsSet

        public void setPropsIsSet​(boolean value)
      • getTagsSize

        public int getTagsSize()
      • putToTags

        public void putToTags​(String key,
                              String val)
      • unsetTags

        public void unsetTags()
      • isSetTags

        public boolean isSetTags()
        Returns true if field tags is set (has been assigned a value) and false otherwise
      • setTagsIsSet

        public void setTagsIsSet​(boolean value)
      • getAttributesSize

        public int getAttributesSize()
      • putToAttributes

        public void putToAttributes​(String key,
                                    String val)
      • unsetAttributes

        public void unsetAttributes()
      • isSetAttributes

        public boolean isSetAttributes()
        Returns true if field attributes is set (has been assigned a value) and false otherwise
      • setAttributesIsSet

        public void setAttributesIsSet​(boolean value)
      • getMeasurementAlias

        public String getMeasurementAlias()
      • unsetMeasurementAlias

        public void unsetMeasurementAlias()
      • isSetMeasurementAlias

        public boolean isSetMeasurementAlias()
        Returns true if field measurementAlias is set (has been assigned a value) and false otherwise
      • setMeasurementAliasIsSet

        public void setMeasurementAliasIsSet​(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