Constructor TermAllGroupsCollector
TermAllGroupsCollector(String, Int32)
Expert: Constructs a AbstractAllGroupsCollector<TGroupValue>
Declaration
public TermAllGroupsCollector(string groupField, int initialSize)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupField | The field to group by |
System.Int32 | initialSize | The initial allocation size of the internal int set and group list which should roughly match the total number of expected unique groups. Be aware that the heap usage is 4 bytes * initialSize. |
TermAllGroupsCollector(String)
Constructs a AbstractAllGroupsCollector<TGroupValue>. This sets the initial allocation size for the internal int set and group list to 128.
Declaration
public TermAllGroupsCollector(string groupField)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupField | The field to group by |