Package cern.nxcals.api.domain
Class TimeEntityPartitionType
java.lang.Object
cern.nxcals.api.domain.TimeEntityPartitionType
Specific implementation of the partitioning using time partitions and entity buckets.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanstatic doublechangePercentage(TimeEntityPartitionType oldValue, TimeEntityPartitionType newValue) booleanstatic TimeEntityPartitionTypeintintinthashCode()static TimeEntityPartitionTypenext(TimeEntityPartitionType input, int increment) static TimeEntityPartitionTypeof(int timePartitions, int entityBuckets) static TimeEntityPartitionTypeofGbFiles(long targetNbOf1GBFiles) intslots()toString()
-
Method Details
-
ofGbFiles
-
next
-
of
-
from
-
slots
public int slots() -
toString
-
changePercentage
public static double changePercentage(TimeEntityPartitionType oldValue, TimeEntityPartitionType newValue) -
builder
-
getTimePartitionCount
public int getTimePartitionCount() -
getEntityBucketCount
public int getEntityBucketCount() -
equals
-
canEqual
-
hashCode
public int hashCode()
-