|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Partition
The Partition interface allows for custom partitioning mechanisms to be created with the BasePartitionTap
sub-classes.
"2012/09/01"
, which would contain log files for that day.
Method Summary | |
---|---|
Fields |
getPartitionFields()
The Fields used to populate the partition. |
int |
getPathDepth()
Returns the directory search depth of the partition. |
String |
toPartition(TupleEntry tupleEntry)
Converts the given tupleEntry into a partition string. |
void |
toTuple(String partition,
TupleEntry tupleEntry)
Converts the given partition String to a TupleEntry using the given TupleEntry instance for re-use. |
Method Detail |
---|
int getPathDepth()
"2012/09/01"
would have a depth of 3.
Fields getPartitionFields()
Fields
used to populate the partition.
void toTuple(String partition, TupleEntry tupleEntry)
TupleEntry
using the given TupleEntry instance for re-use.
partition
- a StringtupleEntry
- a TupleEntryString toPartition(TupleEntry tupleEntry)
tupleEntry
- a TupleEntry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |