Top Description Fields Constructors Methods
com.amazon.ion

public final Enum IntegerSize

extends Enum<IntegerSize>
Class Inheritance

Indicates the smallest-possible Java type of an Ion int value.

Field Summary

Modifier and TypeField and Description
public static final IntegerSize
BIG_INTEGER

Larger than eight bytes.

public static final IntegerSize
INT

Fits in the Java int primitive (four bytes).

public static final IntegerSize
LONG

Fits in the Java int primitive (eight bytes).

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static IntegerSize
public static IntegerSize[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BIG_INTEGERback to summary
public static final IntegerSize BIG_INTEGER

Larger than eight bytes. This value can be retrieved through methods like IonReader#bigIntegerValue() or IonInt#bigIntegerValue() without data loss.

INTback to summary
public static final IntegerSize INT

Fits in the Java int primitive (four bytes). The value can be retrieved through methods like IonReader#intValue() or IonInt#intValue() without data loss.

LONGback to summary
public static final IntegerSize LONG

Fits in the Java int primitive (eight bytes). The value can be retrieved through methods like IonReader#longValue() or IonInt#longValue() without data loss.

Constructor Detail

IntegerSizeback to summary
private IntegerSize()

Method Detail

valueOfback to summary
public static IntegerSize valueOf(String name)
valuesback to summary
public static IntegerSize[] values()