Package io.hgraphdb

Enum ValueType

    • Enum Constant Detail

      • BOOLEAN

        public static final ValueType BOOLEAN
      • STRING

        public static final ValueType STRING
      • DOUBLE

        public static final ValueType DOUBLE
      • DECIMAL

        public static final ValueType DECIMAL
      • DATE

        public static final ValueType DATE
        32-bit integer representing the number of DAYS since Unix epoch, i.e. January 1, 1970 00:00:00 UTC. The value is absolute and is time-zone independent. Negative values represents dates before epoch.
      • TIME

        public static final ValueType TIME
        32-bit integer representing time of the day in milliseconds. The value is absolute and is time-zone independent.
      • TIMESTAMP

        public static final ValueType TIMESTAMP
        64-bit integer representing the number of milliseconds since epoch, i.e. January 1, 1970 00:00:00 UTC. Negative values represent dates before epoch.
      • INTERVAL

        public static final ValueType INTERVAL
        A value representing a period of time between two instants.
      • BINARY

        public static final ValueType BINARY
      • KRYO_SERIALIZABLE

        public static final ValueType KRYO_SERIALIZABLE
      • SERIALIZABLE

        public static final ValueType SERIALIZABLE
      • COUNTER

        public static final ValueType COUNTER
    • Method Detail

      • values

        public static ValueType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ValueType c : ValueType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ValueType 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
      • getCode

        public byte getCode()
      • valueOf

        public static ValueType valueOf​(int typeCode)
        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:
        typeCode - 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