Enum LocationHandle.WriteMode

    • Enum Constant Detail

      • STAGE_AND_MOVE_TO_TARGET_DIRECTORY

        public static final LocationHandle.WriteMode STAGE_AND_MOVE_TO_TARGET_DIRECTORY
        common mode for new table or existing table (both new and existing partition) and when staging directory is enabled
      • DIRECT_TO_TARGET_NEW_DIRECTORY

        public static final LocationHandle.WriteMode DIRECT_TO_TARGET_NEW_DIRECTORY
        for new table in S3 or when staging directory is disabled
      • DIRECT_TO_TARGET_EXISTING_DIRECTORY

        public static final LocationHandle.WriteMode DIRECT_TO_TARGET_EXISTING_DIRECTORY
        for existing table in S3 (both new and existing partition) or when staging directory is disabled
    • Method Detail

      • values

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

        public static LocationHandle.WriteMode 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
      • isWritePathSameAsTargetPath

        public boolean isWritePathSameAsTargetPath()