Package org.apache.ignite.compute.wasm
Enum Class WasmType
- All Implemented Interfaces:
Serializable,Comparable<WasmType>,Constable
Wasm data types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
INT8
8-bit integer. Maps tobytein Java andi32in WebAssembly. -
INT16
16-bit integer. Maps toshortin Java andi32in WebAssembly. -
INT32
32-bit integer. Maps tointin Java andi32in WebAssembly. -
INT64
64-bit integer. Maps tolongin Java andi64in WebAssembly. -
FLOAT32
32-bit floating point number. Maps tofloatin Java andf32in WebAssembly. -
FLOAT64
64-bit floating point number. Maps todoublein Java andf64in WebAssembly. -
TIMESTAMP
Timestamp. Maps tojava.time.Instantin Java andi64(milliseconds since epoch) in WebAssembly. -
STRING
String. Maps toStringin Java and a pointer/length pair in WebAssembly (UTF8-encoded). -
BYTES
Byte array. Maps tobyte[]in Java and a pointer/length pair in WebAssembly.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-