FacetBucket class

A bucket in a facet is the basic unit of operation.

A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.

Constructors

FacetBucket({int? count, Filter? filter, int? percentage, Value? value})
FacetBucket.fromJson(Map json_)

Properties

count int?
Number of results that match the bucket value.
getter/setter pair
filter Filter?
Filter to be passed in the search request if the corresponding bucket is selected.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
percentage int?
Percent of results that match the bucket value.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Value?
getter/setter pair

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