Package io.nosqlbench.virtdata.library.basics.shared.from_long.to_long
package io.nosqlbench.virtdata.library.basics.shared.from_long.to_long
-
ClassesClassDescriptionClamp the output values to be at least the minimum value and at most the maximum value.Divide the operand by a fixed value and return the result.Integer devide the cycle, the other side of modulo.Yield one of the specified values, rotating through them as the input value increases.This uses the Murmur3F (64-bit optimized) version of Murmur3, not as a checksum, but as a simple hash.This uses the Murmur3F (64-bit optimized) version of Murmur3, not as a checksum, but as a simple hash.Return a value within a range, pseudo-randomly, using interval semantics, where the range of values return does not include the last value.The various HashRange functions take an input long, hash it to a random long value, and then use to interpolate a fractional value between the minimum and maximum values.Return a pseudo-random value which can only be as large as the input times a scale factor, with a default scale factor of 1.0dProvides a stable hash that is seeded by all the interface naming data on a given host.Simply returns the input value.Combine multiple LongUnaryOperators into a single function.Return the maximum of either the input value or the specified max.Return the minimum of either the input value or the specified minimum.Return the result of modulo division by the specified divisor.Return a long value as the result of modulo division with the specified divisor.Return the result of multiplying the specified value with the input.Yield a long value which is the result of hashing and modulo division with the specified divisor.Split the value range of Java longs into a number of offsets, starting with Long.MIN_VALUE.SequenceOf bindings allow you to specify an order and count of a set of values which will then be repeated in that order.This function provides a low-overhead shuffling effect without loading elements into memory.This uses the Murmur3F (64-bit optimized) version of Murmur3, not as a checksum, but as a simple hash.Computes the distance between the current input value and the beginning of the phase, according to a phase length.Compute a value which increases monotonically with respect to the cycle value.Provides a long value from a list of weighted values.