SingleValueCollector

Class representing a single value collector.

This class extends from the FieldCollector class and implements the Collector interface. It is used to collect a single value.

Inheritors

Constructors

Link copied to clipboard
constructor()

Creates a new SingleValueCollector with the given input.

Properties

Link copied to clipboard

The value to collect.

Functions

Link copied to clipboard
open override fun init(input: JsonElement)

Function to initialize the single value collector.

Link copied to clipboard
open override fun payload(): String?