Class SpillConfig
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.data.SpillConfig
-
public class SpillConfig extends Object
Used to configure Spill functionality.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpillConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionKey
getEncryptionKey()
Gets the Encryption key to use when reading/writing data to the spill location.long
getMaxBlockBytes()
Gets max number of bytes a spilled Block can contain.long
getMaxInlineBlockSize()
Gets max number of bytes an inline Block can contain.int
getNumSpillThreads()
Gets the number of threads the BlockSpiller can use.String
getRequestId()
Gets the request Id, typically the Athena query ID.SpillLocation
getSpillLocation()
Gets the SpillLocation, if spill is enabled.static SpillConfig.Builder
newBuilder()
static SpillConfig.Builder
newBuilder(SpillConfig copy)
-
-
-
Method Detail
-
getEncryptionKey
public EncryptionKey getEncryptionKey()
Gets the Encryption key to use when reading/writing data to the spill location.- Returns:
- The EncryptionKey.
-
getSpillLocation
public SpillLocation getSpillLocation()
Gets the SpillLocation, if spill is enabled.- Returns:
- The SpillLocation
-
getRequestId
public String getRequestId()
Gets the request Id, typically the Athena query ID.- Returns:
- The request id.
-
getMaxBlockBytes
public long getMaxBlockBytes()
Gets max number of bytes a spilled Block can contain.- Returns:
- The number of bytes.
-
getMaxInlineBlockSize
public long getMaxInlineBlockSize()
Gets max number of bytes an inline Block can contain.- Returns:
- The number of bytes.
-
getNumSpillThreads
public int getNumSpillThreads()
Gets the number of threads the BlockSpiller can use.- Returns:
- The number of threads.
-
newBuilder
public static SpillConfig.Builder newBuilder()
-
newBuilder
public static SpillConfig.Builder newBuilder(SpillConfig copy)
-
-