SessionMemory

enum graphdatascience.session.session_sizes.SessionMemory(value)

枚举表示会话主内存配置。

有效值为:

m_4GB = <SessionMemory.m_4GB: SessionMemoryValue(value='4GB')>
m_8GB = <SessionMemory.m_8GB: SessionMemoryValue(value='8GB')>
m_16GB = <SessionMemory.m_16GB: SessionMemoryValue(value='16GB')>
m_24GB = <SessionMemory.m_24GB: SessionMemoryValue(value='24GB')>
m_32GB = <SessionMemory.m_32GB: SessionMemoryValue(value='32GB')>
m_48GB = <SessionMemory.m_48GB: SessionMemoryValue(value='48GB')>
m_64GB = <SessionMemory.m_64GB: SessionMemoryValue(value='64GB')>
m_96GB = <SessionMemory.m_96GB: SessionMemoryValue(value='96GB')>
m_128GB = <SessionMemory.m_128GB: SessionMemoryValue(value='128GB')>
m_192GB = <SessionMemory.m_192GB: SessionMemoryValue(value='192GB')>
m_256GB = <SessionMemory.m_256GB: SessionMemoryValue(value='256GB')>
m_384GB = <SessionMemory.m_384GB: SessionMemoryValue(value='384GB')>

Enum及其成员还具有以下方法

classmethod all_values() List[SessionMemoryValue]

所有支持的内存配置。

返回:

一个字符串列表,表示会话支持的所有内存配置。