Class TSInsertRecordReq

    • Field Detail

      • sessionId

        public long sessionId
      • prefixPath

        public String prefixPath
      • timestamp

        public long timestamp
      • isAligned

        public boolean isAligned
    • Constructor Detail

      • TSInsertRecordReq

        public TSInsertRecordReq()
      • TSInsertRecordReq

        public TSInsertRecordReq​(long sessionId,
                                 String prefixPath,
                                 List<String> measurements,
                                 ByteBuffer values,
                                 long timestamp)
      • TSInsertRecordReq

        public TSInsertRecordReq​(TSInsertRecordReq 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)
      • getPrefixPath

        public String getPrefixPath()
      • unsetPrefixPath

        public void unsetPrefixPath()
      • isSetPrefixPath

        public boolean isSetPrefixPath()
        Returns true if field prefixPath is set (has been assigned a value) and false otherwise
      • setPrefixPathIsSet

        public void setPrefixPathIsSet​(boolean value)
      • getMeasurementsSize

        public int getMeasurementsSize()
      • getMeasurementsIterator

        public Iterator<String> getMeasurementsIterator()
      • addToMeasurements

        public void addToMeasurements​(String elem)
      • getMeasurements

        public List<String> getMeasurements()
      • unsetMeasurements

        public void unsetMeasurements()
      • isSetMeasurements

        public boolean isSetMeasurements()
        Returns true if field measurements is set (has been assigned a value) and false otherwise
      • setMeasurementsIsSet

        public void setMeasurementsIsSet​(boolean value)
      • getValues

        public byte[] getValues()
      • bufferForValues

        public ByteBuffer bufferForValues()
      • unsetValues

        public void unsetValues()
      • isSetValues

        public boolean isSetValues()
        Returns true if field values is set (has been assigned a value) and false otherwise
      • setValuesIsSet

        public void setValuesIsSet​(boolean value)
      • getTimestamp

        public long getTimestamp()
      • unsetTimestamp

        public void unsetTimestamp()
      • isSetTimestamp

        public boolean isSetTimestamp()
        Returns true if field timestamp is set (has been assigned a value) and false otherwise
      • setTimestampIsSet

        public void setTimestampIsSet​(boolean value)
      • isIsAligned

        public boolean isIsAligned()
      • unsetIsAligned

        public void unsetIsAligned()
      • isSetIsAligned

        public boolean isSetIsAligned()
        Returns true if field isAligned is set (has been assigned a value) and false otherwise
      • setIsAlignedIsSet

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