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 classSpillConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionKeygetEncryptionKey()Gets the Encryption key to use when reading/writing data to the spill location.longgetMaxBlockBytes()Gets max number of bytes a spilled Block can contain.longgetMaxInlineBlockSize()Gets max number of bytes an inline Block can contain.intgetNumSpillThreads()Gets the number of threads the BlockSpiller can use.StringgetRequestId()Gets the request Id, typically the Athena query ID.SpillLocationgetSpillLocation()Gets the SpillLocation, if spill is enabled.static SpillConfig.BuildernewBuilder()static SpillConfig.BuildernewBuilder(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)
-
-