Class SegmentZKMetadata

    • Constructor Detail

      • SegmentZKMetadata

        public SegmentZKMetadata​(String segmentName)
      • SegmentZKMetadata

        public SegmentZKMetadata​(org.apache.helix.zookeeper.datamodel.ZNRecord znRecord)
    • Method Detail

      • getSegmentName

        public String getSegmentName()
      • getStartTimeMs

        public long getStartTimeMs()
      • getEndTimeMs

        public long getEndTimeMs()
      • setStartTime

        public void setStartTime​(long startTime)
      • setEndTime

        public void setEndTime​(long endTime)
      • setTimeUnit

        public void setTimeUnit​(TimeUnit timeUnit)
      • getIndexVersion

        public String getIndexVersion()
      • setIndexVersion

        public void setIndexVersion​(String indexVersion)
      • getTotalDocs

        public long getTotalDocs()
      • setTotalDocs

        public void setTotalDocs​(long totalDocs)
      • setSizeInBytes

        public void setSizeInBytes​(long sizeInBytes)
      • getSizeInBytes

        public long getSizeInBytes()
      • getCrc

        public long getCrc()
      • setCrc

        public void setCrc​(long crc)
      • getCreationTime

        public long getCreationTime()
      • setCreationTime

        public void setCreationTime​(long creationTime)
      • getPushTime

        public long getPushTime()
      • setPushTime

        public void setPushTime​(long pushTime)
      • getRefreshTime

        public long getRefreshTime()
      • setRefreshTime

        public void setRefreshTime​(long pushTime)
      • getDownloadUrl

        public String getDownloadUrl()
      • setDownloadUrl

        public void setDownloadUrl​(String downloadUrl)
      • getCrypterName

        public String getCrypterName()
      • setCrypterName

        public void setCrypterName​(String crypterName)
      • setCustomMap

        public void setCustomMap​(Map<String,​String> customMap)
      • getSizeThresholdToFlushSegment

        public int getSizeThresholdToFlushSegment()
      • setSizeThresholdToFlushSegment

        public void setSizeThresholdToFlushSegment​(int flushThresholdSize)
      • getTimeThresholdToFlushSegment

        public String getTimeThresholdToFlushSegment()
      • setTimeThresholdToFlushSegment

        public void setTimeThresholdToFlushSegment​(String flushThresholdTime)
      • getStartOffset

        public String getStartOffset()
      • setStartOffset

        public void setStartOffset​(String startOffset)
      • getEndOffset

        public String getEndOffset()
      • setEndOffset

        public void setEndOffset​(String endOffset)
      • getNumReplicas

        public int getNumReplicas()
      • setNumReplicas

        public void setNumReplicas​(int numReplicas)
      • getSegmentUploadStartTime

        public long getSegmentUploadStartTime()
      • setSegmentUploadStartTime

        public void setSegmentUploadStartTime​(long segmentUploadStartTime)
      • toZNRecord

        public org.apache.helix.zookeeper.datamodel.ZNRecord toZNRecord()
        Specified by:
        toZNRecord in interface ZKMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object