Uses of Interface
com.activeviam.tech.partitioning.api.function.IntIntFunction
Packages that use IntIntFunction
Package
Description
-
Uses of IntIntFunction in com.activeviam.tech.partitioning.api.function
Methods in com.activeviam.tech.partitioning.api.function that return IntIntFunctionModifier and TypeMethodDescriptionIPartitioningFunctionDescription.toFunction()
Creates thefunction
corresponding to this description.Methods in com.activeviam.tech.partitioning.api.function with parameters of type IntIntFunctionModifier and TypeMethodDescriptionint
IntIntFunction.compute
(IntIntFunction other, int otherOutput) Finds thevalue
of this function when the value of theother
is given.boolean
IntIntFunction.isFunctionOf
(IntIntFunction other) Tells whether this function is a function-of theother
, which means the value ofthis
, can be found if one knows the value ofother
. -
Uses of IntIntFunction in com.activeviam.tech.partitioning.api.function.impl
Methods in com.activeviam.tech.partitioning.api.function.impl that return IntIntFunctionModifier and TypeMethodDescriptionConstantFunctionDescription.toFunction()
IdentityFunctionDescription.toFunction()
ModuloFunctionDescription.toFunction()
-
Uses of IntIntFunction in com.activeviam.tech.partitioning.internal.impl
Classes in com.activeviam.tech.partitioning.internal.impl that implement IntIntFunctionModifier and TypeClassDescriptionstatic class
The function that transformsx
to0
(it plays the role as a partitioning function of a Constant partitioning).static class
The function that transformsx
tox
.static class
Function that transformsx
tox % modulo
.static class
Faster version ofPartitioningUtil.ModuloFunction
when the modulo is a power of two.Methods in com.activeviam.tech.partitioning.internal.impl that return IntIntFunctionModifier and TypeMethodDescriptionstatic IntIntFunction
PartitioningUtil.createModuloFunction
(int modulo) APartitioningNode.getDefaultPartitioningFunctions()
Returns the partitioning functions used in the default partitioning rule of this node.PartitioningNodeWithMultiFieldsModulo.getDefaultPartitioningFunctions()
Returns the partitioning functions used in the default partitioning rule of this node.APartitioningWithMultipleStandalonePartitionings.getPartitioningFunctions()
Returns the partitioning functions.HierarchicalPartitioning.getPartitioningFunctions
(int partitionId) Retrieves the partitioning functions that have been used to decide a record should be in the givenpartitionId
.MultipleFieldsModuloPartitioning.getPartitioningFunctions()
Retrieves the partitioning functions of this partitioning.Methods in com.activeviam.tech.partitioning.internal.impl with parameters of type IntIntFunctionModifier and TypeMethodDescriptionboolean
APartitioningWithCartesianAsSubPartitioning.canImplyCartesianPartitioning
(int[] otherFields, IntIntFunction[] otherFunctions, gnu.trove.map.TIntIntMap fieldMapping) Check if this partitioning implies the otherCartesian partitioning
defined byotherFields
andotherFunctions
.boolean
APartitioningWithCartesianAsSubPartitioning.canImplySinglePartitioning
(int otherField, IntIntFunction otherFunction, gnu.trove.map.TIntIntMap fieldMapping) Check if this partitioning can imply the otherSingle partitioning
with the given field and partitioning function.int
PartitioningUtil.ConstantFunction.compute
(IntIntFunction other, int otherOutput) int
PartitioningUtil.IdentityFunction.compute
(IntIntFunction other, int otherOutput) int
PartitioningUtil.ModuloFunction.compute
(IntIntFunction other, int otherOutput) static <T> T
PartitioningUtil.createCartesianPartition
(int[] fields, IntIntFunction[] functions, BiFunction<int[], IntIntFunction[], T> constructor) Creates a cartesian partitioning from the given fields and functions using a given constructor.boolean
APartitioningNode.implies
(int[] otherFields, IntIntFunction[] otherFunctions, gnu.trove.map.TIntIntMap fieldMapping, gnu.trove.set.TIntSet seenOtherFields) Recursively check if this partitioning node implies another partitioning defined byotherFields
andotherFunctions
.boolean
PartitioningUtil.ConstantFunction.isFunctionOf
(IntIntFunction other) boolean
PartitioningUtil.IdentityFunction.isFunctionOf
(IntIntFunction other) boolean
PartitioningUtil.ModuloFunction.isFunctionOf
(IntIntFunction other) static void
PartitioningUtil.sortFieldsAndFunctions
(int[] fields, IntIntFunction[] functions, int from, int to) Sorts a list of fields by ascending order and creates a sorted array ofIntIntFunction
keeping the functions aligned with the sorted fields.Constructors in com.activeviam.tech.partitioning.internal.impl with parameters of type IntIntFunctionModifierConstructorDescriptionCartesianProductPartitioning
(int[] fields, IntIntFunction[] functions) Constructor.CartesianSubPartitioning
(int[] fields, IntIntFunction[] functions) Constructor.MultipleFieldsModuloFunction
(int[] fields, IntIntFunction moduloFunc) Constructor.PartitioningNode
(int[] fields, IntIntFunction[] functions, gnu.trove.map.TIntObjectMap<APartitioningNode> children, IDictionary<Object> dict) Constructor.PartitioningNode
(int field, IntIntFunction function, gnu.trove.map.TIntObjectMap<APartitioningNode> children, IDictionary<Object> dict) Constructor.PartitioningNodeWithMultiFieldsModulo
(int[] fields, IntIntFunction[] functions, MultipleFieldsModuloPartitioning.MultipleFieldsModuloFunction multipleFieldsModuloFunction, gnu.trove.map.TIntObjectMap<APartitioningNode> children, IDictionary<Object> dict, boolean hasDecisionField) Constructor. -
Uses of IntIntFunction in com.activeviam.tech.partitioning.internal.visitor
Methods in com.activeviam.tech.partitioning.internal.visitor that return IntIntFunctionModifier and TypeMethodDescriptionSinglePartitioning.getPartitioningFunction()
Returns the partitioning function.Constructors in com.activeviam.tech.partitioning.internal.visitor with parameters of type IntIntFunctionModifierConstructorDescriptionSinglePartitioning
(int field, IntIntFunction partitioner) Full constructor.