Class EngineConfig.Sort

  • Enclosing class:
    EngineConfig

    public static final class EngineConfig.Sort
    extends Object
    Settings in this object determine default tuning for the Sort operator. This applies to any sort operators, either those that are implicitly injected by the framework or those that are explicitly added to the graph. Note that these merely determine the default values; settings may be explicitly overridden by adding an explicit Sort operator.
    • Method Detail

      • getMaxMerge

        public int getMaxMerge()
        Returns the default value for maxMerge.
        Returns:
        the default value for maxMerge.
      • maxMerge

        public EngineConfig maxMerge​(int maxMerge)
        Sets the default value for maxMerge.
        Parameters:
        maxMerge - the default value for maxMerge.
        Returns:
        a new EngineConfig with the settings modified
      • getSortBufferSize

        public long getSortBufferSize()
        Returns the default value for sortBufferSize.
        Returns:
        the default value for sortBufferSize.
      • sortBuffer

        public EngineConfig sortBuffer​(String sizeSpecifier)
        Sets the default value for sortBufferSize.
        Parameters:
        sizeSpecifier - the default value for sortBufferSize.
        Returns:
        a new EngineConfig with the settings modified
      • sortBufferSize

        public EngineConfig sortBufferSize​(long size)
        Sets the default value for sortBufferSize.
        Parameters:
        size - the default value for sortBufferSize.
        Returns:
        a new EngineConfig with the settings modified
      • getIOBufferSize

        public long getIOBufferSize()
        Returns the default value for ioBufferSize.
        Returns:
        the default value for ioBufferSize.
      • ioBuffer

        public EngineConfig ioBuffer​(String sizeSpecifier)
        Sets the default value for ioBufferSize.
        Parameters:
        sizeSpecifier - the default value for ioBufferSize.
        Returns:
        a new EngineConfig with the settings modified
      • ioBufferSize

        public EngineConfig ioBufferSize​(long size)
        Sets the default value for ioBufferSize.
        Parameters:
        size - the default value for ioBufferSize.
        Returns:
        a new EngineConfig with the settings modified