Enum TsFileSequenceReader.LocateStatus

  • All Implemented Interfaces:
    Serializable, Comparable<TsFileSequenceReader.LocateStatus>
    Enclosing class:
    TsFileSequenceReader

    public static enum TsFileSequenceReader.LocateStatus
    extends Enum<TsFileSequenceReader.LocateStatus>
    The location of a chunkGroupMetaData with respect to a space partition constraint.

    in - the middle point of the chunkGroupMetaData is located in the current space partition. before - the middle point of the chunkGroupMetaData is located before the current space partition. after - the middle point of the chunkGroupMetaData is located after the current space partition.

    • Method Detail

      • values

        public static TsFileSequenceReader.LocateStatus[] 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 (TsFileSequenceReader.LocateStatus c : TsFileSequenceReader.LocateStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TsFileSequenceReader.LocateStatus 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