|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.letsparty.cfg.BasicPartitionedTable
A PartitionedTable that uses its columns to find
the right list of partitions for a certain condition
| Field Summary | |
protected java.lang.String |
name
|
protected java.util.List |
partitionedColumns
|
protected java.lang.String |
separator
|
| Constructor Summary | |
BasicPartitionedTable()
|
|
| Method Summary | |
void |
addPartitionedColumn(PartitionedColumn partitionedColumn)
Called by the configuration builder |
void |
fillPartitionedTableListNullSuffixes(PartitionedTableSuffixList partitionedTableSuffixList)
Fill the column null suffixes with all the partitions of the column (for each null column suffix). |
java.lang.String |
getName()
|
PartitionedColumn |
getPartitionedColumn(java.lang.String name)
|
int |
getPartitionedColumnIndex(PartitionedColumn partitionedColumn)
|
java.util.List |
getPartitionedColumns()
Returns the list of all the partitioned columns of this table. |
java.lang.String |
getPartitionedTableNameFromSuffixes(java.lang.String[] suffixes)
Constructs a table name given a list of column suffixes. |
java.util.List |
getPartitionedTables(PartitionedTableSuffixList partitionedTableSuffixList)
A list of table names built using partitionedTableSuffixList |
PartitionedTableSuffixList |
getPartitionedTableSuffixList()
Returns a PartitionedTableSuffixList with all the partitions of all the columns. |
void |
setName(java.lang.String name)
Called by the configuration builder |
void |
setPartitionedColumns(java.util.List list)
|
void |
setSeparator(java.lang.String separator)
Called by the configuration builder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List partitionedColumns
protected java.lang.String name
protected java.lang.String separator
| Constructor Detail |
public BasicPartitionedTable()
| Method Detail |
public void addPartitionedColumn(PartitionedColumn partitionedColumn)
PartitionedTable
addPartitionedColumn in interface PartitionedTablepartitionedColumn - public PartitionedTableSuffixList getPartitionedTableSuffixList()
PartitionedTablePartitionedTableSuffixList with all the partitions of all the columns.
getPartitionedTableSuffixList in interface PartitionedTablePartitionedTableSuffixList with all the partitions of all the columns.public void fillPartitionedTableListNullSuffixes(PartitionedTableSuffixList partitionedTableSuffixList)
PartitionedTable
fillPartitionedTableListNullSuffixes in interface PartitionedTablepublic PartitionedColumn getPartitionedColumn(java.lang.String name)
getPartitionedColumn in interface PartitionedTablename -
PartitionedColumn named namepublic java.lang.String getName()
getName in interface PartitionedTablepublic java.util.List getPartitionedColumns()
PartitionedTable
getPartitionedColumns in interface PartitionedTablepublic void setName(java.lang.String name)
PartitionedTable
setName in interface PartitionedTablename - public void setPartitionedColumns(java.util.List list)
public void setSeparator(java.lang.String separator)
PartitionedTable
setSeparator in interface PartitionedTableseparator -
public java.util.List getPartitionedTables(PartitionedTableSuffixList partitionedTableSuffixList)
throws LetsPartyException
PartitionedTablepartitionedTableSuffixList
getPartitionedTables in interface PartitionedTablepartitionedTableSuffixList -
LetsPartyExceptionpublic java.lang.String getPartitionedTableNameFromSuffixes(java.lang.String[] suffixes)
PartitionedTable
getPartitionedTableNameFromSuffixes in interface PartitionedTablesuffixes -
public int getPartitionedColumnIndex(PartitionedColumn partitionedColumn)
getPartitionedColumnIndex in interface PartitionedTablepartitionedColumn in this table
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||