public abstract class AbstractPartitionsSpec extends Object implements PartitionsSpec
Constructor and Description |
---|
AbstractPartitionsSpec(Long targetPartitionSize,
Long maxPartitionSize,
Boolean assumeGrouped,
Integer numShards) |
Modifier and Type | Method and Description |
---|---|
long |
getMaxPartitionSize() |
int |
getNumShards() |
long |
getTargetPartitionSize() |
boolean |
isAssumeGrouped() |
boolean |
isDeterminingPartitions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPartitionJob
public long getTargetPartitionSize()
getTargetPartitionSize
in interface PartitionsSpec
public long getMaxPartitionSize()
getMaxPartitionSize
in interface PartitionsSpec
public boolean isAssumeGrouped()
isAssumeGrouped
in interface PartitionsSpec
public boolean isDeterminingPartitions()
isDeterminingPartitions
in interface PartitionsSpec
public int getNumShards()
getNumShards
in interface PartitionsSpec
Copyright © 2011–2015. All rights reserved.