net.sf.letsparty.cfg
Class TableNameConstructor

java.lang.Object
  extended bynet.sf.letsparty.cfg.TableNameConstructor
All Implemented Interfaces:
Permutable

public class TableNameConstructor
extends java.lang.Object
implements Permutable

Helper class to construct table names with multiple suffixes


Field Summary
private  java.util.List[] cols
           
private  int[] indexes
           
private  PartitionedTable partitionedTable
           
private  java.util.List partitionedTablesList
           
private  java.lang.String[] suffixes
           
 
Constructor Summary
TableNameConstructor(PartitionedTable partitionedTable, PartitionedTableSuffixList partitionedTableSuffixList)
           
 
Method Summary
 int[] getIndexes()
           
 java.util.List getPartitionedTablesList()
           
 void onPermutation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

partitionedTable

private PartitionedTable partitionedTable

indexes

private int[] indexes

cols

private java.util.List[] cols

partitionedTablesList

private java.util.List partitionedTablesList

suffixes

private java.lang.String[] suffixes
Constructor Detail

TableNameConstructor

public TableNameConstructor(PartitionedTable partitionedTable,
                            PartitionedTableSuffixList partitionedTableSuffixList)
Method Detail

onPermutation

public void onPermutation()
                   throws LetsPartyException
Specified by:
onPermutation in interface Permutable
Throws:
LetsPartyException

getIndexes

public int[] getIndexes()
Specified by:
getIndexes in interface Permutable

getPartitionedTablesList

public java.util.List getPartitionedTablesList()