Interface RowBasedIndex.ValueContext

Enclosing interface:
RowBasedIndex

public static interface RowBasedIndex.ValueContext
Defines the context in all RowBasedIndex usages
  • Method Details

    • putRow

      void putRow(int index, Supplier<List<?>> indexValueSupplier)
      Puts a row at the specified index
      Parameters:
      index -
      indexValueSupplier -
    • appendRow

      void appendRow(Supplier<List<?>> indexValueSupplier)
      Appends row at last index
      Parameters:
      indexValueSupplier -
    • getInputContext

      Optional<ProcessorInputContext> getInputContext(String inputId)
      Returns the context for the input to the processor of a custom step For a specific input
      Parameters:
      inputId - input id as defined by the custom step itself.
      Returns:
      ProcessorInputContext if input id exists.
    • getStepPropertyValue

      <T> Optional<T> getStepPropertyValue(String stepPropertyId)
      Returns the step property value of a specific step property Based on the step property ID specified
      Type Parameters:
      T - Value of the step property
      Parameters:
      stepPropertyId - step property ID
      Returns:
      step property value if exists.
    • getColumnFromChooserValues

      List<InputColumn> getColumnFromChooserValues(String columnChooserId)
      Convenience method to returns the columns selected by the user. It will returns empty list if the column chooser is invalid or the step property is not a column chooser.
      Parameters:
      columnChooserId - the column chooser's step property ID
      Returns:
      the list of selected InputColumn
    • getStepSettingFieldValueAsString

      Optional<String> getStepSettingFieldValueAsString(String stepSettingFieldId)
      Returns the step property value of a specific step property Based on the step property ID specified
      Parameters:
      stepSettingFieldId - step setting field id as defined by the custom step.
      Returns:
      Step setting field value if exists