Class FileEntityProviderConfigBuilder

    • Constructor Detail

      • FileEntityProviderConfigBuilder

        public FileEntityProviderConfigBuilder()
      • FileEntityProviderConfigBuilder

        public FileEntityProviderConfigBuilder​(ProviderFormat format)
    • Method Detail

      • setSeparator

        public FileEntityProviderConfigBuilder setSeparator​(java.lang.String separator)
        Sets the separator.
        Parameters:
        separator - the separator
        Returns:
        this builder
        See Also:
        "the table configuration documentation for details about the effects and default of this setting"
      • hasHeader

        public FileEntityProviderConfigBuilder hasHeader​(boolean hasHeader)
        Defines if file has a header or not
        Parameters:
        hasHeader - the flag to set
        Returns:
        this builder
        See Also:
        "the table configuration documentation for details about the effects and default of this setting"
      • detectGzip

        public FileEntityProviderConfigBuilder detectGzip​(boolean detectGzip)
        Defines if gzip detection is enabled or not
        Parameters:
        detectGzip - the flag to set
        Returns:
        this builder
        See Also:
        "the table configuration documentation for details about the effects and default of this setting"
      • addUri

        public FileEntityProviderConfigBuilder addUri​(java.lang.String uri)
        Adds a unified resource identifier (URI) pointing to a file with table data.
        Parameters:
        uri - the uri
        Returns:
        this builder
      • setUris

        public FileEntityProviderConfigBuilder setUris​(java.lang.Iterable<java.lang.String> uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with table data.
        Parameters:
        uris - the list of uris
        Returns:
        this builder
      • setUris

        public FileEntityProviderConfigBuilder setUris​(java.lang.String... uris)
        Sets the unified resource identifier (URI) list pointing to multiple files with table data.
        Parameters:
        uris - the array of uris
        Returns:
        this builder
      • setVectorComponentDelimiter

        public FileEntityProviderConfigBuilder setVectorComponentDelimiter​(java.lang.Character delimiter)
        Set the delimiter for the components of vector properties
        Parameters:
        delimiter - the delimiter for the components of the vector properties
        Returns:
        this builder
      • setKeyColumn

        public FileEntityProviderConfigBuilder setKeyColumn​(java.lang.Object column)
        Sets the column containing the key. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setSourceColumn

        public FileEntityProviderConfigBuilder setSourceColumn​(java.lang.Object column)
        Sets the column containing the source. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder
      • setDestinationColumn

        public FileEntityProviderConfigBuilder setDestinationColumn​(java.lang.Object column)
        Sets the column containing the destination. (for CSV format only)
        Parameters:
        column - the column name or index
        Returns:
        this builder