|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.letsparty.cfg.BasicPartitionedColumn
A PartitionedColumn
that uses its partitions to find
the right list of partitions based on a condition
Field Summary | |
private java.lang.String |
intervalsClassName
|
private java.lang.String |
name
|
private PartitionedTable |
partitionedTable
|
protected java.util.List |
partitions
|
Constructor Summary | |
BasicPartitionedColumn()
|
Method Summary | |
void |
addPartition(Partition partition)
|
java.lang.String |
getIntervalsClassName()
|
java.lang.String |
getName()
|
PartitionedTable |
getPartitionedTable()
|
java.util.List |
getPartitions()
|
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 |
protected java.util.List |
getSuffixListWithCondition(boolean greaterThan,
boolean equals,
boolean notEquals,
boolean minorThan,
Value value,
JdbcParsHandler jdbcParsHandler)
Returns a list of suffixes that match the given conditions |
void |
setIntervalsClassName(java.lang.String intervalsClassName)
|
void |
setName(java.lang.String string)
|
void |
setPartitionedTable(PartitionedTable table)
|
void |
setPartitions(java.util.List list)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private PartitionedTable partitionedTable
protected java.util.List partitions
private java.lang.String name
private java.lang.String intervalsClassName
Constructor Detail |
public BasicPartitionedColumn()
Method Detail |
protected java.util.List getSuffixListWithCondition(boolean greaterThan, boolean equals, boolean notEquals, boolean minorThan, Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
greaterThan
- equals
- notEquals
- minorThan
- value
- jdbcParsHandler
-
LetsPartyException
public java.util.List getSuffixListGreaterThan(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListGreaterThan
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixListEqualsTo(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListEqualsTo
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixListGreaterEqualsTo(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListGreaterEqualsTo
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixListLike(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListLike
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixListMinorEqualsTo(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListMinorEqualsTo
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixListMinorThan(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListMinorThan
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixListNotEqualsTo(Value value, JdbcParsHandler jdbcParsHandler) throws LetsPartyException
PartitionedColumn
value
getSuffixListNotEqualsTo
in interface PartitionedColumn
value
- jdbcParsHandler
-
value
LetsPartyException
public java.util.List getSuffixList()
PartitionedColumn
getSuffixList
in interface PartitionedColumn
public PartitionedTable getPartitionedTable()
getPartitionedTable
in interface PartitionedColumn
public void setPartitionedTable(PartitionedTable table)
setPartitionedTable
in interface PartitionedColumn
public void addPartition(Partition partition)
addPartition
in interface PartitionedColumn
public java.util.List getPartitions()
public void setPartitions(java.util.List list)
public java.lang.String getName()
getName
in interface PartitionedColumn
public void setName(java.lang.String string)
public java.lang.String getIntervalsClassName()
getIntervalsClassName
in interface PartitionedColumn
public void setIntervalsClassName(java.lang.String intervalsClassName)
setIntervalsClassName
in interface PartitionedColumn
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |