java.lang.Object
com.pervasive.datarush.graphs.EngineConfig.Sort
- Enclosing class:
- EngineConfig
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.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EngineProperty<Long>Property specifying the default value forioBufferSize.static final EngineProperty<Integer>Property specifying the default value formaxMerge.static final EngineProperty<Long>Property specifying the default value forsortBufferSize. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the default value forioBufferSize.intReturns the default value formaxMerge.longReturns the default value forsortBufferSize.Sets the default value forioBufferSize.ioBufferSize(long size) Sets the default value forioBufferSize.maxMerge(int maxMerge) Sets the default value formaxMerge.sortBuffer(String sizeSpecifier) Sets the default value forsortBufferSize.sortBufferSize(long size) Sets the default value forsortBufferSize.
-
Field Details
-
MAX_MERGE
Property specifying the default value formaxMerge. -
SORT_BUFFER
Property specifying the default value forsortBufferSize. -
IO_BUFFER
Property specifying the default value forioBufferSize.
-
-
Method Details
-
getMaxMerge
public int getMaxMerge()Returns the default value formaxMerge.- Returns:
- the default value for
maxMerge.
-
maxMerge
Sets the default value formaxMerge.- Parameters:
maxMerge- the default value formaxMerge.- Returns:
- a new
EngineConfigwith the settings modified
-
getSortBufferSize
public long getSortBufferSize()Returns the default value forsortBufferSize.- Returns:
- the default value for
sortBufferSize.
-
sortBuffer
Sets the default value forsortBufferSize.- Parameters:
sizeSpecifier- the default value forsortBufferSize.- Returns:
- a new
EngineConfigwith the settings modified
-
sortBufferSize
Sets the default value forsortBufferSize.- Parameters:
size- the default value forsortBufferSize.- Returns:
- a new
EngineConfigwith the settings modified
-
getIOBufferSize
public long getIOBufferSize()Returns the default value forioBufferSize.- Returns:
- the default value for
ioBufferSize.
-
ioBuffer
Sets the default value forioBufferSize.- Parameters:
sizeSpecifier- the default value forioBufferSize.- Returns:
- a new
EngineConfigwith the settings modified
-
ioBufferSize
Sets the default value forioBufferSize.- Parameters:
size- the default value forioBufferSize.- Returns:
- a new
EngineConfigwith the settings modified
-