public class IndexTest extends Object
| Constructor and Description |
|---|
IndexTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createIndex(String regionName)
To create index for a region.
|
protected void |
createMktValueIndex(String regionName)
To create functional index on mktValue
|
protected void |
createNonExistPrimaryIndex(String regionName) |
protected void |
createPrimaryIndex(String regionName)
create primary index in the specified region
|
protected void |
createQtyIndex(String regionName)
To create functional index on qty.
|
protected void |
createSecIdIndex(String regionName) |
protected com.gemstone.gemfire.cache.query.QueryService |
getQueryService(String regionName)
method to get the QueryService
|
static void |
HydraTask_CreateIndex() |
protected static IndexTest indexTest
public static void HydraTask_CreateIndex()
protected void createIndex(String regionName)
regionName - - to determine the region in which index will be createdprotected void createNonExistPrimaryIndex(String regionName) throws com.gemstone.gemfire.cache.query.IndexExistsException, com.gemstone.gemfire.cache.query.IndexNameConflictException, com.gemstone.gemfire.cache.query.QueryException
com.gemstone.gemfire.cache.query.IndexExistsExceptioncom.gemstone.gemfire.cache.query.IndexNameConflictExceptioncom.gemstone.gemfire.cache.query.QueryExceptionprotected void createPrimaryIndex(String regionName)
regionName - -- to determine the region in which primaryIndex will be createdprotected void createSecIdIndex(String regionName) throws com.gemstone.gemfire.cache.query.IndexExistsException, com.gemstone.gemfire.cache.query.IndexNameConflictException, com.gemstone.gemfire.cache.query.QueryException
com.gemstone.gemfire.cache.query.IndexExistsExceptioncom.gemstone.gemfire.cache.query.IndexNameConflictExceptioncom.gemstone.gemfire.cache.query.QueryExceptionprotected void createQtyIndex(String regionName) throws com.gemstone.gemfire.cache.query.IndexExistsException, com.gemstone.gemfire.cache.query.IndexNameConflictException, com.gemstone.gemfire.cache.query.QueryException
regionName - - to determine the region in which index will be created.com.gemstone.gemfire.cache.query.IndexExistsExceptioncom.gemstone.gemfire.cache.query.IndexNameConflictExceptioncom.gemstone.gemfire.cache.query.QueryExceptionprotected void createMktValueIndex(String regionName) throws com.gemstone.gemfire.cache.query.IndexExistsException, com.gemstone.gemfire.cache.query.IndexNameConflictException, com.gemstone.gemfire.cache.query.QueryException
regionName - - to determine the region in which index will be created.com.gemstone.gemfire.cache.query.IndexExistsExceptioncom.gemstone.gemfire.cache.query.IndexNameConflictExceptioncom.gemstone.gemfire.cache.query.QueryExceptionprotected com.gemstone.gemfire.cache.query.QueryService getQueryService(String regionName)
regionName - - to determine the region in which index will be created is created correctly.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.