public class IntCollector extends Selector
Constructor and Description |
---|
IntCollector(String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
handleComplete(List<Map<String,Object>> rows) |
void |
handleRow(int index,
Map<String,Object> row,
Object item,
Map<String,FieldAccess> fields) |
void |
handleStart(Collection<?> results) |
static IntCollector |
intCollector(String propertyName)
Factory for int collector.
|
IntList |
list() |
collectFrom, collectFrom, getAlias, getName, getPropertyValue, getPropertyValueAndPutIntoRow, rowId, select, select, selectAs, selectAs, selectAsTemplate, selectFrom, selectFrom, selectPropPath, selects, toStr, toStr, toStr
public IntCollector(String fieldName)
public static IntCollector intCollector(String propertyName)
propertyName
- name of property to collectpublic void handleRow(int index, Map<String,Object> row, Object item, Map<String,FieldAccess> fields)
public void handleStart(Collection<?> results)
handleStart
in class Selector
public void handleComplete(List<Map<String,Object>> rows)
handleComplete
in class Selector
public IntList list()
Copyright © 2014. All rights reserved.