com.inteligr8.solr.model.IndexMetadata Maven / Gradle / Ivy
The newest version!
package com.inteligr8.solr.model;
import java.time.OffsetDateTime;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class IndexMetadata {
@JsonProperty
private Long numDocs;
@JsonProperty
private Long maxDoc;
@JsonProperty
private Long deletedDocs;
@JsonProperty
private Long indexHeapUsageBytes;
@JsonProperty
private Integer version;
@JsonProperty
private Integer segmentCount;
@JsonProperty
private Boolean current;
@JsonProperty
private Boolean hasDeletions;
@JsonProperty("directory")
private String directoryClassSpec;
@JsonProperty("segmentsFile")
private String segmentsFilename;
@JsonProperty
private Long segmentsFileSizeInBytes;
@JsonProperty("lastModified")
private OffsetDateTime lastModifiedDateTime;
@JsonProperty
private Long sizeInBytes;
@JsonProperty("size")
private String sizeInText;
public Long getNumDocs() {
return numDocs;
}
public Long getMaxDoc() {
return maxDoc;
}
public Long getDeletedDocs() {
return deletedDocs;
}
public Long getIndexHeapUsageBytes() {
return indexHeapUsageBytes;
}
public Integer getVersion() {
return version;
}
public Integer getSegmentCount() {
return segmentCount;
}
public Boolean getCurrent() {
return current;
}
public Boolean getHasDeletions() {
return hasDeletions;
}
public String getDirectoryClassSpec() {
return directoryClassSpec;
}
public String getSegmentsFilename() {
return segmentsFilename;
}
public Long getSegmentsFileSizeInBytes() {
return segmentsFileSizeInBytes;
}
public OffsetDateTime getLastModifiedDateTime() {
return lastModifiedDateTime;
}
public Long getSizeInBytes() {
return sizeInBytes;
}
public String getSizeInText() {
return sizeInText;
}
}