public class NumericBetweenParametersProvider extends Object implements ParameterValuesProvider
BOOKS with a numeric PK id, using a query like:
SELECT * FROM BOOKS WHERE id BETWEEN ? AND ?you can use this class to automatically generate the parameters of the BETWEEN clause, based on the passed constructor parameters.
| Constructor and Description |
|---|
NumericBetweenParametersProvider(long fetchSize,
long min,
long max) |
| Modifier and Type | Method and Description |
|---|---|
Serializable[][] |
getParameterValues()
Returns the necessary parameters array to use for query in parallel a table
|
public NumericBetweenParametersProvider(long fetchSize,
long min,
long max)
public Serializable[][] getParameterValues()
ParameterValuesProvidergetParameterValues in interface ParameterValuesProviderCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.