Class DelimitedTextWriteSettings


  • public final class DelimitedTextWriteSettings
    extends FormatWriteSettings
    Delimited text write settings.
    • Constructor Detail

      • DelimitedTextWriteSettings

        public DelimitedTextWriteSettings()
    • Method Detail

      • quoteAllText

        public Object quoteAllText()
        Get the quoteAllText property: Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean).
        Returns:
        the quoteAllText value.
      • withQuoteAllText

        public DelimitedTextWriteSettings withQuoteAllText​(Object quoteAllText)
        Set the quoteAllText property: Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean).
        Parameters:
        quoteAllText - the quoteAllText value to set.
        Returns:
        the DelimitedTextWriteSettings object itself.
      • fileExtension

        public Object fileExtension()
        Get the fileExtension property: The file extension used to create the files. Type: string (or Expression with resultType string).
        Returns:
        the fileExtension value.
      • withFileExtension

        public DelimitedTextWriteSettings withFileExtension​(Object fileExtension)
        Set the fileExtension property: The file extension used to create the files. Type: string (or Expression with resultType string).
        Parameters:
        fileExtension - the fileExtension value to set.
        Returns:
        the DelimitedTextWriteSettings object itself.
      • maxRowsPerFile

        public Object maxRowsPerFile()
        Get the maxRowsPerFile property: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
        Returns:
        the maxRowsPerFile value.
      • withMaxRowsPerFile

        public DelimitedTextWriteSettings withMaxRowsPerFile​(Object maxRowsPerFile)
        Set the maxRowsPerFile property: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
        Parameters:
        maxRowsPerFile - the maxRowsPerFile value to set.
        Returns:
        the DelimitedTextWriteSettings object itself.
      • fileNamePrefix

        public Object fileNamePrefix()
        Get the fileNamePrefix property: Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
        Returns:
        the fileNamePrefix value.
      • withFileNamePrefix

        public DelimitedTextWriteSettings withFileNamePrefix​(Object fileNamePrefix)
        Set the fileNamePrefix property: Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
        Parameters:
        fileNamePrefix - the fileNamePrefix value to set.
        Returns:
        the DelimitedTextWriteSettings object itself.