Enum UnsignedType

java.lang.Object
java.lang.Enum<UnsignedType>
org.apache.calcite.linq4j.tree.UnsignedType
All Implemented Interfaces:
Serializable, Comparable<UnsignedType>, Constable

public enum UnsignedType extends Enum<UnsignedType>
Support for compiling unsigned types. This class has a role similar to Primitive
  • Enum Constant Details

  • Method Details

    • values

      public static UnsignedType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UnsignedType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static @Nullable UnsignedType of(Type type)
    • toJavaTypeName

      public String toJavaTypeName()
    • getConvertFunctionName

      public String getConvertFunctionName()
      Get the name of the function that casts a value of type Object to the current type.
    • toBigInteger

      public static BigInteger toBigInteger(org.joou.ULong value)
    • toUByte

      public static org.joou.UByte toUByte(byte n)
    • toUByte

      public static org.joou.UByte toUByte(short n)
    • toUByte

      public static org.joou.UByte toUByte(int n)
    • toUByte

      public static org.joou.UByte toUByte(long n)
    • toUByte

      public static org.joou.UByte toUByte(float n)
    • toUByte

      public static org.joou.UByte toUByte(double n)
    • toUByte

      public static @Nullable org.joou.UByte toUByte(@Nullable Number n, RoundingMode mode)
    • toUByte

      public static @Nullable org.joou.UByte toUByte(@Nullable String s, RoundingMode unused)
    • toUShort

      public static org.joou.UShort toUShort(byte n)
    • toUShort

      public static org.joou.UShort toUShort(short n)
    • toUShort

      public static org.joou.UShort toUShort(int n)
    • toUShort

      public static org.joou.UShort toUShort(long n)
    • toUShort

      public static org.joou.UShort toUShort(float n)
    • toUShort

      public static org.joou.UShort toUShort(double n)
    • toUShort

      public static @Nullable org.joou.UShort toUShort(@Nullable Number n, RoundingMode mode)
    • toUShort

      public static @Nullable org.joou.UShort toUShort(@Nullable String s, RoundingMode unused)
    • toUInteger

      public static org.joou.UInteger toUInteger(byte n)
    • toUInteger

      public static org.joou.UInteger toUInteger(short n)
    • toUInteger

      public static org.joou.UInteger toUInteger(int n)
    • toUInteger

      public static org.joou.UInteger toUInteger(long n)
    • toUInteger

      public static org.joou.UInteger toUInteger(float n)
    • toUInteger

      public static org.joou.UInteger toUInteger(double n)
    • toUInteger

      public static @Nullable org.joou.UInteger toUInteger(@Nullable Number n, RoundingMode mode)
    • toUInteger

      public static @Nullable org.joou.UInteger toUInteger(@Nullable String s, RoundingMode unused)
    • toULong

      public static org.joou.ULong toULong(byte n)
    • toULong

      public static org.joou.ULong toULong(short n)
    • toULong

      public static org.joou.ULong toULong(int n)
    • toULong

      public static org.joou.ULong toULong(long n)
    • toULong

      public static org.joou.ULong toULong(float n)
    • toULong

      public static org.joou.ULong toULong(double n)
    • toULong

      public static @Nullable org.joou.ULong toULong(@Nullable Number n, RoundingMode mode)
    • toULong

      public static @Nullable org.joou.ULong toULong(@Nullable String s, RoundingMode unused)
    • toUShort

      public static @Nullable org.joou.UShort toUShort(Object o)
    • toUByte

      public static @Nullable org.joou.UByte toUByte(Object o)
    • toUInteger

      public static @Nullable org.joou.UInteger toUInteger(Object o)
    • toULong

      public static @Nullable org.joou.ULong toULong(Object o)