Package org.openrefine.commands.row
Class GetRowsCommand.JsonResult
- java.lang.Object
-
- org.openrefine.commands.row.GetRowsCommand.JsonResult
-
- Enclosing class:
- GetRowsCommand
protected static class GetRowsCommand.JsonResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Long
end
protected long
historyEntryId
protected int
limit
protected Engine.Mode
mode
Mode of the engine (row or record based)protected boolean
needsRefreshing
protected Long
nextPageId
The value to use as 'start' when fetching the page after this one.protected Long
previousPageId
The value to use as 'end' when fetching the page before this one.protected List<GetRowsCommand.WrappedRow>
rows
Rows in the viewprotected Long
start
-
Constructor Summary
Constructors Modifier Constructor Description protected
JsonResult(Engine.Mode mode, long historyEntryId, List<GetRowsCommand.WrappedRow> rows, long start, long end, int limit, Long previousPageId, Long nextPageId, boolean refreshNeeded)
-
-
-
Field Detail
-
mode
protected final Engine.Mode mode
Mode of the engine (row or record based)
-
rows
protected final List<GetRowsCommand.WrappedRow> rows
Rows in the view
-
start
protected final Long start
-
end
protected final Long end
-
limit
protected final int limit
-
previousPageId
protected final Long previousPageId
The value to use as 'end' when fetching the page before this one. Can be null if there is no such page.
-
nextPageId
protected final Long nextPageId
The value to use as 'start' when fetching the page after this one. Can be null if there is no such page.
-
needsRefreshing
protected final boolean needsRefreshing
-
historyEntryId
protected final long historyEntryId
-
-
Constructor Detail
-
JsonResult
protected JsonResult(Engine.Mode mode, long historyEntryId, List<GetRowsCommand.WrappedRow> rows, long start, long end, int limit, Long previousPageId, Long nextPageId, boolean refreshNeeded)
-
-