public static class ExternalSorter.Options
extends java.lang.Object
implements java.io.Serializable
ExternalSorter.Options
contains configuration of the sorter.Modifier and Type | Class and Description |
---|---|
static class |
ExternalSorter.Options.SorterType
Sorter type.
|
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
int |
getMemoryMB()
Returns the configured size of the memory buffer.
|
ExternalSorter.Options.SorterType |
getSorterType()
Returns the sorter type.
|
java.lang.String |
getTempLocation()
Returns the configured temporary location.
|
ExternalSorter.Options |
setMemoryMB(int memoryMB)
Sets the size of the memory buffer in megabytes.
|
ExternalSorter.Options |
setSorterType(ExternalSorter.Options.SorterType sorterType)
Sets the sorter type.
|
ExternalSorter.Options |
setTempLocation(java.lang.String tempLocation)
Sets the path to a temporary location where the sorter writes intermediate files.
|
public ExternalSorter.Options setTempLocation(java.lang.String tempLocation)
public java.lang.String getTempLocation()
public ExternalSorter.Options setMemoryMB(int memoryMB)
public int getMemoryMB()
public ExternalSorter.Options setSorterType(ExternalSorter.Options.SorterType sorterType)
public ExternalSorter.Options.SorterType getSorterType()