net.sf.letsparty.cfg
Interface PartitionedColumn

All Known Implementing Classes:
BasicPartitionedColumn

public interface PartitionedColumn

Corresponds to a <column> element in the configuration.


Method Summary
 void addPartition(Partition partition)
           
 java.lang.String getIntervalsClassName()
           
 java.lang.String getName()
           
 PartitionedTable getPartitionedTable()
           
 java.util.List getSuffixList()
          Returns the list of all the suffixes
 java.util.List getSuffixListEqualsTo(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes equal to value
 java.util.List getSuffixListGreaterEqualsTo(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes greater or equal to value
 java.util.List getSuffixListGreaterThan(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes greater than value
 java.util.List getSuffixListLike(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes like value
 java.util.List getSuffixListMinorEqualsTo(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes minor or equal to value
 java.util.List getSuffixListMinorThan(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes minor than value
 java.util.List getSuffixListNotEqualsTo(Value value, JdbcParsHandler jdbcParsHandler)
          A list of suffixes not equal to value
 void setIntervalsClassName(java.lang.String intervalsClassName)
           
 void setPartitionedTable(PartitionedTable table)
           
 

Method Detail

getName

public java.lang.String getName()

getSuffixList

public java.util.List getSuffixList()
Returns the list of all the suffixes

Returns:
a list of suffixes of this column (as strings)

getSuffixListGreaterThan

public java.util.List getSuffixListGreaterThan(Value value,
                                               JdbcParsHandler jdbcParsHandler)
                                        throws LetsPartyException
A list of suffixes greater than value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes greater than value
Throws:
LetsPartyException

getSuffixListGreaterEqualsTo

public java.util.List getSuffixListGreaterEqualsTo(Value value,
                                                   JdbcParsHandler jdbcParsHandler)
                                            throws LetsPartyException
A list of suffixes greater or equal to value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes greater or equal to value
Throws:
LetsPartyException

getSuffixListMinorThan

public java.util.List getSuffixListMinorThan(Value value,
                                             JdbcParsHandler jdbcParsHandler)
                                      throws LetsPartyException
A list of suffixes minor than value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes minor than value
Throws:
LetsPartyException

getSuffixListMinorEqualsTo

public java.util.List getSuffixListMinorEqualsTo(Value value,
                                                 JdbcParsHandler jdbcParsHandler)
                                          throws LetsPartyException
A list of suffixes minor or equal to value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes minor or equal to value
Throws:
LetsPartyException

getSuffixListEqualsTo

public java.util.List getSuffixListEqualsTo(Value value,
                                            JdbcParsHandler jdbcParsHandler)
                                     throws LetsPartyException
A list of suffixes equal to value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes equal to value
Throws:
LetsPartyException

getSuffixListNotEqualsTo

public java.util.List getSuffixListNotEqualsTo(Value value,
                                               JdbcParsHandler jdbcParsHandler)
                                        throws LetsPartyException
A list of suffixes not equal to value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes not equal to value
Throws:
LetsPartyException

getSuffixListLike

public java.util.List getSuffixListLike(Value value,
                                        JdbcParsHandler jdbcParsHandler)
                                 throws LetsPartyException
A list of suffixes like value

Parameters:
value -
jdbcParsHandler -
Returns:
a list of suffixes like value
Throws:
LetsPartyException

getPartitionedTable

public PartitionedTable getPartitionedTable()
Returns:
the table to which this partition belongs

setPartitionedTable

public void setPartitionedTable(PartitionedTable table)

setIntervalsClassName

public void setIntervalsClassName(java.lang.String intervalsClassName)

getIntervalsClassName

public java.lang.String getIntervalsClassName()

addPartition

public void addPartition(Partition partition)