public class CQSimpleTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.gemstone.gemfire.cache.Region |
aRegion |
protected boolean |
isBridgeClient |
protected boolean |
isBridgeConfiguration |
protected static String |
KnownErrorsKey |
protected com.gemstone.gemfire.cache.query.QueryService |
qService |
protected static CQSimpleTest |
testInstance |
protected static String |
UnknownErrorsKey |
protected static String |
VmIDStr |
| Constructor and Description |
|---|
CQSimpleTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
HydraTask_checkForErrors()
Hydra task to check for any errors put in the blackboard.
|
static void |
HydraTask_initializeBridgeServer()
Creates and initializes a data store PR in a bridge server.
|
static void |
HydraTask_initializeClient()
Creates and initializes the singleton instance of CQTest in a client.
|
static void |
HydraTask_testDistinctQuery() |
static void |
HydraTask_testMinMaxBytes()
Hydra task for test min/max values of byte/Bytes.
|
static void |
HydraTask_testMinMaxCharacters()
Hydra task for test min/max values of char/Character
|
static void |
HydraTask_testMinMaxDoubles()
Hydra task for test min/max values of double/Doubles
ref.
|
static void |
HydraTask_testMinMaxFloats()
Hydra task for test min/max values of float/Floats
\ * ref.
|
static void |
HydraTask_testMinMaxIntegers()
Hydra task for test min/max values of int/Integers.
|
static void |
HydraTask_testMinMaxLongs()
Hydra task for test min/max values of long/Longs.
|
static void |
HydraTask_testMinMaxShorts()
Hydra task for test min/max values of short/Shorts.
|
static void |
HydraTask_testMinMaxStrings()
Hydra task for test min/max values of Strings
|
protected void |
initializeInstance()
Initialize instance fields of this test class
|
protected void |
initializeQueryService() |
protected void |
initializeRegion(String regDescriptName)
Create a region with the given region description name.
|
protected void |
testDistinctQuery() |
protected void |
testQuery(String fieldName,
String comparator,
String suffix,
Object[] valuesToPut,
Object[] valuesToQueryWith,
int[] resultSizes)
Run a series of queries on min/max points.
|
protected static CQSimpleTest testInstance
protected static final String VmIDStr
protected boolean isBridgeConfiguration
protected boolean isBridgeClient
protected com.gemstone.gemfire.cache.query.QueryService qService
protected com.gemstone.gemfire.cache.Region aRegion
protected static String KnownErrorsKey
protected static String UnknownErrorsKey
public static void HydraTask_initializeClient()
public static void HydraTask_initializeBridgeServer()
protected void initializeRegion(String regDescriptName)
regDescriptName - The name of a region description.protected void initializeQueryService()
protected void initializeInstance()
public static void HydraTask_testMinMaxLongs()
public static void HydraTask_testMinMaxIntegers()
public static void HydraTask_testMinMaxShorts()
public static void HydraTask_testMinMaxBytes()
public static void HydraTask_testMinMaxFloats()
public static void HydraTask_testMinMaxDoubles()
public static void HydraTask_testMinMaxCharacters()
public static void HydraTask_testMinMaxStrings()
public static void HydraTask_checkForErrors()
public static void HydraTask_testDistinctQuery()
protected void testDistinctQuery()
protected void testQuery(String fieldName, String comparator, String suffix, Object[] valuesToPut, Object[] valuesToQueryWith, int[] resultSizes)
fieldName - The name of the field to query.comparator - The compare operator ("<", etc)suffix - A suffix for query values, such as "L" for longs as
in "select * from /testRegion where aLong > 45L", or ""
if no suffix.valuesToPut - The values to put in the region before the queries
are executed.valuesToQueryWith - The values to query against.resultsSizes - Parallel to valuesToQueryWith, this the the expected
size of the results for querying against the corresponding
valuesToQueryWith value using the comparator argument.
Any errors are stored in the blackboard with KnownErrorsKey and
UnknownErrorsKey.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.