Package com.google.refine.commands.row
Class GetRowsCommand.JsonResult
java.lang.Object
com.google.refine.commands.row.GetRowsCommand.JsonResult
- Enclosing class:
- GetRowsCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Integerprotected final intNumber of rows selected by the current filterprotected final intprotected final Engine.ModeMode of the engine (row or record based)protected final IntegerThe value to use as 'start' when fetching the page after this one.protected final Poolprotected final IntegerThe value to use as 'end' when fetching the page before this one.protected final List<GetRowsCommand.WrappedRow>Rows in the viewprotected final Integerprotected final intTotal number of rows/records in the unfiltered gridprotected final intTotal number of rows in the unfiltered grid (needed to provide a link to the last page) -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsonResult(Engine.Mode mode, List<GetRowsCommand.WrappedRow> rows, int filtered, int totalCount, int totalRows, int start, int end, int limit, Pool pool, Integer previousPageEnd, Integer nextPageStart) -
Method Summary
-
Field Details
-
mode
Mode of the engine (row or record based) -
rows
Rows in the view -
filtered
protected final int filteredNumber of rows selected by the current filter -
totalCount
protected final int totalCountTotal number of rows/records in the unfiltered grid -
totalRows
protected final int totalRowsTotal number of rows in the unfiltered grid (needed to provide a link to the last page) -
start
-
end
-
limit
protected final int limit -
pool
-
previousPageEnd
The value to use as 'end' when fetching the page before this one. Can be null if there is no such page. -
nextPageStart
The value to use as 'start' when fetching the page after this one. Can be null if there is no such page.
-
-
Constructor Details
-
JsonResult
protected JsonResult(Engine.Mode mode, List<GetRowsCommand.WrappedRow> rows, int filtered, int totalCount, int totalRows, int start, int end, int limit, Pool pool, Integer previousPageEnd, Integer nextPageStart)
-