public class VisorQueryUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Integer |
RMV_DELAY
How long to store future with query in node local map: 5 minutes.
|
static Collection<VisorQueryField> |
SCAN_COL_NAMES
Columns for SCAN queries.
|
static String |
SCAN_QRY_NAME
Prefix for node local key for SCAN queries.
|
static String |
SQL_QRY_NAME
Prefix for node local key for SQL queries.
|
| Constructor and Description |
|---|
VisorQueryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<Object[]> |
fetchScanQueryRows(VisorQueryCursor<javax.cache.Cache.Entry<Object,Object>> cur,
int pageSize)
Fetch rows from SCAN query future.
|
static List<Object[]> |
fetchSqlQueryRows(VisorQueryCursor<List<?>> cur,
int pageSize)
Collects rows from sql query future, first time creates meta and column names arrays.
|
public static final Integer RMV_DELAY
public static final String SQL_QRY_NAME
public static final String SCAN_QRY_NAME
public static final Collection<VisorQueryField> SCAN_COL_NAMES
public static List<Object[]> fetchScanQueryRows(VisorQueryCursor<javax.cache.Cache.Entry<Object,Object>> cur, int pageSize)
cur - Query future to fetch rows from.pageSize - Number of rows to fetch.public static List<Object[]> fetchSqlQueryRows(VisorQueryCursor<List<?>> cur, int pageSize)
cur - Query cursor to fetch rows from.pageSize - Number of rows to fetch.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015