Class ImmutableFloatNode

java.lang.Object
org.apache.druid.collections.spatial.ImmutableFloatNode
All Implemented Interfaces:
ImmutableNode<float[]>
Direct Known Subclasses:
ImmutableFloatPoint

public class ImmutableFloatNode extends Object implements ImmutableNode<float[]>
Byte layout: Header 0 to 1 : the MSB is a boolean flag for isLeaf, the next 15 bits represent the number of children of a node Body 2 to 2 + numDims * Float.BYTES : minCoordinates 2 + numDims * Float.BYTES to 2 + 2 * numDims * Float.BYTES : maxCoordinates concise set rest (children) : Every 4 bytes is storing an offset representing the position of a child. The child offset is an offset from the initialOffset