CapacityUnitsConfiguration class

Specifies capacity units configured for your index. You can add and remove capacity units to tune an index to your requirements.

Constructors

CapacityUnitsConfiguration({required int queryCapacityUnits, required int storageCapacityUnits})
CapacityUnitsConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
queryCapacityUnits int
The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and 40,000 queries per day.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageCapacityUnits int
The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or 500,000 documents, whichever is reached first.
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.
inherited

Operators

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