- java.lang.Object
-
- com.pervasive.datarush.graphs.EngineConfig.Sort
-
- Enclosing class:
- EngineConfig
public static final class EngineConfig.Sort extends Object
Settings in this object determine default tuning for theSort
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.
-
-
Field Summary
Fields Modifier and Type Field Description static EngineProperty<Long>
IO_BUFFER
Property specifying the default value forioBufferSize
.static EngineProperty<Integer>
MAX_MERGE
Property specifying the default value formaxMerge
.static EngineProperty<Long>
SORT_BUFFER
Property specifying the default value forsortBufferSize
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getIOBufferSize()
Returns the default value forioBufferSize
.int
getMaxMerge()
Returns the default value formaxMerge
.long
getSortBufferSize()
Returns the default value forsortBufferSize
.EngineConfig
ioBuffer(String sizeSpecifier)
Sets the default value forioBufferSize
.EngineConfig
ioBufferSize(long size)
Sets the default value forioBufferSize
.EngineConfig
maxMerge(int maxMerge)
Sets the default value formaxMerge
.EngineConfig
sortBuffer(String sizeSpecifier)
Sets the default value forsortBufferSize
.EngineConfig
sortBufferSize(long size)
Sets the default value forsortBufferSize
.
-
-
-
Field Detail
-
MAX_MERGE
public static final EngineProperty<Integer> MAX_MERGE
Property specifying the default value formaxMerge
.
-
SORT_BUFFER
public static final EngineProperty<Long> SORT_BUFFER
Property specifying the default value forsortBufferSize
.
-
IO_BUFFER
public static final EngineProperty<Long> IO_BUFFER
Property specifying the default value forioBufferSize
.
-
-
Method Detail
-
getMaxMerge
public int getMaxMerge()
Returns the default value formaxMerge
.- Returns:
- the default value for
maxMerge
.
-
maxMerge
public EngineConfig maxMerge(int maxMerge)
Sets the default value formaxMerge
.- Parameters:
maxMerge
- the default value formaxMerge
.- Returns:
- a new
EngineConfig
with the settings modified
-
getSortBufferSize
public long getSortBufferSize()
Returns the default value forsortBufferSize
.- Returns:
- the default value for
sortBufferSize
.
-
sortBuffer
public EngineConfig sortBuffer(String sizeSpecifier)
Sets the default value forsortBufferSize
.- Parameters:
sizeSpecifier
- the default value forsortBufferSize
.- Returns:
- a new
EngineConfig
with the settings modified
-
sortBufferSize
public EngineConfig sortBufferSize(long size)
Sets the default value forsortBufferSize
.- Parameters:
size
- the default value forsortBufferSize
.- Returns:
- a new
EngineConfig
with the settings modified
-
getIOBufferSize
public long getIOBufferSize()
Returns the default value forioBufferSize
.- Returns:
- the default value for
ioBufferSize
.
-
ioBuffer
public EngineConfig ioBuffer(String sizeSpecifier)
Sets the default value forioBufferSize
.- Parameters:
sizeSpecifier
- the default value forioBufferSize
.- Returns:
- a new
EngineConfig
with the settings modified
-
ioBufferSize
public EngineConfig ioBufferSize(long size)
Sets the default value forioBufferSize
.- Parameters:
size
- the default value forioBufferSize
.- Returns:
- a new
EngineConfig
with the settings modified
-
-