Interface KxDataviewSegmentConfiguration.Builder

    • Method Detail

      • dbPaths

        KxDataviewSegmentConfiguration.Builder dbPaths​(Collection<String> dbPaths)

        The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.

        Parameters:
        dbPaths - The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbPaths

        KxDataviewSegmentConfiguration.Builder dbPaths​(String... dbPaths)

        The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.

        Parameters:
        dbPaths - The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeName

        KxDataviewSegmentConfiguration.Builder volumeName​(String volumeName)

        The name of the volume where you want to add data.

        Parameters:
        volumeName - The name of the volume where you want to add data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • onDemand

        KxDataviewSegmentConfiguration.Builder onDemand​(Boolean onDemand)

        Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.

        Parameters:
        onDemand - Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.
        Returns:
        Returns a reference to this object so that method calls can be chained together.