Class CsvReadOptions

    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • builder

        public static CsvReadOptions.Builder builder​(InputStream stream)
        This method may cause tablesaw to buffer the entire InputStream.

        If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a stream, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file

      • builder

        public static CsvReadOptions.Builder builder​(Reader reader)
        This method may cause tablesaw to buffer the entire InputStream.

        If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a reader, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file

      • builder

        public static CsvReadOptions.Builder builder​(InputStreamReader reader)
        This method may cause tablesaw to buffer the entire InputStream.

        If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a reader, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file

      • lineEnding

        public String lineEnding()
      • lineSeparatorDetectionEnabled

        public boolean lineSeparatorDetectionEnabled()
      • maxNumberOfColumns

        public Integer maxNumberOfColumns()
      • commentPrefix

        public Character commentPrefix()
      • maxCharsPerColumn

        public int maxCharsPerColumn()
      • sampleSize

        public int sampleSize()