public enum MessageEncodeAndStoreType extends Enum<MessageEncodeAndStoreType>
Enum Constant and Description |
---|
BYTEARRAY_PER_PARTITION
Use a byte-array to store messages for each partition
|
EXTRACT_BYTEARRAY_PER_PARTITION
Extract a byte array per partition from one message to many ids encoding
and then store
|
POINTER_LIST_PER_VERTEX
Use message-store which is based on list of pointers to encoded messages
|
Modifier and Type | Method and Description |
---|---|
boolean |
useOneMessageToManyIdsEncoding()
True if one message to many ids encoding is set
|
static MessageEncodeAndStoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageEncodeAndStoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageEncodeAndStoreType BYTEARRAY_PER_PARTITION
public static final MessageEncodeAndStoreType EXTRACT_BYTEARRAY_PER_PARTITION
public static final MessageEncodeAndStoreType POINTER_LIST_PER_VERTEX
public static MessageEncodeAndStoreType[] values()
for (MessageEncodeAndStoreType c : MessageEncodeAndStoreType.values()) System.out.println(c);
public static MessageEncodeAndStoreType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean useOneMessageToManyIdsEncoding()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.