public enum TopicType extends Enum<TopicType>
Enum Constant and Description |
---|
BINARY
The topic holds values in raw binary format.
|
DOUBLE
The topic holds a double precision floating point number.
|
INT64
The topic holds a 64 bit integer.
|
JSON
The topic holds values in JSON format.
|
STRING
The topic holds values in {java.lang.String String} format.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDataType() |
static TopicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicType JSON
For efficiency the data is actually held in
CBOR (Concise Binary Object Representation)
format and values are presented by the Diffusion
JSON
type.
This is the most flexible type of topic that leverages all of the Diffusion in-server transformation capabilities.
public static final TopicType STRING
public static final TopicType BINARY
public static TopicType[] values()
for (TopicType c : TopicType.values()) System.out.println(c);
public static TopicType 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 Class<?> getDataType()
Copyright © 2024 DiffusionData Limited. All rights reserved.