public class BrokerPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static Long |
brokerDataPolicy
(String(s))
Type of query.
|
static Long |
brokerFields
(String(s))
Fields to return in result set.
|
static Long |
brokerRegionConfig
(String)
Name of broker region configuration from
RegionPrms.names. |
static String |
BROKERS_FROM_RANDOM_PERCENTAGE_RANGE_ON_TICKET_PRICE |
protected static int |
BROKERS_FROM_RANDOM_PERCENTAGE_RANGE_ON_TICKET_PRICE_QUERY |
static String |
BROKERS_FROM_RANDOM_RANGE_ON_TICKET_PRICE |
protected static int |
BROKERS_FROM_RANDOM_RANGE_ON_TICKET_PRICE_QUERY |
static String |
BROKERS_FROM_RANDOM_SIZE_RANGE_ON_TICKET_PRICE |
protected static int |
BROKERS_FROM_RANDOM_SIZE_RANGE_ON_TICKET_PRICE_QUERY |
static Long |
brokerTicketDataPolicy
(String(s))
Type of query.
|
static Long |
brokerTicketFields
(String(s))
Fields to return in result set.
|
static Long |
brokerTicketRegionConfig
(String)
Name of broker ticket region configuration from
#names. |
static Long |
deleteQueryType
(String(s))
Type of query.
|
static Long |
distinct
(boolean)
Whether to return distinct results.
|
static String |
EQUALITY_ON_BROKER_ID |
protected static int |
EQUALITY_ON_BROKER_ID_QUERY |
static Long |
indexTypes
(String(s))
A Vector of index types to create
|
static Long |
numBrokerNames
(int)
Number of unique broker names to create.
|
static Long |
numBrokers
(int)
Number of unique brokers to create.
|
static Long |
numTicketPrices
(int)
Number of unique ticket prices to create.
|
static Long |
numTicketsPerBroker
(int)
Number of tickets to create per broker.
|
protected static String |
PRIMARY_KEY_INDEX_ON_BROKER_ID |
protected static int |
PRIMARY_KEY_INDEX_ON_BROKER_ID_QUERY |
protected static String |
PRIMARY_KEY_INDEX_ON_BROKER_TICKET_ID |
protected static int |
PRIMARY_KEY_INDEX_ON_BROKER_TICKET_ID_QUERY |
static Long |
queryType
(String(s))
Type of query.
|
static String |
RANDOM_EQUALITY_ON_BROKER_ID |
protected static int |
RANDOM_EQUALITY_ON_BROKER_ID_QUERY |
static Long |
rangeMaxValue |
static Long |
rangeMinValue |
static Long |
resultSetPercentage
(int)
Desired size of each query result set.
|
static Long |
resultSetSize
(int)
Desired size of each query result set.
|
static String |
TICKETS_FROM_EQUALITY_ON_BROKER_ID |
protected static int |
TICKETS_FROM_EQUALITY_ON_BROKER_ID_QUERY |
static String |
TICKETS_FROM_RANDOM_RANGE_ON_TICKET_PRICE |
protected static int |
TICKETS_FROM_RANDOM_RANGE_ON_TICKET_PRICE_QUERY |
protected static String |
UNIQUE_INDEX_ON_BROKER_NAME |
protected static int |
UNIQUE_INDEX_ON_BROKER_NAME_QUERY |
protected static String |
UNIQUE_INDEX_ON_BROKER_TICKET_NAME |
protected static int |
UNIQUE_INDEX_ON_BROKER_TICKET_NAME_QUERY |
static Long |
updateQueryType
(String(s))
Type of query.
|
static Long |
useBestFit
(boolean)
Whether to use best fit in computing the result set.
|
| Constructor and Description |
|---|
BrokerPrms() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getBrokerDataPolicy() |
static String |
getBrokerFields() |
static String |
getBrokerRegionConfig() |
static int |
getBrokerTicketDataPolicy() |
static String |
getBrokerTicketFields() |
static String |
getBrokerTicketRegionConfig() |
static int |
getDeleteQueryType(int api) |
static boolean |
getDistinct() |
static String |
getFields() |
static int |
getIndexType(String val) |
static Vector |
getIndexTypes() |
static int |
getNumBrokerNames() |
static int |
getNumBrokers() |
static int |
getNumTicketPrices() |
static int |
getNumTicketsPerBroker() |
static int |
getQueryType(int api) |
static int |
getResultSetPercentage() |
static int |
getResultSetSize() |
static int |
getUpdateQueryType(int api) |
static void |
main(String[] args) |
static boolean |
useBestFit() |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static final String RANDOM_EQUALITY_ON_BROKER_ID
public static final String EQUALITY_ON_BROKER_ID
public static final String TICKETS_FROM_EQUALITY_ON_BROKER_ID
public static final String TICKETS_FROM_RANDOM_RANGE_ON_TICKET_PRICE
public static final String BROKERS_FROM_RANDOM_RANGE_ON_TICKET_PRICE
public static final String BROKERS_FROM_RANDOM_SIZE_RANGE_ON_TICKET_PRICE
public static final String BROKERS_FROM_RANDOM_PERCENTAGE_RANGE_ON_TICKET_PRICE
protected static final int RANDOM_EQUALITY_ON_BROKER_ID_QUERY
protected static final int EQUALITY_ON_BROKER_ID_QUERY
protected static final int TICKETS_FROM_EQUALITY_ON_BROKER_ID_QUERY
protected static final int TICKETS_FROM_RANDOM_RANGE_ON_TICKET_PRICE_QUERY
protected static final int BROKERS_FROM_RANDOM_RANGE_ON_TICKET_PRICE_QUERY
protected static final int BROKERS_FROM_RANDOM_SIZE_RANGE_ON_TICKET_PRICE_QUERY
protected static final int BROKERS_FROM_RANDOM_PERCENTAGE_RANGE_ON_TICKET_PRICE_QUERY
protected static final String PRIMARY_KEY_INDEX_ON_BROKER_ID
protected static final String UNIQUE_INDEX_ON_BROKER_NAME
protected static final String PRIMARY_KEY_INDEX_ON_BROKER_TICKET_ID
protected static final String UNIQUE_INDEX_ON_BROKER_TICKET_NAME
protected static final int PRIMARY_KEY_INDEX_ON_BROKER_ID_QUERY
protected static final int UNIQUE_INDEX_ON_BROKER_NAME_QUERY
protected static final int PRIMARY_KEY_INDEX_ON_BROKER_TICKET_ID_QUERY
protected static final int UNIQUE_INDEX_ON_BROKER_TICKET_NAME_QUERY
public static Long brokerDataPolicy
public static Long brokerTicketDataPolicy
public static Long indexTypes
public static Long queryType
public static Long updateQueryType
public static Long deleteQueryType
public static Long brokerFields
public static Long brokerTicketFields
public static Long distinct
public static Long useBestFit
public static Long brokerRegionConfig
RegionPrms.names.
The region name is Broker.REGION_TABLE_NAME.public static Long brokerTicketRegionConfig
#names. The region name is BrokerTicket.REGION_TABLE_NAME.public static Long numBrokers
public static Long numBrokerNames
numBrokers,
which makes every broker name unique.public static Long numTicketsPerBroker
public static Long numTicketPrices
numBrokers
* numTicketsPerBroker.public static Long resultSetSize
public static Long resultSetPercentage
public static Long rangeMinValue
public static Long rangeMaxValue
public static int getBrokerDataPolicy()
public static int getBrokerTicketDataPolicy()
public static Vector getIndexTypes()
public static int getIndexType(String val)
public static int getQueryType(int api)
public static int getUpdateQueryType(int api)
public static int getDeleteQueryType(int api)
public static String getBrokerFields()
public static String getBrokerTicketFields()
public static String getFields()
public static boolean getDistinct()
public static boolean useBestFit()
public static String getBrokerRegionConfig()
public static String getBrokerTicketRegionConfig()
public static int getNumBrokers()
public static int getNumBrokerNames()
public static int getNumTicketsPerBroker()
public static int getNumTicketPrices()
public static int getResultSetSize()
public static int getResultSetPercentage()
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.