public final class QuerySplitter extends Object
Query
,
DataContext
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_ROWS |
Constructor and Description |
---|
QuerySplitter(DataContext dc,
Query q) |
Modifier and Type | Method and Description |
---|---|
DataSet |
executeQueries() |
DataSet |
executeQueries(List<Query> splitQueries) |
long |
getRowCount() |
static boolean |
isSplittable(Query q) |
QuerySplitter |
setMaxRows(long maxRows)
Sets the desired maximum result set row count.
|
List<Query> |
splitQuery()
Splits the query into several queries that will together yield the same
result set
|
public static final long DEFAULT_MAX_ROWS
public QuerySplitter(DataContext dc, Query q)
public List<Query> splitQuery()
public static boolean isSplittable(Query q)
public long getRowCount()
public QuerySplitter setMaxRows(long maxRows)
maxRows
- public DataSet executeQueries()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.