Package com.algolia.model.search
Class FetchedIndex
java.lang.Object
com.algolia.model.search.FetchedIndex
FetchedIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReplicas
(String replicasItem) boolean
Index creation date.Number of bytes of the index in minified format.Number of records contained in the index.Number of bytes of the index binary file.Last build time.getName()
Index name.Number of pending indexing operations.A boolean which says whether the index has pending tasks.Only present if the index is a replica.Only present if the index is a primary index with replicas.Date and time when the object was updated, in RFC 3339 format.Only present if the index is a [virtual replica](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-an-index-alphabetically/#virtual-replicas).int
hashCode()
setCreatedAt
(String createdAt) setDataSize
(Integer dataSize) setEntries
(Integer entries) setFileSize
(Integer fileSize) setLastBuildTimeS
(Integer lastBuildTimeS) setNumberOfPendingTasks
(Integer numberOfPendingTasks) setPendingTask
(Boolean pendingTask) setPrimary
(String primary) setReplicas
(List<String> replicas) setUpdatedAt
(String updatedAt) setVirtual
(Boolean virtual) toString()
-
Constructor Details
-
FetchedIndex
public FetchedIndex()
-
-
Method Details
-
setName
-
getName
Index name. -
setCreatedAt
-
getCreatedAt
Index creation date. An empty string means that the index has no records. -
setUpdatedAt
-
getUpdatedAt
Date and time when the object was updated, in RFC 3339 format. -
setEntries
-
getEntries
Number of records contained in the index. -
setDataSize
-
getDataSize
Number of bytes of the index in minified format. -
setFileSize
-
getFileSize
Number of bytes of the index binary file. -
setLastBuildTimeS
-
getLastBuildTimeS
Last build time. -
setNumberOfPendingTasks
-
getNumberOfPendingTasks
Number of pending indexing operations. This value is deprecated and should not be used. -
setPendingTask
-
getPendingTask
A boolean which says whether the index has pending tasks. This value is deprecated and should not be used. -
setPrimary
-
getPrimary
Only present if the index is a replica. Contains the name of the related primary index. -
setReplicas
-
addReplicas
-
getReplicas
Only present if the index is a primary index with replicas. Contains the names of all linked replicas. -
setVirtual
-
getVirtual
Only present if the index is a [virtual replica](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-an-index-alphabetically/#virtual-replicas). -
equals
-
hashCode
public int hashCode() -
toString
-