|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 PartitionedTable
partitionedColumn
- public PartitionedTableSuffixList getPartitionedTableSuffixList()
PartitionedTable
PartitionedTableSuffixList
with all the partitions of all the columns.
getPartitionedTableSuffixList
in interface PartitionedTable
PartitionedTableSuffixList
with all the partitions of all the columns.public void fillPartitionedTableListNullSuffixes(PartitionedTableSuffixList partitionedTableSuffixList)
PartitionedTable
fillPartitionedTableListNullSuffixes
in interface PartitionedTable
public PartitionedColumn getPartitionedColumn(java.lang.String name)
getPartitionedColumn
in interface PartitionedTable
name
-
PartitionedColumn
named name
public java.lang.String getName()
getName
in interface PartitionedTable
public java.util.List getPartitionedColumns()
PartitionedTable
getPartitionedColumns
in interface PartitionedTable
public void setName(java.lang.String name)
PartitionedTable
setName
in interface PartitionedTable
name
- public void setPartitionedColumns(java.util.List list)
public void setSeparator(java.lang.String separator)
PartitionedTable
setSeparator
in interface PartitionedTable
separator
- public java.util.List getPartitionedTables(PartitionedTableSuffixList partitionedTableSuffixList) throws LetsPartyException
PartitionedTable
partitionedTableSuffixList
getPartitionedTables
in interface PartitionedTable
partitionedTableSuffixList
-
LetsPartyException
public java.lang.String getPartitionedTableNameFromSuffixes(java.lang.String[] suffixes)
PartitionedTable
getPartitionedTableNameFromSuffixes
in interface PartitionedTable
suffixes
-
public int getPartitionedColumnIndex(PartitionedColumn partitionedColumn)
getPartitionedColumnIndex
in interface PartitionedTable
partitionedColumn
in this table
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |