Interface LoadCSVStatementBuilder.OngoingLoadCSV

Enclosing interface:
LoadCSVStatementBuilder

public static interface LoadCSVStatementBuilder.OngoingLoadCSV
An instance of this interface will be provided after pointing the database to a valid URI of a CSV resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    as(String alias)
    Configure the alias for each line contained in the CSV resource
    default @NotNull LoadCSVStatementBuilder
    Configure the alias for each line contained in the CSV resource
  • Method Details

    • as

      @NotNull @Contract(pure=true) default @NotNull LoadCSVStatementBuilder as(SymbolicName alias)
      Configure the alias for each line contained in the CSV resource
      Parameters:
      alias - The alias for each line
      Returns:
      A statement builder supporting all available clauses plus an option to configure the field terminator
    • as

      @NotNull @Contract(pure=true) @NotNull LoadCSVStatementBuilder as(String alias)
      Configure the alias for each line contained in the CSV resource
      Parameters:
      alias - The alias for each line
      Returns:
      A statement builder supporting all available clauses plus an option to configure the field terminator