Class FlatpackDataFormat.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • definition

        public FlatpackDataFormat.Builder definition​(String definition)
        The flatpack pzmap configuration file. Can be omitted in simpler situations, but its preferred to use the pzmap.
      • ignoreFirstRecord

        public FlatpackDataFormat.Builder ignoreFirstRecord​(String ignoreFirstRecord)
        Whether the first line is ignored for delimited files (for the column headers).

        Is by default true.

      • ignoreFirstRecord

        public FlatpackDataFormat.Builder ignoreFirstRecord​(boolean ignoreFirstRecord)
        Whether the first line is ignored for delimited files (for the column headers).

        Is by default true.

      • textQualifier

        public FlatpackDataFormat.Builder textQualifier​(String textQualifier)
        If the text is qualified with a character.

        Uses quote character by default.

      • allowShortLines

        public FlatpackDataFormat.Builder allowShortLines​(String allowShortLines)
        Allows for lines to be shorter than expected and ignores the extra characters
      • allowShortLines

        public FlatpackDataFormat.Builder allowShortLines​(boolean allowShortLines)
        Allows for lines to be shorter than expected and ignores the extra characters
      • ignoreExtraColumns

        public FlatpackDataFormat.Builder ignoreExtraColumns​(String ignoreExtraColumns)
        Allows for lines to be longer than expected and ignores the extra characters.
      • ignoreExtraColumns

        public FlatpackDataFormat.Builder ignoreExtraColumns​(boolean ignoreExtraColumns)
        Allows for lines to be longer than expected and ignores the extra characters.
      • parserFactoryRef

        public FlatpackDataFormat.Builder parserFactoryRef​(String parserFactoryRef)
        References to a custom parser factory to lookup in the registry