proper.relaggs
Class RelaggsConfig

java.lang.Object
  extended by proper.relaggs.RelaggsConfig

public class RelaggsConfig
extends java.lang.Object

Title: RelaggsConfig Description: Reads the application properties out of a config file and stores them.

Version:
$Revision: 1.1 $
Author:
Susanne Streuer, FracPete

Field Summary
static java.lang.String dbdatabase
          the initial database (can be empty)
static java.lang.String dbdriver
          database driver.
static java.lang.String dbhost
          Password for the database access.
static java.lang.String dblimit
           
static java.lang.String dblimit_rows
          the statement that limits the result to a certain amount of rows
static java.lang.String dbpassword
          Password for the database access.
static java.lang.String dbport
          Password for the database access.
static java.lang.String dbsubprotocol
          User name for the database access.
static boolean dbuseforeignkeys
          whether to utilize the foreign key relations from the metadata
static java.lang.String dbuser
          User name for the database access.
static int max_aggr_values
          The maximum number of distinct values for a string or date attribute to be splitted in columns during aggregation.
static int max_groups
          The maximum number of distinct values for a string or date attribute to be used for a group by operation during aggregation.
static int min_avg_group_size
          The mimimum value for the average number of records that are aggregated on a group by operation.
static double min_fill_percentage
          The minimum percentage of records that must have an attribute value not equal to NULL for a group by operation.
static java.util.Properties properties
           
static java.lang.String relaggs_name
          The name of the created RELAGGS table.
static java.lang.String relaggs_tmpprefix
          The prefix of the name of the temporary RELAGGS tables.
 
Constructor Summary
RelaggsConfig()
           
 
Method Summary
static void getValues()
          reads all the values from the properties object and sets the static variables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

public static java.util.Properties properties

dbdriver

public static java.lang.String dbdriver
database driver.


dbsubprotocol

public static java.lang.String dbsubprotocol
User name for the database access.


dblimit_rows

public static java.lang.String dblimit_rows
the statement that limits the result to a certain amount of rows


dblimit

public static java.lang.String dblimit

dbdatabase

public static java.lang.String dbdatabase
the initial database (can be empty)


dbuseforeignkeys

public static boolean dbuseforeignkeys
whether to utilize the foreign key relations from the metadata


dbuser

public static java.lang.String dbuser
User name for the database access.


dbpassword

public static java.lang.String dbpassword
Password for the database access.


dbhost

public static java.lang.String dbhost
Password for the database access.


dbport

public static java.lang.String dbport
Password for the database access.


relaggs_name

public static java.lang.String relaggs_name
The name of the created RELAGGS table.


relaggs_tmpprefix

public static java.lang.String relaggs_tmpprefix
The prefix of the name of the temporary RELAGGS tables.


max_aggr_values

public static int max_aggr_values
The maximum number of distinct values for a string or date attribute to be splitted in columns during aggregation.


max_groups

public static int max_groups
The maximum number of distinct values for a string or date attribute to be used for a group by operation during aggregation. Must be less or equal than max_aggr_values.


min_avg_group_size

public static int min_avg_group_size
The mimimum value for the average number of records that are aggregated on a group by operation.


min_fill_percentage

public static double min_fill_percentage
The minimum percentage of records that must have an attribute value not equal to NULL for a group by operation.

Constructor Detail

RelaggsConfig

public RelaggsConfig()
Method Detail

getValues

public static void getValues()
reads all the values from the properties object and sets the static variables