FetchedIndex class final

Annotations
  • @JsonSerializable()

Constructors

FetchedIndex({required String name, required String createdAt, required String updatedAt, required int entries, required int dataSize, required int fileSize, required int lastBuildTimeS, required int numberOfPendingTasks, required bool pendingTask, String? primary, List<String>? replicas})
Returns a new FetchedIndex instance.
const
FetchedIndex.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt String
Index creation date. An empty string means that the index has no records.
final
dataSize int
Number of bytes of the index in minified format.
final
entries int
Number of records contained in the index.
final
fileSize int
Number of bytes of the index binary file.
final
hashCode int
The hash code for this object.
no setteroverride
lastBuildTimeS int
Last build time.
final
name String
Index name.
final
numberOfPendingTasks int
Number of pending indexing operations. This value is deprecated and should not be used.
final
pendingTask bool
A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
final
primary String?
Only present if the index is a replica. Contains the name of the related primary index.
final
replicas List<String>?
Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt String
Timestamp of the last update in ISO 8601 format.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override