@PublicEvolving public class PythonOptions extends Object
Modifier and Type | Field and Description |
---|---|
static ConfigOption<Integer> |
MAX_ARROW_BATCH_SIZE
The maximum number of elements to include in an arrow batch.
|
static ConfigOption<Integer> |
MAX_BUNDLE_SIZE
The maximum number of elements to include in a bundle.
|
static ConfigOption<Long> |
MAX_BUNDLE_TIME_MILLS
The maximum time to wait before finalising a bundle (in milliseconds).
|
static ConfigOption<String> |
PYTHON_ARCHIVES |
static ConfigOption<String> |
PYTHON_CLIENT_EXECUTABLE |
static ConfigOption<String> |
PYTHON_DATA_BUFFER_MEMORY_SIZE
The amount of memory to be allocated by the input/output buffer of a Python worker.
|
static ConfigOption<String> |
PYTHON_EXECUTABLE |
static ConfigOption<String> |
PYTHON_FILES |
static ConfigOption<String> |
PYTHON_FRAMEWORK_MEMORY_SIZE
The amount of memory to be allocated by the Python framework.
|
static ConfigOption<Boolean> |
PYTHON_METRIC_ENABLED
The configuration to enable or disable metric for Python execution.
|
static ConfigOption<String> |
PYTHON_REQUIREMENTS |
static ConfigOption<Boolean> |
USE_MANAGED_MEMORY
Whether the memory used by the Python framework is managed memory.
|
Constructor and Description |
---|
PythonOptions() |
public static final ConfigOption<Integer> MAX_BUNDLE_SIZE
public static final ConfigOption<Long> MAX_BUNDLE_TIME_MILLS
public static final ConfigOption<Integer> MAX_ARROW_BATCH_SIZE
public static final ConfigOption<String> PYTHON_FRAMEWORK_MEMORY_SIZE
public static final ConfigOption<String> PYTHON_DATA_BUFFER_MEMORY_SIZE
public static final ConfigOption<Boolean> PYTHON_METRIC_ENABLED
public static final ConfigOption<String> PYTHON_FILES
public static final ConfigOption<String> PYTHON_REQUIREMENTS
public static final ConfigOption<String> PYTHON_ARCHIVES
public static final ConfigOption<String> PYTHON_EXECUTABLE
public static final ConfigOption<String> PYTHON_CLIENT_EXECUTABLE
public static final ConfigOption<Boolean> USE_MANAGED_MEMORY
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.