Examples of TierId


Examples of edu.brown.benchmark.tpce.generators.CustomerSelection.TierId

    }

    public long generateRandomCustomerAccountId(){
        long          customerID;
        long          customerAccountId;
        TierId        tierID;
        Object[] customer = new Object[2];

        customer = customerSelection.genRandomCustomer();      
        customerID = Long.parseLong(customer[0].toString());
        tierID = (TierId)customer[1];
View Full Code Here

Examples of edu.brown.benchmark.tpce.generators.CustomerSelection.TierId

    */
    public void generateCustomerPositionInput(TCustomerPositionTxnInput inputStructure){
        Object[] customer = new Object[2];
        customer = customerSelection.genRandomCustomer();
        long customerID = Long.parseLong(customer[0].toString());
        TierId tierID = (TierId)customer[1];
       
        if (rnd.rndPercent(driverCETxnSettings.CP_settings.cur_by_tax_id)){
         
          inputStructure.setTaxId( person.getTaxID(customerID));
            inputStructure.setCustId(0);
View Full Code Here

Examples of edu.brown.benchmark.tpce.generators.CustomerSelection.TierId

    *  RETURNS:
    *           none.
    */
    public void generateMarketWatchInput(TMarketWatchTxnInput inputStructure){
        long          customerID;
        TierId        tierID;
        int           threshold;
        int           week;
        int           dailyMarketDay;
        Object[] customer = new Object[2];
        Date date = EGenDate.getDateFromTime(TPCEConstants.dailyMarketBaseYear, TPCEConstants.dailyMarketBaseMonth,
View Full Code Here

Examples of edu.brown.benchmark.tpce.generators.CustomerSelection.TierId

    *  RETURNS:
    *           none.
    */
    public void generateTradeOrderInput(TTradeOrderTxnInput inputStructure, int iTradeType, boolean executorIsAccountOwner){
        long          customerID;
        TierId       tierID;
        boolean       bMarket;
        int           additionalPerms;
        int           secAcct;
        long          secFlatFileIndex;
        String[]      flTaxId;
View Full Code Here

Examples of edu.brown.benchmark.tpce.generators.CustomerSelection.TierId

    *  RETURNS:
    *           none.
    */
    public void generateTradeStatusInput(TTradeStatusTxnInput inputStructure){
        long          customerID;
        TierId       tierID;

        Object[] customer = new Object[2];
        customer = customerSelection.genRandomCustomer();
        customerID = Long.parseLong(customer[0].toString());
        tierID = (TierId)customer[1];
View Full Code Here

Examples of edu.brown.benchmark.tpce.generators.CustomerSelection.TierId

                startFromCustomer + driverGlobalSettings.cur_iActiveCustomerCount - 1);
    }

    private long generateRandomCustomerAccountId(){
        long iCustomerId;
        TierId iCustomerTier;
        Object[] customerId;
        customerId = customerSelection.genRandomCustomer();
        iCustomerId = Long.parseLong(customerId[0].toString());
        iCustomerTier = (TierId)customerId[0];
        return( account.genRandomAccId(rnd, iCustomerId, iCustomerTier)[0]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.