Class BoundsChecking

java.lang.Object
org.apache.arrow.memory.BoundsChecking

public class BoundsChecking extends Object
Configuration class to determine if bounds checking should be turned on or off.

Bounds checking is on by default. You can disable it by setting either the system property or the environmental variable to "true". The system property can be "arrow.enable_unsafe_memory_access" or "drill.enable_unsafe_memory_access". The latter is deprecated. The environmental variable is named "ARROW_ENABLE_UNSAFE_MEMORY_ACCESS". When both the system property and the environmental variable are set, the system property takes precedence.

  • Field Details

    • BOUNDS_CHECKING_ENABLED

      public static final boolean BOUNDS_CHECKING_ENABLED