Object
RowLabels

public class RowLabels extends Object
Labels for each row of feature-results in the outputted CSV row.
Author:
Owen Feehan
  • Constructor Details

    • RowLabels

      public RowLabels(String identifier)
      Creates with a single string as an identifier.
      Parameters:
      identifier - the identifier.
    • RowLabels

      public RowLabels(Optional<String[]> identifier, Optional<MultiName> group)
      Creates a new RowLabels instance.
      Parameters:
      identifier - Unique identifier for the row taking all elements together (together a primary key).
      group - An identifier for a higher-level group which the row belongs to (foreign key)
  • Method Details

    • addToRow

      public void addToRow(List<TypedValue> csvRow)
      Adds the identifiers to a row to be outputted in a features CSV.
      Parameters:
      csvRow - the row of typed-values that will be outputted
    • getGroup

      public Optional<MultiName> getGroup()
      An identifier for a higher-level group which the row belongs to (foreign key)